Error of SDK 25 on android

1

I'm trying to start my project in android studio, previously it worked fine, but I had to clean my computer, I installed android again and when I started it, I got the following error:

  

Error: Failed to find target with hash string 'android-25' in:   C: \ Users \ Cesar \ AppData \ Local \ Android \ Sdk Possible cause: Build   properties not found for package Android SDK Platform 25 Install missing platform (s) and sync   project

I really do not know what he meant by that error, since he never appeared to me

    
asked by Cesar Gutierrez Davalos 30.07.2017 в 20:25
source

1 answer

0

This error,

  

Error: Failed to find target with hash string 'android-25' in:    C:\<ruta sdk> Possible cause: Build properties not found for package   Android SDK Platform 25 Install missing platform (s) and sync project

is caused because SDK 25 is not installed, and is probably specified either in AndroidManifest.xml or file build.gradle .

Install from the SDK manager, check also the messages in the console because regularly if this problem is detected, a link for the installation is added.

Do not forget to synchronize the project with the gradle files again.

Regarding the error:

  

compile Error:(31, 13) Failed to resolve: com.android.support:design:25.3.1

You have defined this dependency in your build.gradle and you need to install it.

    
answered by 31.07.2017 в 03:23