Hello guys, I need help
I have google maps on my project, now when I install the react-native-google-mobile-ads, my app don’t build with this error with android and ios
> Configure project :react-native-google-mobile-ads
:react-native-google-mobile-ads package.json found at /home/expo/workingdir/build/node_modules/react-native-google-mobile-ads/package.json
10 actionable tasks: 10 executed
[stderr] FAILURE: Build completed with 2 failures.
[stderr]
1: Task failed with an exception.
[stderr]
[stderr]
* Where:
[stderr]
Build file '/home/expo/workingdir/build/node_modules/react-native-google-mobile-ads/android/build.gradle' line: 75
[stderr]
* What went wrong:
[stderr] A problem occurred evaluating project ':react-native-google-mobile-ads'.
[stderr]
> Cannot get property 'googleMobileAdsJson' on extra properties extension as it does not exist
[stderr]
- Try:
175
[stderr]
Run with --stacktrace option to get the stack trace.
176
[stderr]
Run with --info or --debug option to get more log output.
177
[stderr]
Run with --scan to get full insights.
178
[stderr]
==============================================================================
179
[stderr]
2: Task failed with an exception.
180
[stderr]
181
[stderr]
- What went wrong:
182
[stderr]
A problem occurred configuring project ‘:react-native-google-mobile-ads’.
183
[stderr]
compileSdkVersion is not specified. Please add it to build.gradle
184
[stderr]
- Try:
185
[stderr]
Run with --stacktrace option to get the stack trace.
186
[stderr]
Run with --info or --debug option to get more log output.
187
[stderr]
Run with --scan to get full insights.
188
[stderr]
==============================================================================
189
[stderr]
- Get more help at https://help.gradle.org
190
[stderr]
BUILD FAILED in 3m 22s
191
Error: Gradle build failed with unknown error. See logs for the “Run gradlew” phase for more information.