-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Cant build my react-native project on android #25313
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.
|
I got the same issue
|
@tal987 I would like to advice to upgrade RN to 0.59 because it added 64bit support and Google Play Store will require 64 bit support beginning 1st August 2019. See https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html. Google's libraries are migrating to AndroidX and causing breakages in apps, see https://developers.google.com/android/guides/releases. |
update react-native-device-info to 2.1.2 |
@dulmandakh can you tell me how to update my rn version? |
@nghiant96 I was mention that I tried that and it didn’t work |
@tal987 month ago I upgraded RN project from Here are my primary resources on doing that:
|
Solution: hope it will help to others |
Same fix for me as for @tal987:
|
@tal987 If the problem was solved, you can close this issue. Thanks! |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
since yesterday im getting this error when im trying to run my project:
I was reading some posts about the issue and I tried to add those lines:
because when I used stack trace I was getting this error:
I added this lines to my
local.propeties
file but when I did that I have seen that I need to change all mynode-module
files to useandroidx
In addition I was trying to update the package
react-native-device-info
to the newest version 2.1.2 but still the same result...React Native version:
I'm working with visual code because my project is for IOS and Android, so the option to migrate to AndroidX is not relevant for me...
I'm attaching my files:
app/build.gradle:
android/build.gradle
my application for androidManifest.xml:
Is there anyway to fix this issue for now? I can't run my project suddenly
The text was updated successfully, but these errors were encountered: