android-multidex

Error converting bytecode to dex: Multiple dex files, Android Studio 3.0

早过忘川 提交于 2020-01-06 06:55:53
问题 I recently upgraded to Android Studio 3.0, and while running the program I get the following error: Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/vuforia/TransformModel; Error:com.android.dex.DexException: Multiple dex files define Lcom/vuforia/TransformModel; Error: at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661) Error: at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616) Error: at com

MultiDex issue: java.lang.ClassNotFoundException: Didn't find class on path: DexPathList

被刻印的时光 ゝ 提交于 2020-01-04 13:15:18
问题 I am facing an issue with my app: If I deactivate within Android Studio Instant Run, my app crashes upon startup with the stacktrace: 12-29 13:36:37.876 4549-4549/com.mycoolapp.debug E/AndroidRuntime: FATAL EXCEPTION: main Process: com.mycoolapp.debug, PID: 4549 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mycoolapp.debug/com.myapp.SplashScreenActivity}: java.lang.ClassNotFoundException: Didn't find class "com.myapp.SplashScreenActivity" on path: DexPathList[

RoboGuice 3.0 NoClassDefFoundError: roboguice.inject.ContextScopedRoboInjector

两盒软妹~` 提交于 2020-01-03 08:32:37
问题 This is not always seen but seen on particular API 14 and 19. Below is the stacktrace java.lang.NoClassDefFoundError: roboguice.inject.ContextScopedRoboInjector at roboguice.RoboGuice.getInjector(RoboGuice.java:197) at roboguice.activity.RoboActivity.onCreate(RoboActivity.java:90) at com.bnmcombines.galleryflavors.Launcher.onCreate(Launcher.java:71) at android.app.Activity.performCreate(Activity.java:5343) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088) at

Execution failed for task ':packageAllDebugClassesForMultiDex'

天涯浪子 提交于 2020-01-02 03:20:11
问题 I am try to use the new android multidex support for a project. I have some problem with this exception: Error:Execution failed for task ':shineV3:packageAllDebugClassesForMultiDex'. java.util.zip.ZipException: duplicate entry: com/google/android/gms/analytics/internal/Command$1.class about the problem. I use 2 different jar package as dependency, and some class will be duplicated in classes.dex because both jars contains they. any idea? thanks in Advance 回答1: For those that are coming into

Cannot create android app from an archive \app\libs\appodeal-2.1.11.jar' containing both DEX and Java-bytecode content

送分小仙女□ 提交于 2020-01-01 16:34:31
问题 I am trying to add appodeal jar file to my project, but this error occurs: Cannot create android app from an archive app\libs\appodeal-2.1.11.jar' containing both DEX and Java-bytecode content Also android.enableD8=false not works. I am using buildToolsVersion 3.1.3, gradle-4.8 and multidex-1.0.2 library. How can I resolve this issue? Thanks 回答1: You should use special multidex version of sdk, integrate it instead of regular version. Regards. https://s3-us-west-1.amazonaws.com/appodeal

Cannot create android app from an archive \app\libs\appodeal-2.1.11.jar' containing both DEX and Java-bytecode content

天大地大妈咪最大 提交于 2020-01-01 16:32:25
问题 I am trying to add appodeal jar file to my project, but this error occurs: Cannot create android app from an archive app\libs\appodeal-2.1.11.jar' containing both DEX and Java-bytecode content Also android.enableD8=false not works. I am using buildToolsVersion 3.1.3, gradle-4.8 and multidex-1.0.2 library. How can I resolve this issue? Thanks 回答1: You should use special multidex version of sdk, integrate it instead of regular version. Regards. https://s3-us-west-1.amazonaws.com/appodeal

Getting “package android.support.multidex does not exist” after upgrading to Android Studio 2.3

吃可爱长大的小学妹 提交于 2020-01-01 07:28:06
问题 I updated from Android Studio 2.2.3 to Android Studio 2.3 yesterday, and I ran into the following two problems: Upon updating, Gradle 3.2 was installed by default, but syncing my project would not work and I kept getting an error saying "Gradle 3.3 is required". Using the default Gradle wrapper doesn't work. The only way to fix this was to download Gradle 3.3 manually and point to the directory in build settings. On running my project, I kept getting a string of errors involving my

Android app launch first time launch is taking more time even some time 30 sec and more

自闭症网瘾萝莉.ら 提交于 2020-01-01 04:33:06
问题 Below is log when app is first time installing: 05-12 13:16:23.632 28250-28250/com.app.projectName W/System: ClassLoader referenced unknown path: /data/app/com.app.projectName-1/lib/arm 05-12 13:16:59.041 28250-28250/com.app.projectName W/System: ClassLoader referenced unknown path: /data/app/com.app.projectName-1/lib/arm 05-12 13:16:59.073 28250-28250/com.app.projectName I/MultiDex: VM with version 2.1.0 has multidex support 05-12 13:16:59.073 28250-28250/com.app.projectName I/MultiDex:

Cause: com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/io/IOCase in Studio 3.0

旧城冷巷雨未停 提交于 2019-12-31 23:20:09
问题 I am developing one project. This is working fine with Android studio 2.3.3, but what happen is when i updated my Android Studio 3.0 and open my project then it can't assembled and it send me below error Log. Error Log Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/io/IOCase; Error:com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/io/IOCase; Error: at com.android.dx.merge.DexMerger

multiDexKeepFile not working

无人久伴 提交于 2019-12-31 16:39:13
问题 We are having problems in building our multidex App. We keep receiving different java.lang.NoClassDefFoundError erros during the application boot. We noticed that they are very likely related to the multidex issues. As the required classes for booting the App must be present in the primary DEX file and they are not being included in the classes.dex . We performed the steps described in https://developer.android.com/studio/build/multidex.html#keep but the classes we specify in the multidex