android stdio compile project report Error:Failed to find target with hash string ‘android-24
View existing SDKs
Set the project’s sdk to 25
android {
compileSdkVersion 25
buildToolsVersion “25.0.0”
defaultConfig {
applicationId “com.accessibility”
minSdkVersion 14
targetSdkVersion 25
versionCode 1
versionName “1.0”
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
}
}
}
After compiling everything is OK
Similar Posts:
- How to Solve Failure [INSTALL_FAILED_OLDER_SDK]
- [Solved] Execution failed for task ‘:app:mergeDebugResources’
- android unity Error: your hardware does not support this application,sorry!
- Solution of no debuggable applications after Android monitor connects devices in Android studio
- Lint found fatal errors while assembling a release target [How to Solve]
- To solve the version compatibility problem of support library: the support package has a red underline when it is introduced
- [Solved] Duplicate class com.blankj.utilcode.BuildConfig found in modules classes.jar
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- Call requires API level 4 (current min is 3) [How to Solve]
- [Solved] com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed