Open codesoverflow opened 3 years ago
having the same issue
same issue
same issue here
having the same issue, can anyone help me ?
Having the same issue ?
try changing the order of lines in settings.gradle
to this:
applyNativeModulesSettingsGradle(settings)
include ':react-native-fbads'
project(':react-native-fbads').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fbads/android/app/')
include ':react-native-fbsdk'
project(':react-native-fbsdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fbsdk/android')
applyNativeModulesSettingsGradle(settings)
has to be before linking lines
I have already implemented admob, No need to go with facebook audience networks
Followed all the steps but still, it is not working. Please check the below error, I found in the console while creating debug build.
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.6/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
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 29s
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
FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
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 29s
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! appSize@0.0.1 android:
react-native run-android
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the appSize@0.0.1 android script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /home/jaswant/.npm/_logs/2020-08-15T13_33_48_636Z-debug.log