Paypal Integration让我在android中出错

时间:2015-03-20 05:26:08

标签: android paypal android-studio

将PayPalAndroidSDK-2.8.6.jar文件添加到我的lib文件夹后 我收到了错误 错误:任务':app:dexDebug'。

的执行失败
  

com.android.ide.common.internal.LoggedErrorException:无法运行命令:       C:\ Users \ marwha \ AppData \ Local \ Android \ sdk \ build-tools \ 21.1.2 \ dx.bat --dex --no-optimize --output E:\ android \ RocketResumeBuilder \ app \ build \ intermediates \ dex \ debug --input-list = E:\ android \ RocketResumeBuilder \ app \ build \ intermediates \ tmp \ dex \ debug \ inputList.txt   错误代码:       2   输出:       意外的顶级例外情况:       com.android.dex.DexIndexOverflowException:方法ID不在[0,0xffff]中:65536           在com.android.dx.merge.DexMerger $ 6.updateIndex(DexMerger.java:502)           在com.android.dx.merge.DexMerger $ IdMerger.mergeSorted(DexMerger.java:277)           在com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)           在com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)           在com.android.dx.merge.DexMerger.merge(DexMerger.java:189)           在com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)           在com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)           在com.android.dx.command.dexer.Main.run(Main.java:246)           在com.android.dx.command.dexer.Main.main(Main.java:215)           在com.android.dx.command.Main.main(Main.java:106)

我正在使用android studio。

0 个答案:

没有答案