-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
symbol not found #554
Comments
I solved this issue by manually adding the dependency to build.gradle beacuse autolinking was not doing it.
And adding this import to MainApplication.java.
Maybe not the fix for your issue, but could help someone. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got a fresh React Native app:
I tried to add a line in my
./android/app/src/main/java/com/rnconfigdemo/MainActivity.java
:and I always get the following:
I've tried running
npx react-native link react-native-config
, despite this having been autolinked, as well as the troubleshooting guidelines.I verified the manually linked additions were present in their respective files.
I tried adding
import com.facebook.react.BuildConfig
, and thenimport com.rnconfigdemo.BuildConfig
, to no availI've followed all the steps for the Android build in the package's
README
, including the extra stepWhat's the issue here?
The text was updated successfully, but these errors were encountered: