Android and androidsdk
"Cause failed to find target android-14"
Address: http://blog.csdn.net/caroline_wendy
When Android Studio loads the OpenCV library, an error occurs:"Cause failed to find target android-14"
ModifyApp folderInBuild. gradleFile.SdkVersionTo use the SDK, such as 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' } }}
Android: id
Android: id = "@ + id/layout01": The layout01 variable is defined and is automatically written into R. java, in R. the internal class id is generated in the java file, which can be called in the main program. id. layout01 to obtain the layout variable entity.
Android: orientation = "vertical": the vertical layout. Horizontal for horizontal layout
Android: id
Android: id = "@ + id/layout01": The layout01 variable is defined and is automatically written into R. java, in R. the internal class id is generated in the java file, which can be called in the main program. id. layout01 to obtain the layout variable entity.
Android: orientation = "vertical": the vertical layout. Horizontal for horizontal layout