IONIC Framework错误代码1

时间:2016-04-13 13:12:55

标签: facebook cordova ionic-framework cordova-plugins

IONIC Framework

Facebook& Google+登录项目

$ android build project

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:579)
    at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:535)
    at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:517)
    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)

    ERROR building one of the platforms: Error code 1 for command: /home/satyam/ionic/aao-app/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/satyam/ionic/aao-app/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
You may not have the required environment or OS to build this project
Error: Error code 1 for command: /home/satyam/ionic/aao-app/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/satyam/ionic/aao-app/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true

如果我删除了插件: $ cordova plugin remove phonegap-facebook-plugin

这将构建项目,但我需要使用Google+和&实

2)如果你有任何文章或插件可以直接帮助访问它。请告诉我。

0 个答案:

没有答案