首页 > 移动平台 > 详细

android stdio 编译项目报Error:Failed to find target with hash string 'android-24

时间:2018-12-10 10:45:25      阅读:594      评论:0      收藏:0      [点我收藏+]

android stdio 编译项目报Error:Failed to find target with hash string ‘android-24

 

  • 查看已有的SDK

 技术分享图片

 

 

  • 设置项目的sdk为 25

 

android {

compileSdkVersion 25

buildToolsVersion "25.0.0"

defaultConfig {

applicationId "com.accessibility"

minSdkVersion 14

targetSdkVersion 25

versionCode 1

versionName "1.0"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile(‘proguard-android.txt‘), ‘proguard-rules.pro‘

}

}

}

 

编译之后一切OK

 

android stdio 编译项目报Error:Failed to find target with hash string 'android-24

原文:https://www.cnblogs.com/hbb0b0/p/10094712.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!