Admob crashes Android app on build #4759
Unanswered
waldemirflj
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Have you tried cleaning Gradle and React Native cache? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Help me I'm trying to implement Firebase / Admob and it doesn't work.
react-native: 0.63.3
@react-native-firebase/app: 10.4.0
@react-native-firebase/admob: 10.4.0
`Configure project :react-native-firebase_admob
:react-native-firebase_admob package.json found at /home/waldemir/www/xxxxx/node_modules/@react-native-firebase/admob/package.json
:react-native-firebase_app package.json found at /home/waldemir/www/xxxxx/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_admob:firebase.bom using default value: 26.2.0
:react-native-firebase_admob:ads.consent using default value: 1.0.6
:react-native-firebase_admob package.json found at /home/waldemir/www/xxxxx/node_modules/@react-native-firebase/admob/package.json
:react-native-firebase_admob:version set from package.json: 10.4.1 (10,4,1 - 10004001)
:react-native-firebase_admob:android.compileSdk using custom value: 29
:react-native-firebase_admob:android.targetSdk using custom value: 29
:react-native-firebase_admob:android.minSdk using custom value: 16
:react-native-firebase_admob:reactNativeAndroidDir /home/waldemir/www/xxxxx/node_modules/react-native/android
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
151 actionable tasks: 2 executed, 149 up-to-date
FAILURE: Build failed with an exception.
Execution failed for task ':app:processDebugResources'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 4s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
`
Beta Was this translation helpful? Give feedback.
All reactions