Uriel
October 20, 2022, 3:36pm
1
Hallo everyone.
I created my app with MIT app inventor but when I tried to install the app on my mobile with Google Console I had this error message:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/ump/ConsentInformation;
I tried many times but I really have no idea how to solve this error.
Can please someone explain me where is it coming from?
Thanks
Are you using extensions in your project? I have never seen this class referenced in base App Inventor so I'm not sure that it is coming from us.
Uriel
October 21, 2022, 7:19am
3
Thanks a lot for your very quick reply
Yes I followed the steps described here:
[image] Admob Extension
These extensions will help you to integrate AdMob ads and ads from partner networks as mediation in your app-inventor application.
Get Started :
You should first integrate the necessary libraries required to display ads in your application. I've added all the SDK libraries required in this AdmobSdks Extension and ExtraSdks Extension. So, to integrate any of the ad-type even mediation, you should first download these extensions, add these two extensions to your appli…
JEWEL
October 21, 2022, 8:22am
4
Anke
October 21, 2022, 8:59am
5
What does this mean?
Did you build the APK with AI2 and try to install it on your test device. If so, which Android version?
And post a (full) screenshot of the error message.
Uriel
October 21, 2022, 9:11am
6
This is what I get from Google Console.
I created the app with AI2
I exported the .aab and .apk
I uploaded the .aab as internal test
I tried to install it on my mobile for testing but I can´t because it immediately crashes
The Android version on my mobile is 7.1.1 .
Anke
October 21, 2022, 9:18am
7
Ok, so you got this error from the Pre-Launch report (Google Play Developer console).
Did you get this error on all Android versions used in the Pre-Launch report?
Anke
October 21, 2022, 9:23am
8
So it should say:
"when I uploaded the app (AAB) to the Google Developer Console ..."
Uriel
October 21, 2022, 9:25am
9
Google Play Developer Console reports this error on 8 devices.
I don´t know if it helps:
Anke
October 21, 2022, 9:26am
10
Ok then this error seems to appear on all Android versions.
Anke
October 21, 2022, 9:28am
11
Contact the extension developer.