在Android Studio 2.0中使用'com.android.tools.build:gradle-experimental:0.6.0-alpha6'時出現問題預覽5.在Android Studio 2.0中的Android NDK預覽5 with gradle-experimental:0.6.0-alpha6
這裏是我的簡單的項目(只是世界您好): [https://github.com/nthtrung09it/HelloGradleExperimental][1]
我的build.gradle文件:
apply plugin: 'com.android.model.application'
model {
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
ndk {
moduleName "NdkLib"
}
defaultConfig {
applicationId "nthtrung09it.android.hello.experimental"
minSdkVersion.apiLevel 15
targetSdkVersion.apiLevel 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles.add(file("proguard-rules.pro"))
}
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.+'
compile 'com.android.support:design:23.+'
}
這裏是問題:
Error:A problem was found with the configuration of task ':app:stripSymbolsArmeabi-v7aDebugArmSharedLibrary'. Directory 'E:\xxxx\HelloGradleExperimental-master\app\build\intermediates\binaries\debug\arm\obj\armeabi-v7a' specified for property 'inputFolder' does not exist.
二進制文件文件夾不存在。 我的錯誤在哪裏?謝謝。
您正在使用2個測試版插件,你應該預料的錯誤/錯誤。 –
@JaredBurrows:correction:* alpha * –
我相信你在Android Studio的bug跟蹤器中發現了這個問題,但是我發佈了一個解決方法,你可能會發現它有幫助:https://code.google.com/p/android/問題/細節?id = 199057 –