android开发分享As中sdk版本问题

打开下图文件apply plugin: ‘com.android.application’android {//对应的是 File–>Project –>Properties 选择对应的Android版本d的API compileSdkVersion 25//对应 SDK 目录 …AndroidSdkbuild-tools buildToolsVersion “25.0.3” defaultConfig { applicat

打开下图文件

As中sdk版本问题

 apply plugin: 'com.android.application'  android { //对应的是 File-->Project -->Properties  选择对应的Android版本d的API     compileSdkVersion 25 //对应 SDK 目录 ...AndroidSdkbuild-tools     buildToolsVersion "25.0.3"     defaultConfig {         applicationId "com.example.administrator.myapplication"         minSdkVersion 15 //对应的是 File-->Project -->Properties  选择对应的Android版本d的API         targetSdkVersion 25         versionCode 1         versionName "1.0"         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"     }     buildTypes {         release {             minifyEnabled false             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile fileTree(dir: 'libs', include: ['*.jar'])     androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {         exclude group: 'com.android.support', module: 'support-annotations'     }) //版本对应目录...AdministratorAndroidSdkextrasandroidm2repositorycomandroidsupportappcompat-v7     compile 'com.android.support:appcompat-v7:25.3.1'     compile 'com.android.support.constraint:constraint-layout:1.0.2'     testCompile 'junit:junit:4.12' } 

 

本文来自网络收集,不代表计算机技术网立场,如涉及侵权请联系管理员删除。

ctvol管理联系方式QQ:251552304

本文章地址:https://www.ctvol.com/addevelopment/895160.html

(0)
上一篇 2021年10月21日
下一篇 2021年10月21日

精彩推荐