Android Question [SOLVED] B4A v9.30 BETA dont work with MultiDex:True

Discussion in 'Android Questions' started by scsjc, Jul 1, 2019.

  1. scsjc

    scsjc Well-Known Member Licensed User

    I'm testing a new B4A v9.30 Beta, dont work with a Multidex=true :(:(:(

    Code:
    #MultiDex: True
    Error log without Filter:
    Code:
    FATAL EXCEPTION: main
    Process: com.xxxxxxxxx, PID: 
    23213
    java.lang.RuntimeException: Unable 
    to instantiate application android.support.multidex.MultiDexApplication: java.lang.ClassNotFoundException: Didn't find class "android.support.multidex.MultiDexApplication" on path: DexPathList[[zip file "/data/app/com.xxxxxxxxx-vFkc7xmI_2q-sR_9RxuTBA==/base.apk"],nativeLibraryDirectories=[/data/app/com.xxxxxxxxx-vFkc7xmI_2q-sR_9RxuTBA==/lib/arm64, /data/app/com.xxxxxx-vFkc7xmI_2q-sR_9RxuTBA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
        at android.app.LoadedApk.makeApplication(LoadedApk.java:1136)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:
    6188)
        at android.app.ActivityThread.access$
    1200(ActivityThread.java:237)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
    1785)
        at android.os.Handler.dispatchMessage(Handler.java:
    106)
        at android.os.Looper.loop(Looper.java:
    214)
        at android.app.ActivityThread.main(ActivityThread.java:
    7045)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:
    493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:
    965)
    Caused by: java.lang.ClassNotFoundException: Didn
    't find class "android.support.multidex.MultiDexApplication" on path: DexPathList[[zip file "/data/app/com.xxxxxxxxx-vFkc7xmI_2q-sR_9RxuTBA==/base.apk"],nativeLibraryDirectories=[/data/app/com.xxxxxxxxx-vFkc7xmI_2q-sR_9RxuTBA==/lib/arm64, /data/app/com.xxxxxxxxx-vFkc7xmI_2q-sR_9RxuTBA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:
    379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:
    312)
        at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:
    50)
        at android.app.Instrumentation.newApplication(Instrumentation.java:
    1120)
        at android.app.LoadedApk.makeApplication(LoadedApk.java:
    1128)
        ... 
    9 more
    could 
    not check pending caller


    Some solution for this¿???
     
  2. scsjc

    scsjc Well-Known Member Licensed User

    I find solution with add in manifest:
    Code:
    SetApplicationAttribute(android:name, "androidx.multidex.MultiDexApplication")
     
    Erel and jimmyF like this.
  3. Erel

    Erel Administrator Staff Member Licensed User

    Will be fixed.
     
    Jack Cole and scsjc like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice