During Android application development, the configuration file states the supported Android system scope:
minSdkVersion 15
targetSdkVersion 27However, a class (Android. Util. Arraymap) that needs to be used in the code must be in the version number & gt= 19, can be called
At this time, an error will appear in the compilation, which is about “the arraymap class supports a version number above 19, but the configuration information states that the minimum version is 15.”
Solution:
1. The minimum revision is 19
(I believe that this scheme is not generally adopted – we set the minimum version to 15 in order to support more versions.)
2. Common solutions:
Right click Project – > Android Tools——> Clear Link Markers
Similar Posts:
- Windows Android studio generates Javadoc
- Problem solving SDK platform tools component is missing
- Solve the problem of low version of Android SDK build tools
- Android Call requires API level 11 [How to Solve]
- [Solved] Android Studio Conflict with dependency ‘com.android.support:support-annotations’
- [Solved] Failed to load D:\Android SDK\android-sdk-windows\build-tools\29.0.3\lib\dx.jar
- AndroidStudio Error:Failed to resolve: com.android.support:appcompat-v7:29
- Android Studio compilation: Program type already present: XXX solution
- [Solved] Error:(25, 13) Failed to resolve: com.google.firebase:firebase-core:9.0.2
- [Solved] Android Studio Compile error: Android resource linking failed