【android studio 中的build.gradle】落花踏尽游何处,笑入胡姬酒肆中。这篇文章主要讲述android studio 中的build.gradle相关的知识,希望能为你提供帮助。
apply plugin: ‘com.android.application‘android { compileSdkVersion 26 defaultConfig { applicationId "com.example.lenovo.cmakedemo" minSdkVersion 21 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { cppFlags "-std=c++14 -frtti -fexceptions" } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt‘), ‘proguard-rules.pro‘ } } externalNativeBuild { cmake { path "CMakeLists.txt" } } }dependencies { androidTestCompile(‘com.android.support:support-annotations:26.1.0‘) { force = true } implementation fileTree(dir: ‘libs‘, include: [‘*.jar‘]) implementation ‘com.android.support:appcompat-v7:26.1.0‘ implementation ‘com.android.support.constraint:constraint-layout:1.1.2‘ testImplementation ‘junit:junit:4.12‘ androidTestImplementation ‘com.android.support.test:runner:1.0.2‘ androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.2‘ }
推荐阅读
- HDU 6333:Harvest of Apples
- HDU 6311 Harvest of Apples (组合数,莫队)
- Android Studio 第八十期 - Android 仿微博加载中布局
- Android Studio 第七十九期 - Android 支付宝数字递增显示
- Android Studio 第八十一期 - Android ViewFlipper全收集
- 对于移动端 App,虚拟机注册或类似作弊行为有何应对良策()
- android设备抓log
- APICloud在线制作app软件,让app价格降下来!
- springboot~ObjectMapper~dto到entity的自动赋值