Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/182.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 将毕加索添加到Gradle时出现运行时错误_Android_Android Gradle Plugin_Picasso - Fatal编程技术网

Android 将毕加索添加到Gradle时出现运行时错误

Android 将毕加索添加到Gradle时出现运行时错误,android,android-gradle-plugin,picasso,Android,Android Gradle Plugin,Picasso,当我将毕加索添加到依赖项中时,我收到以下错误,我无法找到如何修复它。如果您有任何帮助,我们将不胜感激。我尝试清理、重建项目,但没有收到任何错误,但在运行项目时,出现了错误 应用程序梯度: dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.google.android.gms:play-services:7.5.0' compile 'com.android.suppo

当我将毕加索添加到依赖项中时,我收到以下错误,我无法找到如何修复它。如果您有任何帮助,我们将不胜感激。我尝试清理、重建项目,但没有收到任何错误,但在运行项目时,出现了错误

应用程序梯度:

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.google.android.gms:play-services:7.5.0'
    compile 'com.android.support:appcompat-v7:22.1.0'
    compile 'com.pkmmte.view:circularimageview:1.1'
    compile 'com.squareup.retrofit:retrofit:1.9.0'
    compile 'com.squareup.okhttp:okhttp:2.0.0'
    compile project(':library')
    compile 'com.mobprofs:retrofit-simplexmlconverter:1.1'
    compile 'rubygems:json:1.8.0'
    compile 'org.eclipse.birt.runtime.3_7_1:org.apache.commons.codec:1.3.0'
    compile 'com.jpardogo.materialtabstrip:library:1.1.0'
    compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
    compile 'it.sephiroth.android.library.picasso:picasso:2.5.2.3'
装载机:1.9.4' }

信息:渐变任务[:app:assembleDebug]:app:preBuild :app:compiledbugndk最新:app:preDebugBuild :app:checkDebugManifest:app:preReleaseBuild:library:compileNet :库:copyReleaseLint最新:库:mergeReleaseProguardFiles 最新:库:预生成:库:预发布生成 :library:CheckReleaseMifest:library:prepareReleaseDependencies :库:compileReleaseAidl最新 :库:compileReleaseRenderscript最新 :library:generateReleaseBuildConfig最新 :库:generateReleaseAssets最新:库:mergeReleaseAssets 最新:库:generateReleaseResValues最新 :library:GenerateRelease资源最新 :库:packageReleaseResources最新 :库:ProcessReleaseMifest最新 :library:processReleaseResources最新 :library:generateReleaseSources最新:library:compileReleaseJava 最新:库:processReleaseJavaRes最新 :库:packageReleaseJar最新:库:compileReleaseNdk 最新:库:packageReleaseJniLibs最新 :库:packageReleaseLocalJar最新 :library:packageReleaseRenderscript最新:library:bundleRelease 最新的 :app:prepareComAmulyakhareComAmulyakhareTextdrawable101Library 最新:应用程序:PrepareCommandroidSupportAppCompatV72210库 最新:应用程序:PrepareCommandroidSupportMediaRouterV72200库 最新:应用程序:PrepareComandRoidSupportV42220库 最新:应用程序:prepareComGoogleAndroidGmsPlayServices750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesAds750Library 最新的 :app:prepareComGoogleAndroidGmsPlayServicesAnalytics750Library 最新的 :app:PrepareComgoogleandroidGMSplayServicesIndexing750Library 最新的 :app:PrepareComgoogleandroidGMSplayServicesAppLibrary 最新的 :app:prepareComGoogleAndroidGmsPlayServicesAppstate750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesBase750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesCast750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesDrive750Library 最新的 :app:prepareComGoogleAndroidGmsPlayServicesFitness750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesGames750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesGcm750Library 最新的 :app:prepareComgoogleandroidgmsPlayServiceSideEntity750Library 最新的 :app:prepareComGoogleAndroidGmsPlayServicesLocation750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesMaps750Library 最新:应用程序:PrepareComgoogleandroidGMSplayServicesNerby750Library 最新的 :app:prepareComGoogleAndroidGmsPlayServicesPanorama750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesPlus750Library 最新的 :app:prepareComGoogleAndroidGmsPlayServicesSafetynet750Library 最新:应用程序:prepareComGoogleAndroidGmsPlayServicesWallet750Library 最新的 :app:PrepareComgoogleandroidGMSplayServicesWebable750Library 最新:应用程序:PrepareComJPARDOGOMATERIALTBSTRIPLARY110Library 最新:应用程序:PrepareCompKMTeviewCircularimageView11库 最新的 :app:PrepareProjectionLibrary非特定图书馆 最新的 :app:PrepareitHirothandroidLibrary毕加索2523图书馆 最新:app:prepareDebugDependencies:app:compileedebugaidl 最新:应用程序:CompiledBugRenderScript最新 :app:generateDebugBuildConfig最新:app:generateDebugAssets 最新:应用程序:合并调试资产最新 :app:generateDebugResValues最新:app:generateDebugResources 最新:应用程序:合并调试资源最新 :app:processDebugManifest最新:app:processDebugResources 最新:app:generateDebugSources最新:app:compileedebugjava 注意:某些输入文件使用或覆盖不推荐使用的API。注: 使用-Xlint重新编译:有关详细信息,请参阅弃用。注意:一些输入文件 使用未经检查或不安全的操作。注意:使用 -Xlint:未选中以查看详细信息:app:preDexDebug:app:dexDebug意外的顶级异常:错误:任务的执行失败 “:app:dexDebug”

com.android.ide.common.internal.LoggedErrorException:无法运行命令: C:\Users\RZahr\AppData\Local\AndroidStudio\sdk\build tools\21.1.2\dx.bat --dex--无优化--输出D:\AndroidStudioProjects\ProjectOne\app\build\intermediates\dex\debug --输入列表=D:\AndroidStudioProjects\ProjectOne\app\build\intermediates\tmp\dex\debug\inputList.txt 错误代码:2输出:意外的顶级异常: com.android.dex.DexIndexOverflowException:方法ID不在[0]中, 0xffff]:65536 at com.android.dx.merge.dexmmerge$6.updateIndex(dexmmerge.java:502)位于 com.android.dx.merge.dexmerge$idmerge.mergeSorted(dexmerge.java:277) 位于com.android.dx.merge.dexmerge.mergeMethodId(dexmerge.java:491) 位于com.android.dx.merge.dexmerge.mergeDexes(dexmerge.java:168) 在com.android.dx.merge.dexmmerge.merge(dexmmerge.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)

渐变控制台错误:

意外的顶级异常: com.android.dex.DexIndexOverflowException:方法ID不在[0]中, 0xffff]:65536 at com.android.dx.merge.dexmmerge$6.updateIndex(dexmmerge.java:502)位于
 compile 'com.squareup.picasso:picasso:2.+'
compile ('com.facebook.android:facebook-android-sdk:3.22.0@aar'){
        exclude module: 'support-v4'
    }
  compile 'com.android.support:multidex:1.0.0'
<application
    ...
    android:name="android.support.multidex.MultiDexApplication">
    ...
</application>
  defaultConfig {
        ...(your settings)

        // Enabling multidex support.
        multiDexEnabled true
    }