Issue
I build an android app using React Native,build got success but when i run app in my AVD it show up a error:
How can I fix this issue?
Solution
What you can try is first remove the duplicate declarations in method getPackages()
of your MainApplication.java
file.
If you're using Android Studio this file is in app > java
otherwise you can find it in android/app/src/main/java/com/yourAppName/yourProjectName/MainApplication.java
.
Then try again react-native run-android
Answered By - Laura
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.