I have add Ads plugin to my project and now I can't export it.
When I try to export it gives me errors:
E:\2\Slagalica\tmp\app\src\main\java\com\giderosmobile\android\plugins\ads\frameworks\AdsAdmob.java:19: error: package com.google.android.gms.ads.initialization does not exist
import com.google.android.gms.ads.initialization.InitializationStatus;
^
E:\2\Slagalica\tmp\app\src\main\java\com\giderosmobile\android\plugins\ads\frameworks\AdsAdmob.java:20: error: package com.google.android.gms.ads.initialization does not exist
import com.google.android.gms.ads.initialization.OnInitializationCompleteListener;
^
E:\2\Slagalica\tmp\app\src\main\java\com\giderosmobile\android\plugins\ads\frameworks\AdsAdmob.java:21: error: package com.google.android.gms.ads.interstitial does not exist
import com.google.android.gms.ads.interstitial.InterstitialAd;
^
E:\2\Slagalica\tmp\app\src\main\java\com\giderosmobile\android\plugins\ads\frameworks\AdsAdmob.java:22: error: package com.google.android.gms.ads.interstitial does not exist
import com.google.android.gms.ads.interstitial.InterstitialAdLoadCallback;
^
E:\2\Slagalica\tmp\app\src\main\java\com\giderosmobile\android\plugins\ads\frameworks\AdsAdmob.java:23: error: package com.google.android.gms.ads.rewarded does not exist
import com.google.android.gms.ads.rewarded.RewardItem;
^
........
I'm using Gideros 2024.3.1
Comments
You could try this project https://forum.giderosmobile.com/discussion/comment/68401/#Comment_68401
hopefully it is still working as google don't stop breaking things
PS: I don't use admob no more as google won't pay me where I live, the same for youtube
16.0.0 was entered in the Google Play Services field.
When I changed to 21.5.0 the project exported.
Likes: MoKaLux, pie