-
Notifications
You must be signed in to change notification settings - Fork 526
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
error Task :react-native-admob:compileDebugJavaWithJavac FAILED when one day before Works well >.< #562
Comments
facing same error. |
This is a duplicate of |
OH! I was searching and yes this WORKS THANSK!If you need to work around this problem, you can change the following row in the build.gradle file of this project This row wasn't included in my project. Although I added, nothing has changed node_modules/react-native-admob/android/build.gradle |
I just change the version of my ads version from: https://developers.google.com/admob/android/quick-start#update_your_androidmanifestxml And copy the same:
|
I'm still having this problem. The versions I'm using:
android/build.gradle: buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28 I have tried all this solutions below:
Can someone help me, please? |
Same here ! |
I leave the error.
I was wornking with this module until yesterday. Whn I try to run appear this error. If I create a new project when install it, Appear always the same
Here I leave full error...always the same, NO FIND a libraries seems.
`> Task :react-native-admob:compileDebugJavaWithJavac FAILED
26 actionable tasks: 5 executed, 21 up-to-date
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:20: error: cannot find
symbol
import com.google.android.gms.ads.InterstitialAd;
^
symbol: class InterstitialAd
location: package com.google.android.gms.ads
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:36: error: cannot find
symbol
InterstitialAd mInterstitialAd;
^
symbol: class InterstitialAd
location: class RNAdMobInterstitialAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:18: error: package com.google.android.gms.ads.reward does not exist
import com.google.android.gms.ads.reward.RewardedVideoAd;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:19: error: package com.google.android.gms.ads.reward does not exist
import com.google.android.gms.ads.reward.RewardedVideoAdListener;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:20: error: package com.google.android.gms.ads.reward does not exist
import com.google.android.gms.ads.reward.RewardItem;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:25: error: cannot find symbol
public class RNAdMobRewardedVideoAdModule extends ReactContextBaseJavaModule implements RewardedVideoAdListener {
^
symbol: class RewardedVideoAdListener
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:38: error: cannot find symbol
RewardedVideoAd mRewardedVideoAd;
^
symbol: class RewardedVideoAd
location: class RNAdMobRewardedVideoAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:54: error: cannot find symbol
public void onRewarded(RewardItem rewardItem) {
^
symbol: class RewardItem
location: class RNAdMobRewardedVideoAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:20: error: package com.google.android.gms.ads.doubleclick does not exist
import com.google.android.gms.ads.doubleclick.AppEventListener;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:21: error: package com.google.android.gms.ads.doubleclick does not exist
import com.google.android.gms.ads.doubleclick.PublisherAdRequest;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:23: error: package com.google.android.gms.ads.doubleclick does not exist
import com.google.android.gms.ads.doubleclick.PublisherAdView;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:29: error: cannot find symbol
class ReactPublisherAdView extends ReactViewGroup implements AppEventListener {
^
symbol: class AppEventListener
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:31: error: cannot find symbol
protected PublisherAdView adView;
^
symbol: class PublisherAdView
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobBannerViewManager.java:59: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobBannerViewManager.java:93: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobBannerViewManager.java:135: error: cannot find symbol
adRequestBuilder.addTestDevice(testDevice);
^
symbol: method addTestDevice(String)
location: variable adRequestBuilder of type Builder
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:48: error: cannot find
symbol
mInterstitialAd = new InterstitialAd(reactContext);
^
symbol: class InterstitialAd
location: class RNAdMobInterstitialAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:58: error: method does
not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:89: error: method does
not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:143: error: cannot find symbol
adRequestBuilder.addTestDevice(testDevice);
^
symbol: method addTestDevice(String)
location: variable adRequestBuilder of type Builder
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:53: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:63: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:72: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:77: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:82: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:87: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:92: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:97: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:150: error: cannot find symbol
RNAdMobRewardedVideoAdModule.this.mRewardedVideoAd = MobileAds.getRewardedVideoAdInstance(getCurrentActivity());
^
symbol: method getRewardedVideoAdInstance(Activity)
location: class MobileAds
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:167: error: cannot find symbol
adRequestBuilder.addTestDevice(testDevice);
^
symbol: method addTestDevice(String)
location: variable adRequestBuilder of type Builder
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:47: error: cannot find symbol
this.adView = new PublisherAdView(context);
^
symbol: class PublisherAdView
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:62: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:66: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_INTERNAL_ERROR:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:69: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_INVALID_REQUEST:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:72: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_NETWORK_ERROR:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:75: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_NO_FILL:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:96: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:148: error: package PublisherAdRequest does not exist
PublisherAdRequest.Builder adRequestBuilder = new PublisherAdRequest.Builder();
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:148: error: package PublisherAdRequest does not exist
PublisherAdRequest.Builder adRequestBuilder = new PublisherAdRequest.Builder();
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:153: error: cannot find symbol
testDevice = PublisherAdRequest.DEVICE_ID_EMULATOR;
^
symbol: variable PublisherAdRequest
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:158: error: cannot find symbol
PublisherAdRequest adRequest = adRequestBuilder.build();
^
symbol: class PublisherAdRequest
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:184: error: method does not override or implement a method from a supertype
@OverRide
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
42 errors
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-admob: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 3s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:20: error: cannot find
symbol
import com.google.android.gms.ads.InterstitialAd;
^
symbol: class InterstitialAd
location: package com.google.android.gms.ads
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:36: error: cannot find
symbol
InterstitialAd mInterstitialAd;
^
symbol: class InterstitialAd
location: class RNAdMobInterstitialAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:18: error: package com.google.android.gms.ads.reward does not exist
import com.google.android.gms.ads.reward.RewardedVideoAd;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:19: error: package com.google.android.gms.ads.reward does not exist
import com.google.android.gms.ads.reward.RewardedVideoAdListener;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:20: error: package com.google.android.gms.ads.reward does not exist
import com.google.android.gms.ads.reward.RewardItem;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:25: error: cannot find symbol
public class RNAdMobRewardedVideoAdModule extends ReactContextBaseJavaModule implements RewardedVideoAdListener {
^
symbol: class RewardedVideoAdListener
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:38: error: cannot find symbol
RewardedVideoAd mRewardedVideoAd;
^
symbol: class RewardedVideoAd
location: class RNAdMobRewardedVideoAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:54: error: cannot find symbol
public void onRewarded(RewardItem rewardItem) {
^
symbol: class RewardItem
location: class RNAdMobRewardedVideoAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:20: error: package com.google.android.gms.ads.doubleclick does not exist
import com.google.android.gms.ads.doubleclick.AppEventListener;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:21: error: package com.google.android.gms.ads.doubleclick does not exist
import com.google.android.gms.ads.doubleclick.PublisherAdRequest;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:23: error: package com.google.android.gms.ads.doubleclick does not exist
import com.google.android.gms.ads.doubleclick.PublisherAdView;
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:29: error: cannot find symbol
class ReactPublisherAdView extends ReactViewGroup implements AppEventListener {
^
symbol: class AppEventListener
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:31: error: cannot find symbol
protected PublisherAdView adView;
^
symbol: class PublisherAdView
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobBannerViewManager.java:59: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobBannerViewManager.java:93: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobBannerViewManager.java:135: error: cannot find symbol
adRequestBuilder.addTestDevice(testDevice);
^
symbol: method addTestDevice(String)
location: variable adRequestBuilder of type Builder
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:48: error: cannot find
symbol
mInterstitialAd = new InterstitialAd(reactContext);
^
symbol: class InterstitialAd
location: class RNAdMobInterstitialAdModule
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:58: error: method does
not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:89: error: method does
not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobInterstitialAdModule.java:143: error: cannot find symbol
adRequestBuilder.addTestDevice(testDevice);
^
symbol: method addTestDevice(String)
location: variable adRequestBuilder of type Builder
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:53: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:63: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:72: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:77: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:82: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:87: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:92: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:97: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:150: error: cannot find symbol
RNAdMobRewardedVideoAdModule.this.mRewardedVideoAd = MobileAds.getRewardedVideoAdInstance(getCurrentActivity());
^
symbol: method getRewardedVideoAdInstance(Activity)
location: class MobileAds
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNAdMobRewardedVideoAdModule.java:167: error: cannot find symbol
adRequestBuilder.addTestDevice(testDevice);
^
symbol: method addTestDevice(String)
location: variable adRequestBuilder of type Builder
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:47: error: cannot find symbol
this.adView = new PublisherAdView(context);
^
symbol: class PublisherAdView
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:62: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:66: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_INTERNAL_ERROR:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:69: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_INVALID_REQUEST:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:72: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_NETWORK_ERROR:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:75: error: cannot find symbol
case PublisherAdRequest.ERROR_CODE_NO_FILL:
^
symbol: variable PublisherAdRequest
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:96: error: method does not override or implement a method from a supertype
@OverRide
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:148: error: package PublisherAdRequest does not exist
PublisherAdRequest.Builder adRequestBuilder = new PublisherAdRequest.Builder();
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:148: error: package PublisherAdRequest does not exist
PublisherAdRequest.Builder adRequestBuilder = new PublisherAdRequest.Builder();
^
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:153: error: cannot find symbol
testDevice = PublisherAdRequest.DEVICE_ID_EMULATOR;
^
symbol: variable PublisherAdRequest
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:158: error: cannot find symbol
PublisherAdRequest adRequest = adRequestBuilder.build();
^
symbol: class PublisherAdRequest
location: class ReactPublisherAdView
D:\Node-WEb-React\000ADMOB_BASE\testeos\tadmob1\node_modules\react-native-admob\android\src\main\java\com\sbugert\rnadmob\RNPublisherBannerViewManager.java:184: error: method does not override or implement a method from a supertype
@OverRide
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
42 errors
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-admob: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
`
The text was updated successfully, but these errors were encountered: