AAPT: error: attribute android:requestLegacyExternalStorage not found.
The SDK used in the project is 28. After updating the third-party SDK, the compiler will report an error.
Solutions:
Set compileSdkVersion to 29.
The SDK used in the project is 28. After updating the third-party SDK, the compiler will report an error.
Solutions:
Set compileSdkVersion to 29.
https://blog.csdn.net/zqurapig/article/details/109474011
https://blog.csdn.net/itTalmud/article/details/107517449
Read More:
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Android Error:AAPT: error: resource android:attr/colorError not found
- AAPT: error: resource android:attr/colorError not found.
- AAPT: error: resource android:attr/dialogCornerRadius not found.
- Android studio compile and run report: AAPT2 error: check logs for details
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Android Studio Error: Invoke-customs are only supported starting with Android O (–min-api 26)
- 26、Error:No resource identifier found for attribute ’roundIcon’ in package ‘android’
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- How to use Android android:supportsRtl attribute
- android studio:Error inflating class android.support.v4.widget.SwipeRefreshLayout
- Android Studio – add configuration for Android studio
- Android Studio could not resolve resource
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- [actual record of Android stepping on the pit] Android studio reports an error invalid gradle JDK configuration found after importing the project
- About Android studio error: (26,13) failed to resolve: com.android.support : appcompat-v7:27. + error