cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-10226) PushPlugin error with Cordova 5.4.1
Date Thu, 07 Jan 2016 20:18:39 GMT

     [ https://issues.apache.org/jira/browse/CB-10226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Khandelwal resolved CB-10226.
------------------------------------
    Resolution: Invalid

> PushPlugin error with Cordova 5.4.1
> -----------------------------------
>
>                 Key: CB-10226
>                 URL: https://issues.apache.org/jira/browse/CB-10226
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Hassan Siddique
>             Fix For: 5.4.0, 5.4.1
>
>
> I am getting following error when I install pushplugin with cordova version of 5.4.1.
> :generateDebugSources UP-TO-DATE
> :compileDebugJava UP-TO-DATE
> :preDexDebug UP-TO-DATE
> :dexDebug
> UNEXPECTED TOP-LEVEL EXCEPTION:
> com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
> at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
> at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
> at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
> at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
> at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
> at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
> at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
> at com.android.dx.command.dexer.Main.run(Main.java:246)
> at com.android.dx.command.dexer.Main.main(Main.java:215)
> at com.android.dx.command.Main.main(Main.java:106)
> FAILED
> FAILURE: Build failed with an exception.
> What went wrong:
> Execution failed for task ':dexDebug'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
> /home/hassan/android-sdks/build-tools/22.0.1/dx --dex --no-optimize --output /var/www/moobara/app/platforms/android/build/intermediates/dex/debug
--input-list=/var/www/moobara/app/platforms/android/build/intermediates/tmp/dex/debug/inputList.txt
> Error Code:
> 2
> Output:
> UNEXPECTED TOP-LEVEL EXCEPTION:
> com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
> at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
> at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
> at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
> at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
> at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
> at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
> at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
> at com.android.dx.command.dexer.Main.run(Main.java:246)
> at com.android.dx.command.dexer.Main.main(Main.java:215)
> at com.android.dx.command.Main.main(Main.java:106)
> Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option
to get more log output.
> BUILD FAILED
> Total time: 20.936 secs
> /var/www/moobara/app/platforms/android/cordova/node_modules/q/q.js:126
> throw e;
> ^
> Error code 1 for command: /var/www/moobara/app/platforms/android/gradlew with args: cdvBuildDebug,-b,/var/www/moobara/app/platforms/android/build.gradle,-Dorg.gradle.daemon=true
> ERROR building one of the platforms: Error: /var/www/moobara/app/platforms/android/cordova/build:
Command failed with exit code 1
> You may not have the required environment or OS to build this project
> Error: /var/www/moobara/app/platforms/android/cordova/build: Command failed with exit
code 1
> PushPlugin link is 
> https://github.com/phonegap-build/PushPlugin
> When I remove this plugin build is fine but when I install it I am getting error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message