标签:
sourceSets {
main {
jniLibs.srcDirs = [‘libs‘]
}
}
apply plugin: ‘com.android.application‘
android {
compileSdkVersion 20
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.adwo.gamecenter.civetcoffeegamecenter"
minSdkVersion 9
targetSdkVersion 20
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile(‘proguard-android.txt‘), ‘proguard-rules.pro‘
}
}
sourceSets {
main {
jniLibs.srcDirs = [‘libs‘]
}
}
}
dependencies {
compile fileTree(dir: ‘libs‘, include: [‘*.jar‘])
compile ‘com.android.support:appcompat-v7:20.0.0‘
}
Android基础之如何在AS中导入jniLibs目录 fromcsdn
标签:
原文地址:http://www.cnblogs.com/yaya25001/p/5704351.html