"cause failed to find target android-14" 问题
本文地址: http://blog.csdn.net/caroline_wendy
Android Studio 在加载OpenCV库时, 会出现报错: "cause failed to find target android-14"
修改app文件夹中的build.gradle文件即可. 把SdkVersion改为使用的SDK, 如19.
apply plugin: ‘android-library‘ android { compileSdkVersion 19 buildToolsVersion "19.0.1" defaultConfig { minSdkVersion 8 targetSdkVersion 19 } buildTypes { release { runProguard false proguardFiles getDefaultProguardFile(‘proguard-android.txt‘), ‘proguard-rules.txt‘ } } }
时间: 2024-11-17 10:32:08