[SOLUTION] Error: Resource Android:attr/dialogcornerradius Not Found. - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › [SOLUTION] Error: Resource Android:attr/dialogcornerradius Not Found. (787 Views)
1 Reply
| [SOLUTION] Error: Resource Android:attr/dialogcornerradius Not Found. by FincoApps(op): 1:59am On Aug 28, 2019 |
This error is actually more annoying than common. One of the major reasons it is so annoying is because of the fact that it does not actually point to the exact line or file that caused the error. It leaves it up to you to figure it out. Cause We still have not been able to point out what exactly triggers this error but it seems to have something to do with a mismatch in your Gradle dependencies. Solution There are different ways to fix this issue. Not all of them will work for you. Check your build.gradle file to make sure your compileSdkVersion matches the version of your support libraries. compileSdkVersion 27 implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support:design:26.1.0' 123 compileSdkVersion 27 implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support:design:26.1.0' The above code will possibly throw this error because the support library version does not match the compileSdkVersion. So to fix this, upgrade your support library version. Migrate your entire project to AndroidX. To migrate your project, follow these instructions: Click on the Refractor menu item in Android Studio Click on “Migrate to AndroidX”. Follow screen instructions The second solution could be problematic in large and complex projects. You might be required to manually migrate some of your libraries. However, this solution is guaranteed to solve this error as long as the migration ... Read more at https://fincoapps.com/error-resource-androidattr-dialogcornerradius-not-found/ |
My Website Is Showing "404 Error" • Webmasters!! Help!! Forbidden You Don't Have Permission To Access This Resource. • [SOLUTION] Error: Resource Android:attr/dialogcornerradius Not Found. • 2 • 3 • 4
What Blogger Template Do You Recommend For My New Blog • Webmasters, Please Help A Brother... • How To Start A Blog In 2019: Free Blogging Guide For Beginners