Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/impl/client/DefaultHttpClient
I am not able to resolve below error :
Caused by: java.lang.NoClassDefFoundError: Failed resolution of:
Lorg/apache/http/impl/client/DefaultHttpClient;
at com.medicend.jykra.medicend.Async.Parser.LoginParser.hitWS(LoginParser.java:68)
at com.medicend.jykra.medicend.Async.Parser.LoginParser.postData(LoginParser.java:50)
at com.medicend.jykra.medicend.Activity.SignInActivity$LoginAsync.doInBackground(SignInActivity.java:91)
at com.medicend.jykra.medicend.Activity.SignInActivity$LoginAsync.doInBackground(SignInActivity.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.impl.client.DefaultHttpClient" on path:
DexPathList[[zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/base.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_dependencies_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_resources_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_0_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_1_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_2_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_3_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_4_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_5_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_6_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_7_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_8_apk.apk",
zip file
"/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/lib/x86,
/system/lib]]
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 com.medicend.jykra.medicend.Async.Parser.LoginParser.hitWS(LoginParser.java:68)
at com.medicend.jykra.medicend.Async.Parser.LoginParser.postData(LoginParser.java:50)
at com.medicend.jykra.medicend.Activity.SignInActivity$LoginAsync.doInBackground(SignInActivity.java:91)
at com.medicend.jykra.medicend.Activity.SignInActivity$LoginAsync.doInBackground(SignInActivity.java:73)
at android.os.AsyncTask$2.call(AsyncTask.java:333)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Suppressed: java.io.IOException: No original dex files found for dex location
/data/app/com.medicend.jykra.medicend-IiBcrMY7QQm4ixa9RIMICQ==/split_lib_resources_apk.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:354)
at dalvik.system.DexFile.(DexFile.java:101)
at dalvik.system.DexFile.(DexFile.java:75)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
at dalvik.system.DexPathList.(DexPathList.java:164)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:74)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.(PathClassLoader.java:64)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
E/AndroidRuntime: at
com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:727)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:810)
at android.app.LoadedApk.getResources(LoadedApk.java:1032)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2345)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5749)
at android.app.ActivityThread.access$1100(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
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:858)
Add the following to your manifest file under 'application':
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
https://developer.android.com/about/versions/pie/android-9.0-changes-28#apache-p
You are getting this error because your app uses the legacy org.apache.http.legacy client and your app's targetSdkVersion is set to 28 or higher.
Consider using HttpURLConnection or lowering your targetSdkVersion in build.gradle.
Related
I have an android app with Facebook login implemented. It has been working perfect for the last year, but today I started my app and got an error on this line:
final LoginButton loginButton = (LoginButton) findViewById(R.id.facebook_login_button);
loginButton.setReadPermissions(Arrays.asList("public_profile,email"));
Error
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.application.GlassFrogg, PID: 28151
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/internal/LoginAuthorizationType;
at com.facebook.login.widget.LoginButton$LoginButtonProperties.setReadPermissions(LoginButton.java:149)
at com.facebook.login.widget.LoginButton.setReadPermissions(LoginButton.java:276)
at com.application.GlassFrogg.LoginScreen.onCreate(LoginScreen.java:184)
at android.app.Activity.performCreate(Activity.java:7326)
at android.app.Activity.performCreate(Activity.java:7317)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3066)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3229)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1926)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:6981)
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:1445)
E/AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.facebook.internal.LoginAuthorizationType" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/base.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_dependencies_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_resources_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_0_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_1_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_2_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_3_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_4_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_5_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_6_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_7_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_8_apk.apk", zip file "/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/lib/arm64, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/base.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_resources_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /system/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)
... 18 more
Suppressed: java.io.IOException: No original dex files found for dex location (arm64) /data/app/com.application.GlassFrogg-9iEMWqfIsuzThI_-Q3q51w==/split_lib_resources_apk.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:354)
at dalvik.system.DexFile.<init>(DexFile.java:101)
at dalvik.system.DexFile.<init>(DexFile.java:75)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
at dalvik.system.DexPathList.<init>(DexPathList.java:164)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:74)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
E/AndroidRuntime: at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:764)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:847)
at android.app.LoadedApk.getResources(LoadedApk.java:1088)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2563)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6031)
at android.app.ActivityThread.access$1200(ActivityThread.java:235)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1768)
... 6 more
For some reason I am getting three errors when the app crashes. A google search for the exact error code gave me 0 results (that was a first).
I have tried to change what read permissions I request do no avail. I checked to see if methods have been depreciated in the recent facebook API updated, but I don't think that is the issue either.
I solved this by updating to the latest version of the Facebook API. Some of the function calls changed slightly in the update which was causing the crash.
I have following following error which will cause my android app to jump out, where it jumps out is very inconsistent i can't pin point the code causing it. Anyone can read and understand what it is?
E/AndroidRuntime: FATAL EXCEPTION: Thread-22
Process: my.zen.com.uselessapp.xxxxxxxx, PID: 16384
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
at com.google.android.gms.internal.ads.zzaj.zzb(Unknown Source:3)
at com.google.android.gms.internal.ads.zzai.zza(Unknown Source:4)
at com.google.android.gms.internal.ads.zzak.zzc(Unknown Source:32)
at com.google.android.gms.internal.ads.zzayl.zzc(Unknown Source:27)
at com.google.android.gms.internal.ads.zzn.processRequest(Unknown Source:28)
at com.google.android.gms.internal.ads.zzn.run(Unknown Source:12)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/base.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_dependencies_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_resources_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_0_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_1_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_2_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_3_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_4_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_5_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_6_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_7_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_8_apk.apk", zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/lib/arm64, /system/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 com.google.android.gms.internal.ads.zzaj.zzb(Unknown Source:3)
at com.google.android.gms.internal.ads.zzai.zza(Unknown Source:4)
at com.google.android.gms.internal.ads.zzak.zzc(Unknown Source:32)
at com.google.android.gms.internal.ads.zzayl.zzc(Unknown Source:27)
at com.google.android.gms.internal.ads.zzn.processRequest(Unknown Source:28)
at com.google.android.gms.internal.ads.zzn.run(Unknown Source:12)
Suppressed: java.io.IOException: No original dex files found for dex location /data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/split_lib_resources_apk.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:354)
at dalvik.system.DexFile.<init>(DexFile.java:101)
at dalvik.system.DexFile.<init>(DexFile.java:75)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
at dalvik.system.DexPathList.<init>(DexPathList.java:164)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:74)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:727)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:810)
at android.app.LoadedApk.getResources(LoadedApk.java:1032)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2345)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5798)
at android.app.ActivityThread.access$1100(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
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:858)
Application terminated.
Add this in you AndroidMenifest.xml inside <application> tag
<application
android:theme="#style/AppTheme">
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
</application>
You are getting a NoClassDefError
java.lang.NoClassDefFoundError: Failed resolution of:
Lorg/apache/http/ProtocolVersion;
caused by
java.lang.ClassNotFoundException:
because the Dalvik executable (Dex) class loader couldn't find a particular class for run time
:
Didn't find class: "org.apache.http.ProtocolVersion"
when it tries to run your app
on path: DexPathList[[zip file "/data/app/my.zen.com.uselessapp.xxxxxxxx-CoQm7REaeOORs9mK5raYJw==/base.apk",
That is basically what it means. So check where this class could be used, I suspect one of your dependencies, and make sure everything is in order there, then try building again.
I recently installed another ROM on my Android Device (Mi Mix 2 - now 8.0 was 9.0) which is an older Android Version than the other one was. To make my project work I had to change the minSdkVersion to 26 (was 27). I tried to run the app on my phone but I am getting an exception which I do not quite understand. I didn´t change anything besides the minSdkVersion.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.tobia.core, PID: 2776
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.tobia.core/com.example.tobia.core.LoginActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.tobia.core.LoginActivity" on path: DexPathList[[zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/base.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_resources_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/lib/arm64, /system/lib64, /system/vendor/lib64]]
at android.app.ActivityThread.performLaunchActivity(Unknown Source:454)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:30)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:80)
at android.os.Handler.dispatchMessage(Unknown Source:21)
at android.os.Looper.loop(Unknown Source:155)
at android.app.ActivityThread.main(Unknown Source:68)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:200)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.tobia.core.LoginActivity" on path: DexPathList[[zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/base.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_resources_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/lib/arm64, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime: at android.app.Instrumentation.newActivity(Unknown Source:0)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:116)
... 9 more
Suppressed: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/app/AppCompatActivity;
at java.lang.VMClassLoader.findLoadedClass(Native Method)
at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738)
at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
... 12 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.app.AppCompatActivity" on path: DexPathList[[zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/base.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_resources_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/lib/arm64, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 15 more
Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk because: Failure to verify dex file '/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk': Bad method handle type 7
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:353)
at dalvik.system.DexFile.<init>(DexFile.java:100)
at dalvik.system.DexFile.<init>(DexFile.java:74)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
at dalvik.system.DexPathList.<init>(DexPathList.java:157)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
at com.android.internal.os.PathClassLoaderFactory.createClassLoader(Unknown Source:4)
at android.app.ApplicationLoaders.getClassLoader(Unknown Source:47)
at android.app.ApplicationLoaders.getClassLoader(Unknown Source:8)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(Unknown Source:230)
at android.app.LoadedApk.getClassLoader(Unknown Source:6)
at android.app.LoadedApk.getResources(Unknown Source:26)
at android.app.ContextImpl.createAppContext(Unknown Source:24)
at android.app.ActivityThread.handleBindApplication(Unknown Source:698)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:502)
... 6 more
Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_resources_apk.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:353)
at dalvik.system.DexFile.<init>(DexFile.java:100)
at dalvik.system.DexFile.<init>(DexFile.java:74)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
at dalvik.system.DexPathList.<init>(DexPathList.java:157)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
at com.android.internal.os.PathClassLoaderFactory.createClassLoader(Unknown Source:4)
at android.app.ApplicationLoaders.getClassLoader(Unknown Source:47)
at android.app.ApplicationLoaders.getClassLoader(Unknown Source:8)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(Unknown Source:230)
at android.app.LoadedApk.getClassLoader(Unknown Source:6)
at android.app.LoadedApk.getResources(Unknown Source:26)
at android.app.ContextImpl.createAppContext(Unknown Source:24)
at android.app.ActivityThread.handleBindApplication(Unknown Source:698)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:502)
... 6 more
[CIRCULAR REFERENCE:java.io.IOException: Failed to open dex files from /data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk because: Failure to verify dex file '/data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_dependencies_apk.apk': Bad method handle type 7]
[CIRCULAR REFERENCE:java.io.IOException: No original dex files found for dex location /data/app/com.example.tobia.core-lr4S82vYgys_Rc2X2Bt6vw==/split_lib_resources_apk.apk]
Application terminated.
After updating my phone to Android 9, and updating the sdk version to 4.8.1, i am having an issue while trying to register the sdk:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/params/BasicHttpParams;
at dji.thirdparty.afinal.FinalHttp.<init>(Unknown Source:12)
at com.dji.frame.util.V_AppUtils.b(Unknown Source:9)
at dji.internal.version.b.a(Unknown Source:43)
at dji.internal.version.d.a(Unknown Source:8)
at dji.internal.version.VersionController.a(Unknown Source:12)
at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source:49)
at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source:129)
at dji.sdk.sdkmanager.DJISDKManager.access$1100(Unknown Source:0)
at dji.sdk.sdkmanager.DJISDKManager$5.run(Unknown Source:104)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.params.BasicHttpParams" on path: DexPathList[[zip file "/system/framework/com.android.future.usb.accessory.jar", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/base.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_dependencies_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_resources_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_0_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_1_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_2_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_3_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_4_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_5_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_6_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_7_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_8_apk.apk", zip file "/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_9_apk.apk", dex file "InMemoryDexFile[cookie=[0, 505806403584]]", dex file "InMemoryDexFile[cookie=[0, 505806404160]]"],nativeLibraryDirectories=[/data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/lib/arm64, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/base.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_resources_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:169)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at dji.thirdparty.afinal.FinalHttp.<init>(Unknown Source:12)
at com.dji.frame.util.V_AppUtils.b(Unknown Source:9)
at dji.internal.version.b.a(Unknown Source:43)
at dji.internal.version.d.a(Unknown Source:8)
at dji.internal.version.VersionController.a(Unknown Source:12)
at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source:49)
at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source:129)
at dji.sdk.sdkmanager.DJISDKManager.access$1100(Unknown Source:0)
at dji.sdk.sdkmanager.DJISDKManager$5.run(Unknown Source:104)
at java.lang.Thread.run(Thread.java:764)
2019-01-10 12:02:39.820 8784-8840/com.paragon.defenders E/AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.paragon.defenders-aSWKRXZFLeJtYnRdOEyUKQ==/split_lib_resources_apk.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:354)
at dalvik.system.DexFile.<init>(DexFile.java:101)
at dalvik.system.DexFile.<init>(DexFile.java:75)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354)
at dalvik.system.DexPathList.<init>(DexPathList.java:164)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:83)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:74)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:735)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:818)
at android.app.LoadedApk.getResources(LoadedApk.java:1041)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2394)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5913)
at android.app.ActivityThread.access$1300(ActivityThread.java:207)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1748)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6863)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Is there another dependency that needs to be updated? Or currently version 4.8.1 is not stable yet for android 9?
My device - OnePlus 6T
The reason for the issue is Apache HTTP client deprecation beginning with Android 9.
Add this to your AndroidManifest.xml to fix:
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
The problem was that my compileSdkVersion was 28 and when i ran the app on Android 9 i got this exception, I've changed it to 26 and the app is working now.
I am basically trying to convert the DJI videostreamdecodingsample to a kotlin based app but when I tried to run the app then it shows the following error
2018-12-10 15:12:02.031 5208-5227/com.joeydash.djilogapp E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: com.joeydash.djilogapp, PID: 5208
java.lang.NoClassDefFoundError: Failed resolution of: Ldji/sdk/sdkmanager/DJISDKManager;
at com.joeydash.djilogapp.ConnectionActivity$startSDKRegistration$1.run(ConnectionActivity.kt:83)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.sdk.sdkmanager.DJISDKManager" on path: DexPathList[[zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/base.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_dependencies_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_resources_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_0_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_1_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_2_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_3_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_4_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_5_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_6_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_7_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_8_apk.apk", zip file "/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/base.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_dependencies_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_resources_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_0_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_1_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_2_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_3_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_4_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_5_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_6_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_7_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_8_apk.apk!/lib/x86, /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_slice_9_apk.apk!/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at
com.joeydash.djilogapp.ConnectionActivity$startSDKRegistration$1.run(ConnectionActivity.kt:83)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Suppressed: java.io.IOException: No original dex files found for dex location /data/app/com.joeydash.djilogapp-UOs6TJS_aks11EEvG3Rv7w==/split_lib_resources_apk.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:353)
at dalvik.system.DexFile.<init>(DexFile.java:100)
at dalvik.system.DexFile.<init>(DexFile.java:74)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
at dalvik.system.DexPathList.<init>(DexPathList.java:157)
2018-12-10 15:12:02.032 5208-5227/com.joeydash.djilogapp E/AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:35)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:693)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:727)
at android.app.LoadedApk.getResources(LoadedApk.java:954)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2270)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5639)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
I made minifyEnabled false in debug build but still it doesn't works
I am not getting what the error is