0
votes

I reinstall my windows and android studio . after the installation , I change the sdk folder in android studio settings to the sdk that was before the re installation .

now , I get this error: Gradle sync failed: Failed to find target with hash string 'android-28'

I've tried everything , invalidate, restart, remove the platform for android-28 and re download it via sdk manager , removed .gradle folder and every thing I knew

this is the image from my sdk manager : enter image description here

enter image description here

could you help me ? how can I solve this problem ?

1
please check if you are behind any network proxy. - Vikash Kumar
@VikashKumar pretty sure - Navid Abutorab

1 Answers

0
votes

In the SDK Manager enable the "show package details" then select the android sdk and build tools to download. enter image description here enter image description here

Then check the build.gradle content. enter image description here