Closed ghost closed 6 years ago
same problem, looking for solution ..
same problem here
Temporally solution:
copy and paste 3 folders
platforms/android/src/name/ratson/cordova/admob/banner platforms/android/src/name/ratson/cordova/admob/interstitial platforms/android/src/name/ratson/cordova/admob/rewardvideo
to
platforms/android/app/src/main/java/name/ratson/cordova/admob/
@fthkrtl35 i did what wrote but i'm having this error now :
Dex: Error converting bytecode to dex: Cause: PARSE ERROR: class name (com/google/android/gms/R) does not match path (Com/google/android/gms/R.class) ...while parsing Com/google/android/gms/R.class
@X0t0 i think you take an error from another plugin
@fthkrtl35 i think it's from admob sdk that installed with this plugin
Can you guys please check this issue once using the latest version of the plugin (v0.15.0). This should be fixed now.
@srikanth-wgl I had error with admb-free@0.15.0:
BUILD FAILED
Total time: 19.662 secs
com.android.build.api.transform.TransformException: com.android.ide.common.pro cess.ProcessException: java.util.concurrent.ExecutionException: com.android.dex. DexException: Multiple dex files define Lcom/google/android/gms/internal/zzev;
But then I replace this code: cordova.system.library.8=com.google.android.gms:play-services-base:11.0.4 cordova.system.library.9=com.google.android.gms:play-services-ads:11.0.4
in project.properties
With this: cordova.system.library.8=com.google.android.gms:play-services-base:11.+ cordova.system.library.9=com.google.android.gms:play-services-ads:11.+
And: BUILD SUCCESSFUL
@ivanov84 As you already know, multiple dex files issue is being discussed in issue #187. You did not mention any 'package does not exist' error with admob-free@0.15.0. I am closing this issue. Fixed in PR #189.
... and I get:
I get
cordova-android
v7.0, in your basic example -6.4.0
.As I understand, android 7 and higher are not supported?
Or this problem can be fixed?