• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
4 views

Problem:

I have tried everything but getting this error

I did reinstalled my android sdk too

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

Looked here: /home/user/Android/Sdk/tools/templates/gradle/wrapper

by (3.5k points)  

1 Answer

0 votes

Solution:

I have finally solved this issues by following steps:

1. Download command line tools package from https://developer.android.com/studio/index.html and get version r25.2.X series 

2. Unzip folder to  tools directory.

3. Browse to  $ANDROID_HOME directory (~/Library/Android/sdk/ on OS X).

4. Rename the existing tools dir to tools.bak 

5. Move the tools directory  into the SDK folder 

by (1.4k points)  
...