4

Before last month, I have been using Eclipse for android development. But now I am trying to use android studio because of the google's policy.

I am so tired.

I ran across this error

enter image description here

I don't understand this message. Because I don't use "Build Tools revision 23.0.0 rc" I am using 22.0.0.

compileSdkVersion 22
buildToolsVersion "22.0.0"

But I met that's error continue. So I downloaded and Installed Build Tools 23.0.0 rc2. But I met network error.

enter image description here

Solutions please. I am tired.

Sheychan
  • 2,415
  • 14
  • 32
Domingo Oh
  • 99
  • 1
  • 1
  • 9

4 Answers4

5

it happens because of build tools inconsistency. Firstly make sure 22 is installed then 23rc is not installed.

enter image description here

After that in your Android Studio Open Gradle Scripts >> build.gradle (Module:app). Make sure the installed build tool which is 22.0.1 in me is declared here. After changing the numbers make sure you rebuild/sync/refresh the project. And you are done. Note: Make sure this is done to all of your projects

enter image description here

Sheychan
  • 2,415
  • 14
  • 32
1

I am new to the Android programming. But I now get this error. On 8/28/2015, I have with the SDK Manager on the Android Studio (1.3.2 Build 141.2178183), while my current project was opened, installed new, previously not installed packages and also I have done other recommended update. Subsequently, I received the error message "Install Build Tool revision 23.0.0. rc2" and "Gradle project sync failed. Basic functionality (e.g... Try Again Open 'Messages' View Show Log in Explorer". I have tried it without success.

Uninstall/new install Build-Tools in the SDK manager brought no change. There was a "Build Tools revsion 232.0 rc2" also not to be found.

Therefore, I have looked at the Grandle files accurately. The file build.gradle (Module: app) in C: \ Users \ \ AndroidStudioProjects \ \ app \ build.gradle contained the following entry:

android {
    compileSdkVersion 22
    buildToolsVersion "23.0.0 rc3"

I have changed this with an editor:

android {
    compileSdkVersion 22
    buildToolsVersion "23.0.0"

Then I could call up the project again without errors and also perform a synchronization.

0

I tried above solution it seemed not to work at first but try looking into all build files. For example if your project has got multiple modules say wearable module or like update its gradle build file too.

Uzair
  • 1,529
  • 14
  • 17
0

It seems to be answered perfectly here: https://stackoverflow.com/a/28159380/3436166

Just install the required version of Build Tools and the dependency issue will be solved.

Community
  • 1
  • 1
romaroma
  • 658
  • 8
  • 13