org.xwalk:xwalk_core_library:21+

 

 

It looks like the problem is that the Gradle daemon is not large enough to 
handle all the plugins that I’m using in my project:

 

 

To run dex in process, the Gradle daemon needs a larger heap.

It currently has approximately 910 MB.

For faster builds, increase the maximum heap size for the Gradle daemon to more 
than 4096 MB.

To do this set org.gradle.jvmargs=-Xmx4096M in the project gradle.properties.

For more information see 
https://docs.gradle.org/current/userguide/build_environment.html

 

 

 

 

From: "Balestrieri, Francesco" <[email protected]>
Date: Friday, September 23, 2016 at 9:03 PM
To: Adrian Gillette <[email protected]>, 
"[email protected]" 
<[email protected]>
Subject: Re: [Crosswalk-help] cordova build error

 

Which version of cordova-plugin-crosswalk-webview do you use? Did you specify a 
Crosswalk version?

 

From: Crosswalk-help <[email protected]> on 
behalf of Adrian Gillette <[email protected]>
Date: Saturday 24 September 2016 at 03:00
To: "[email protected]" 
<[email protected]>
Subject: [Crosswalk-help] cordova build error

 

Hello,

 

I’m getting the following build error when I use Crosswalk in my Cordova app:

 

Dex: Error converting bytecode to dex:

Cause: com.android.dex.DexIndexOverflowException: Cannot merge new index 65689 
into a non-jumbo instruction!

    UNEXPECTED TOP-LEVEL EXCEPTION:

    com.android.dex.DexIndexOverflowException: Cannot merge new index 65689 
into a non-jumbo instruction!

    at 
com.android.dx.merge.InstructionTransformer.jumboCheck(InstructionTransformer.java:111)

    at 
com.android.dx.merge.InstructionTransformer.access$800(InstructionTransformer.java:26)

    at 
com.android.dx.merge.InstructionTransformer$StringVisitor.visit(InstructionTransformer.java:74)

    at com.android.dx.io.CodeReader.callVisit(CodeReader.java:114)

    at com.android.dx.io.CodeReader.visitAll(CodeReader.java:89)

    at 
com.android.dx.merge.InstructionTransformer.transform(InstructionTransformer.java:50)

    at com.android.dx.merge.DexMerger.transformCode(DexMerger.java:826)

    at com.android.dx.merge.DexMerger.transformMethods(DexMerger.java:800)

    at com.android.dx.merge.DexMerger.transformClassData(DexMerger.java:772)

    at com.android.dx.merge.DexMerger.transformClassDef(DexMerger.java:669)

    at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:523)

    at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:164)

    at com.android.dx.merge.DexMerger.merge(DexMerger.java:188)

    at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:504)

    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)

    at com.android.dx.command.dexer.Main.run(Main.java:277)

    at com.android.dx.command.dexer.Main.main(Main.java:245)

    at com.android.dx.command.Main.main(Main.java:106)

    

:transformClassesWithDexForArmv7Debug FAILED

 

FAILURE: Build failed with an exception.

 

 

Can anyone help with this?

If I remove the crosswalk plugin, there are no build errors.

 

Adrian

 

 

 

 

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to