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
3. Solutions
Set compilesdkversion and buildtoolsversion to high version and targetsdkversion to low version
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
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.
Read More:
- AAPT: error: resource android:attr/colorError not found.
- Android Error:AAPT: error: resource android:attr/colorError not found
- AAPT: error: resource android:attr/dialogCornerRadius not found.
- 26、Error:No resource identifier found for attribute ’roundIcon’ in package ‘android’
- [Fixed] Error:(3) Error retrieving parent for item: No resource found that matches the given name ‘android’
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Android Studio could not resolve resource
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.
- error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not
- Shrio | java.io.IOException: Resource [classpath:shiro.ini] could not be found
- Python error: resource u’tokenizers / Punkt/ english.pickle ‘ not found.
- raise LookupError(resource_not_found)
- The requested resource is not found
- (springmvc) Failed to load resource: the server responded with a status of 404 (Not Found)
- [solved] not found android.support .v7. internal.app.WindowDecorActionbar
- Resolution AAPT: error: resource drawable/ (aka xxx) not found
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- Differences between the assets directory in Android project and the purpose of resource
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Android resource compilation failed (How to Fix)