I want to set up Quizionic 3 . (codecanyon)
But i can’t do it. because of
"
:app:transformDexArchiveWithExternalLibsDexMergerForArm64Debug FAILED
FAILURE: Build failed with an exception.
" this step
My versions ;
node -v v8.11.4
npm -v 6.4.1
cordova -v 8.0.0
TERMINAL :
Last login: Sat Sep 15 19:12:47 on ttys001
Ramazan-MacBook-Air:~ ramazankorkmaz$ cd Quizionic3/
Ramazan-MacBook-Air:Quizionic3 ramazankorkmaz$ ionic info
[WARN] Detected locally installed Ionic CLI, but it’s too old–using global CLI.
Gathering environment info - done!
Ionic:
ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.10
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 16 other plugins)
System:
NodeJS : v8.11.4 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Ramazan-MacBook-Air:Quizionic3 ramazankorkmaz$ cordova run android
cordova-custom-config: Skipping auto-restore of config file backup(s)
Android Studio project detected
cordova-android-support-gradle-release: Android platform: cordova-android@7
cordova-android-support-gradle-release: Wrote custom version ‘27.+’ to /Users/ramazankorkmaz/Quizionic3/platforms/android/app/build.gradle
cordova-android-support-gradle-release: Wrote custom version ‘27.+’ to /Users/ramazankorkmaz/Quizionic3/platforms/android/app/cordova-android-support-gradle-release/properties.gradle
ANDROID_HOME=/Users/ramazankorkmaz/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
null
±----------------------------------------------------------------
| cordova-android-support-gradle-release: 27.+
±----------------------------------------------------------------
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_2qy5g25z0zak7i1q3ygjflz7i.run(/Users/ramazankorkmaz/Quizionic3/platforms/android/app/build.gradle:145)
Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ instead.
org.xwalk:xwalk_core_library:23+
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preArm64DebugBuild UP-TO-DATE
:app:compileArm64DebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileArm64DebugRenderscript UP-TO-DATE
:app:checkArm64DebugManifest UP-TO-DATE
:app:generateArm64DebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeArm64DebugShaders UP-TO-DATE
:app:compileArm64DebugShaders UP-TO-DATE
:app:generateArm64DebugAssets UP-TO-DATE
:app:mergeArm64DebugAssets UP-TO-DATE
:app:createXwalkCommandLineFileArm64Debug
:app:generateArm64DebugResValues UP-TO-DATE
:app:generateArm64DebugResources UP-TO-DATE
:app:mergeArm64DebugResources UP-TO-DATE
:app:createArm64DebugCompatibleScreenManifests UP-TO-DATE
:app:processArm64DebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskArm64Debug UP-TO-DATE
:app:processArm64DebugResources UP-TO-DATE
:app:generateArm64DebugSources UP-TO-DATE
:app:javaPreCompileArm64Debug UP-TO-DATE
:app:compileArm64DebugJavaWithJavac UP-TO-DATE
:app:compileArm64DebugNdk NO-SOURCE
:app:compileArm64DebugSources UP-TO-DATE
:app:transformClassesWithStackFramesFixerForArm64Debug UP-TO-DATE
:app:transformClassesWithDesugarForArm64Debug UP-TO-DATE
:app:transformClassesWithDexBuilderForArm64Debug UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForArm64Debug FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForArm64Debug’.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
- Get more help at https://help.gradle.org
BUİLD FAILED in 8s
38 actionable tasks: 2 executed, 36 up-to-date
(node:2027) UnhandledPromiseRejectionWarning: Error: /Users/ramazankorkmaz/Quizionic3/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForArm64Debug’.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
- Get more help at https://help.gradle.org
BUİLD FAILED in 8s
at ChildProcess.whenDone (/Users/ramazankorkmaz/Quizionic3/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:557:12)
(node:2027) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2027) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.