
无法在额外的属性扩展上获取属性’compileSdkVersion’,因为它在 android studio中不存在.解决方法 转到“项目文件”视图,然后打开构建gradle.
你会发现这样的东西
// top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositorIEs { jcenter() } dependencIEs { classpath 'com.androID.tools.build:gradle:2.3.1' // NOTE: Do not place your application dependencIEs here; they belong // in the indivIDual module build.gradle files }}allprojects { repositorIEs { jcenter() }}task clean(type: Delete) { delete rootProject.buildDir} 你必须添加这个定义:
ext { compileSdkVersion = 23 buildToolsversion = "23.0.1" targetSdkVersion = 21} 总结 以上是内存溢出为你收集整理的android – 无法在额外的属性扩展上获取属性’compileSdkVersion’,因为它不存在全部内容,希望文章能够帮你解决android – 无法在额外的属性扩展上获取属性’compileSdkVersion’,因为它不存在所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)