dexoptions

What is dex in Gradle

风格不统一 提交于 2019-11-28 09:16:47
What is the dex in Gradle or in Android? In Gradle, what's the meaning of dexoptions ? Sometimes my project does not compile because of some dexerrors. I need to activate ProGuard to compile my Android app. In the standard java world: When you compile standard java code : the compiler produce *.class file. A *class file contains standard java bytecode that can be executed on a standard JVM. In the Android world: It is different. You use the java language to write your code, but the compiler don't produce *.class files, it produce *.dex file. A *.dex file contains bytecode that can be executed

What is dex in Gradle

这一生的挚爱 提交于 2019-11-27 02:48:38
问题 What is the dex in Gradle or in Android? In Gradle, what's the meaning of dexoptions ? Sometimes my project does not compile because of some dexerrors. I need to activate ProGuard to compile my Android app. 回答1: In the standard java world: When you compile standard java code : the compiler produce *.class file. A *class file contains standard java bytecode that can be executed on a standard JVM. In the Android world: It is different. You use the java language to write your code, but the