Android Studio build Cocoonjs by Gradle not ANT -


my project dependency on module & b

and module dependent on module b

after setup dependencies, multiple dex exception encountered.

fyi

my project doing native + cordova webview

and try accelerate ludei webview+ low end model

https://github.com/ludei/webview-plus

my project dependent on cordova module & ludei webview+ module

cordova module dependent on ludei webview+ module

after these setting can build grade no warning, not pass dexdebug when want build application. got error

com.android.dex.dexexception: multiple dex files define lcom/ludei/chromium/buildconfig;

i know officially recommended build on ant, have did trick change webview+ package name can build "debug" application not in "release".

how can set in android studio build gradle without having multiple dex exception?

---------update -------------

@scott barta yes, here whole cordova project under [project]/platforms/android.

the whole project files. module: cordovalib,webviewplus

https://github.com/gaplo917/cordova-cocoonjs-gradle

i can build debug cocoonjs changing package name name,i.e. package="com.ludei.android.chromium" no luck on building release version.

https://github.com/gaplo917/cordova-cocoonjs-gradle/blob/master/webviewplus/src/main/androidmanifest.xml

  • if cocoonjs not run properly, application can still built when request cordova web view , crash!


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -