Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAILURE: Build failed with an exception. [Android] #33

Open
kimalec opened this issue Apr 21, 2017 · 5 comments
Open

FAILURE: Build failed with an exception. [Android] #33

kimalec opened this issue Apr 21, 2017 · 5 comments

Comments

@kimalec
Copy link

kimalec commented Apr 21, 2017

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzcq;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
@NazarKozak
Copy link
Contributor

@kimalec seems like other plugin adds play services with different version. Can you send me your plugin list?

@matrixreal
Copy link

@NazarKozak
same here
build fail

BUILD FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':transformClassesWithDexForArmv7Debug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

plugins that i use :
com.appodeal.plugin 3.0.4 "Appodeal Plugin"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-crosswalk-webview 2.4.0 "Crosswalk WebView Engine"
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-httpd 0.9.3 "CorHttpd"
cordova-plugin-inappbrowser 2.0.2 "InAppBrowser"
cordova-plugin-whitelist 1.3.3 "Whitelist"

debug file log attached
manifest-merger-armv7-debug-report.txt

thanks for help

@Tamplier
Copy link
Contributor

Tamplier commented Feb 1, 2018

@matrixreal
Actually, it isn't the same issue. I recommend you to install the following version of Appodeal plugin to avoid pitfalls:
https://github.com/appodeal/appodeal-cordova-nodex-plugin
And the following plugin to solve your main issue:
https://www.npmjs.com/package/cordova-plugin-multidex

@matrixreal
Copy link

@Tamplier
ok thank you
i install the 2 plugins ? i mean the 2 links ?
and is it the same as the this master repo ?
thanks

@matrixreal
Copy link

build ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants