Error: resource Android: attr/dialogcornerradius not found
1. Problem description
Running the Android studio program generates an error error error: resource Android: attr/dialogcornerradius not found
2. Analyze the causes
Compilesdkversion, buildtoolsversion and targetsdkversion do not match u>
Set compilesdkversion and buildtoolsversion to high version and targetsdkversion to low version u>
4. Specific operation steps
Step 1: check the version numbers of compile SDK version, build tools version and targetsdkversion
Step 2: in the project structure interface, select modules and modify the version numbers of compile SDK version and build tools version
Requirement: compile SDK version and build tools version should be higher than targetsdkversion u>
Step3: Step 2 after modifying the version number, Android studio will automatically update. After the update, run the program again to solve the error problem.
- AAPT: error: resource android:attr/colorError not found.
- 2021-07-27 Android studio:Installed build tools revision 31.0.0 is corrupted.Remove and install ag
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Andorid: Installation failed due to invalid APK file due to version mismatch
- Project error – failed to find build tools revision 26.0.1
- Failed to resolve: com.github
- Change API level Android studio
- Error:Cause: buildToolsVersion is not specified.
- [problem record] installed build tools revision 31.0.0 is broken during Android studio compilation
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- [Fixed] Error:(3) Error retrieving parent for item: No resource found that matches the given name ‘android’
- Android Error：AAPT: error: resource android:attr/colorError not found
- How to Fix Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
- Install of Android studio_ FAILED_ OLDER_ Solutions to SDK
- Solve gradle project refresh failed
- 26、Error:No resource identifier found for attribute ’roundIcon’ in package ‘android’
- Commandinvocationfailure: failed to build APK problem record
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem