安装npm add react-native-google-mobile-ads后出现错误。我在这里发布了错误,请检查,这里我添加了我的 android build.gradle 文件和应用程序级别 build.gradle 文件 *如何指定compileSdkVersion?*
1: Task failed with an exception.
-----------
* Where:
Build file 'C:\Users\Admin\Desktop\ReactNative\Firebase\hellworldfirebaseeekkl\node_modules\react-native-google-mobile-ads\android\build.gradle' line: 75
* What went wrong:
A problem occurred evaluating project ':react-native-google-mobile-ads'.
> Cannot get property 'googleMobileAdsJson' on extra properties extension as it does not exist
* 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 …Run Code Online (Sandbox Code Playgroud)