Could not find support-v4.jar (com.android.support:support-v4:24.1.1).

Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies]
Observed package id 'build-tools;20.0.0' in inconsistent location 'e:\android\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W' (Expected 'e:\android\adt-bundle-windows-x86_64-20140702\sdk\build-tools\20.0.0')
Error:A problem occurred configuring project ':app'.
> Could not find support-v4.jar (com.android.support:support-v4:24.1.1).
  Searched in the following locations:
      https://jcenter.bintray.com/com/android/support/support-v4/24.1.1/support-v4-24.1.1.jar
Information:BUILD FAILED
Information:Total time: 1.384 secs
Information:1 error
Information:0 warnings

Information:See complete output in console




对比了好的工程,发现gradle里面多了一项

compile 'com.android.support:support-v4:24.1.1'

果断删除


结果:o了!


特此纪念



你可能感兴趣的:(Could not find support-v4.jar (com.android.support:support-v4:24.1.1).)