Phonegap export issue

  • When i try to export my game i get an error and in the log it appears that:

    :app:compileDebugNdk NO-SOURCE

    :app:compileDebugSources

    :CordovaLib:mergeDebugShaders

    :CordovaLib:compileDebugShaders

    :CordovaLib:generateDebugAssets

    :CordovaLib:mergeDebugAssets

    :app:mergeDebugShaders

    :app:compileDebugShaders

    :app:generateDebugAssets

    :app:mergeDebugAssets

    :app:transformClassesWithStackFramesFixerForDebug

    :app:transformClassesWithDesugarForDebug

    :app:transformClassesWithDexBuilderForDebug

    :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

    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.

    Someone know what the problem could be?

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey! Did you manage to find a solution to this issue?

  • What plugins are you using? Sounds like it's related to Android X support.

    EDIT: ah apologies I hadn't realised you were using Phonegap Build. PGB does not currently support Android X, which is required to use the current versions of the Google Services libraries ( such as Admob, Play Games, In App Billing ). There isn't anything we can about this unfortunately. We advise that developers should either use the Construct Build Service or the Cordova CLI. The Phonegap Desktop app may also work, but we haven't tested it. In practise it should work the same as Cordova CLI, but be easier to use.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)