I have issue with the compiled apk on version nb195d.
TestApp.aia (1.1 KB)
This is blank app with just 1 label on screen
App crashing on Prestigio MultiPad 7.0 Ultra + (PMP3570C) Android 4.0.4 and Mystery MID-783G Android 4.2.2. Works on Android 11
Error
I/ActivityManager( 145): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=appinventor.ai_grimmy.TestApp/.Screen1} from pid 301
D/ViewRootImpl( 145): pckname = appinventor.ai_grimmy.TestApp
I/ActivityManager( 145): Start proc appinventor.ai_grimmy.TestApp for activity appinventor.ai_grimmy.TestApp/.Screen1: pid=1451 uid=10049 gids={3003}
D/OpenGLRenderer( 301): Flushing caches (mode 1)
D/OpenGLRenderer( 301): Flushing caches (mode 0)
D/dalvikvm( 78): GC_EXPLICIT freed 38K, 7% free 5657K/6019K, paused 2ms+10ms
D/dalvikvm( 78): GC_EXPLICIT freed <1K, 7% free 5657K/6019K, paused 2ms+2ms
D/AndroidRuntime( 1451): Shutting down VM
W/dalvikvm( 1451): threadid=1: thread exiting with uncaught exception (group=0x409ed1f8)
E/AndroidRuntime( 1451): FATAL EXCEPTION: main
E/AndroidRuntime( 1451): java.lang.RuntimeException: Unable to instantiate application com.google.appinventor.components.runtime.multidex.MultiDexApplication: java.lang.ClassNotFoundException: com.google.appinventor.components.runtime.multidex.MultiDexApplication
E/AndroidRuntime( 1451): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
E/AndroidRuntime( 1451): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3938)
E/AndroidRuntime( 1451): at android.app.ActivityThread.access$1300(ActivityThread.java:123)
E/AndroidRuntime( 1451): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1185)
E/AndroidRuntime( 1451): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1451): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1451): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 1451): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1451): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1451): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1451): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1451): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1451): Caused by: java.lang.ClassNotFoundException: com.google.appinventor.components.runtime.multidex.MultiDexApplication
E/AndroidRuntime( 1451): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 1451): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 1451): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 1451): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
E/AndroidRuntime( 1451): at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
E/AndroidRuntime( 1451): ... 11 more
W/ActivityManager( 145): Force finishing activity appinventor.ai_grimmy.TestApp/.Screen1
When I compile the same app on https://code.appinventor.mit.edu/ (Built: November 28, 2023, Version: code46), it works without any issues.
Additionally, another app compiled January 18, 2024, 22:08 GMT+2 (probably nb195a) also works without crashing on these devices. (When i compile it on nb195d it crashes with same error)