Androidstudio can run it on a smartphone, but I can't run it on a tablet, but I don't know why, so please let me know if you know.
The following error codes
Error: Error converting bytecode to dex:
Cause: java.lang.RuntimeException: Exception parsing classes
Error: 1 error;aborting
Error: Execution failed for task ':app:transformClassesWithDexForDebug'.
>com.android.build.api.transform.TransformException:
I don't know if I can, but...
Write in build.gradle(mobile) to enable Multidex
Describe MultiDexApplication in AndroidManifest.xml
build.gradle(mobile)
defaultConfig {
..
multiDexEnabled true
}
dependencies {
..
compile'com.android.support:multidex:1.0.0'
}
AndroidManifest.xml
<application
..
android:name="android.support.multidex.MultiDexApplication">
..
</application>
© 2024 OneMinuteCode. All rights reserved.