-
Notifications
You must be signed in to change notification settings - Fork 530
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
App keeps stopping on Android. #368
Comments
After some searching, i understand that Google at October 2nd, 2018 updates some libraries that caused this error i changed android/build.gradle file : and problem will get SOLVED |
@sanket-lathiya thanks for reply, but I have try 14 or 15 or 16
re-install app and run it. Which version do you use ? My project react-native-admob is |
@motogod appfolder/nodes_modules/react-native-admob/android/build.gradle |
You welcome man :) |
I think I fall in love with you too ! :D It works for me! I spent a day try to figure out the issue ! It is the solution. Close it. |
i am getting this error. Program type already present: com.sbugert.rnadmob.RNAdMobBannerViewManager |
Thanks. |
@MahmoudElmoghazy |
My situdation is just the same as facebook/react-native#20242.
I'm facing the issue since yesterday evening, my project was working fine before.
Some people's issue comes from
com.facebook.fresco
facebook/react-native#20252
So I try to comment some library that I find out the problem comes from
react-native-admob
, because app can boots up when commentreact-native-admob
on android folder.Here is my dependencies, I even try
react-native-admob: 1.3.2
still can't fix the issue.I try to create a simple project to test it, the issue still there.
Here is my repro:
https://github.com/motogod/testAd
My step:
dependencies:
2.follow the step from official document https://github.com/sbugert/react-native-admob/tree/1.x
3.add
maven { url "https://maven.google.com" }
onbuild.gradle
for google service 124.build project will show
onRewardedVideoCompleted
error , so add the code on the root/node_modules/react-native-admob/android/src/main/java/com/sbugert/rnadmob/RNAdMobRewardedVideoAdModule.java
5.
react-native run-android
and then will show outApp keeps stopping
on android simulator.Any one has the same issue ?
The text was updated successfully, but these errors were encountered: