tufanv Expert Licensed User Longtime User Jun 15, 2021 #1 Hello, I wanted to switch to firebaseadmob2 so used the new library, updated the required items in sdk manager to use google ads 20+ and implemented ads helper to use new messaging sstem. When I try to buid I get this error. What may be the problem? B4X: 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. 1 error only showing the first 1 errors, of 2 total; use -Xmaxerrs if you would like to see more javac 14.0.1
Hello, I wanted to switch to firebaseadmob2 so used the new library, updated the required items in sdk manager to use google ads 20+ and implemented ads helper to use new messaging sstem. When I try to buid I get this error. What may be the problem? B4X: 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. 1 error only showing the first 1 errors, of 2 total; use -Xmaxerrs if you would like to see more javac 14.0.1
Erel B4X founder Staff member Licensed User Longtime User Jun 16, 2021 #2 Is this the full error message? Better to replace the complete SDK: https://www.b4x.com/android/forum/threads/131515 Upvote 0
Is this the full error message? Better to replace the complete SDK: https://www.b4x.com/android/forum/threads/131515
tufanv Expert Licensed User Longtime User Jun 16, 2021 #3 Erel said: Is this the full error message? Better to replace the complete SDK: https://www.b4x.com/android/forum/threads/131515 Click to expand... Yes full message. Will try now to replace. Upvote 0
Erel said: Is this the full error message? Better to replace the complete SDK: https://www.b4x.com/android/forum/threads/131515 Click to expand... Yes full message. Will try now to replace.
tufanv Expert Licensed User Longtime User Jun 17, 2021 #4 I still get this error. I created a new folder extracted tools folder and the new resources folder. Changed the paths to use the new folder also changed the sdk path sdkmNAGER.bat to new one. Updated the required things and still getting this error. :/ Erel said: Is this the full error message? Better to replace the complete SDK: https://www.b4x.com/android/forum/threads/131515 Click to expand... Upvote 0
I still get this error. I created a new folder extracted tools folder and the new resources folder. Changed the paths to use the new folder also changed the sdk path sdkmNAGER.bat to new one. Updated the required things and still getting this error. :/ Erel said: Is this the full error message? Better to replace the complete SDK: https://www.b4x.com/android/forum/threads/131515 Click to expand...
tufanv Expert Licensed User Longtime User Jun 17, 2021 #5 The line on the source code giving the error is: B4X: @Override public void onAdFailedToLoad(int arg0) { processBA.raiseEventFromDifferentThread(null, null, 0, eventName + "_failedtoreceivead", false, new Object[] {String.valueOf(arg0)}); } Upvote 0
The line on the source code giving the error is: B4X: @Override public void onAdFailedToLoad(int arg0) { processBA.raiseEventFromDifferentThread(null, null, 0, eventName + "_failedtoreceivead", false, new Object[] {String.valueOf(arg0)}); }
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2021 #6 Please create a small project with the code, where it fails, and upload it. Upvote 0
asales Expert Licensed User Longtime User Jun 17, 2021 #7 It is because you still using the code of the old native ads. Check this new example: [B4XPages] Native Ads with MediaView - FirebaseAdmob2 and Mobile Ads SDK v20 This is an update to this code to use the native ads with the new lib FirebaseAdmob2 and new Mobile SDK (20). Thanks to @Erel for the help in the related threads in Android Questions. Whenever possible, create an Native Ad to diplays video, because it has a better revenue than an ad with only... www.b4x.com Upvote 0
It is because you still using the code of the old native ads. Check this new example: [B4XPages] Native Ads with MediaView - FirebaseAdmob2 and Mobile Ads SDK v20 This is an update to this code to use the native ads with the new lib FirebaseAdmob2 and new Mobile SDK (20). Thanks to @Erel for the help in the related threads in Android Questions. Whenever possible, create an Native Ad to diplays video, because it has a better revenue than an ad with only... www.b4x.com
tufanv Expert Licensed User Longtime User Jun 17, 2021 #8 asales said: It is because you still using the code of the old native ads. Check this new example: [B4XPages] Native Ads with MediaView - FirebaseAdmob2 and Mobile Ads SDK v20 This is an update to this code to use the native ads with the new lib FirebaseAdmob2 and new Mobile SDK (20). Thanks to @Erel for the help in the related threads in Android Questions. Whenever possible, create an Native Ad to diplays video, because it has a better revenue than an ad with only... www.b4x.com Click to expand... you are right Last edited: Jun 17, 2021 Upvote 0
asales said: It is because you still using the code of the old native ads. Check this new example: [B4XPages] Native Ads with MediaView - FirebaseAdmob2 and Mobile Ads SDK v20 This is an update to this code to use the native ads with the new lib FirebaseAdmob2 and new Mobile SDK (20). Thanks to @Erel for the help in the related threads in Android Questions. Whenever possible, create an Native Ad to diplays video, because it has a better revenue than an ad with only... www.b4x.com Click to expand... you are right