Error:Failed to find target with hash string 'android-15' 解决办法
2017-12-21 16:07
567 查看
Error:Failed to find target with hash string 'android-15' in: D:\AS\sdk
<a href="install.android.platform">Install missing platform(s) and sync project</a>
如果出现上面的错误,有两个解决办法:
1.点击错误的链接,自动进行更新
2.查看现有的SDK版本,把builde.gradle里面的版本改为现有的SDK版本,如没有android-15,则改为现有的27,如下:
改为:
<a href="install.android.platform">Install missing platform(s) and sync project</a>
如果出现上面的错误,有两个解决办法:
1.点击错误的链接,自动进行更新
2.查看现有的SDK版本,把builde.gradle里面的版本改为现有的SDK版本,如没有android-15,则改为现有的27,如下:
android { compileSdkVersion 15 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.mad.trafficclient" minSdkVersion 15 targetSdkVersion 15 }
改为:
android { compileSdkVersion 27 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.mad.trafficclient" minSdkVersion 27 targetSdkVersion 27 }
相关文章推荐
- Error:Cause: failed to find target with hash string 'android-15'
- Error:Failed to find target with hash string 'android-25' in: E:\androidstudio\androidstudio\sdk
- Error:Cause: failed to find target with hash string 'N' in: F:\Androidstudio\android-sdk-windows <a
- Android Studio 导入项目 出现安装Error:Cause: failed to find target with hash string 'android-23' 等错误
- Android Error:Failed to find target with hash string 'Google Inc.:Google APIs:23' 解决方案
- Android Studio 导入项目 出现安装Error:Cause: failed to find target with hash string 'android-23' 等错误
- failed to find target with hash string android
- 关于Error:Failed to find target with hash string 'Google Inc.:Google APIs:23' 的解决方案
- failed to find target with hash string 'android-17'(其他常见错误)
- Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.的解决办法(转载)
- failed to find target with hash string 'android-22'导入adt工程,编译时遇到这个报错。
- AS报错:failed to find target with hash string 'Google Inc.:Google APIs:21'的报错解决方法
- 1.failed to find target with hash string 'android - 20' 2. Gradle DSL method not found: 'android()'
- failed to find target with hash string 'android-XX'
- android studio Cause:failed to find target with hash string 'android - 17' in...
- failed to find target with hash string 'android-23'
- Android failed to find target with hash string 'android-23'
- Conversion to Dalvik format failed with error 1 Type Unable to resolve target 'android-7'的解决办法
- failed to find target with hash string 'android-17'(其他常见错误)