androidandroid-studioandroid-studio-import

How to modify SDK manager path?


 "Error:Cause: failed to find target with hash string 'android-19' in:
 E:\android\android_sdk"

but I have modified SDK path as "E:\android\android_sdk_19\Android\Android\sdk",which is shown in the pic below. I changed Project structure-SDK Location as "E:\android\android_sdk_19\Android\Android\sdk" too.


Solution

  • This error hints that you don't have the SDK for Android-19, so you just click Open Android SDK Manager and install "Android 4.4.2 (API 19)":

    enter image description here

    Then rebuild the project.