[cause analysis]
Unknown. Maybe it has something to do with runandroid lint. When creating a project, we set the minimum version of apilevel. For example, my version is 8. Therefore, eclipse checks the API I call and finds that the version number is not compatible with the lower version. For example, the “Notification. Builder” I use is only available at level 11 or above, which naturally exceeds 8, so it prompts an error
[solution]
Right click Project – > Androidtools-> Clearlinkmarkers. Can temporarily solve this problem, but if the simulator used for debugging is of a lower version, this error will still exist after debugging
If the user SDK in the manifest file android:minSdkVersion It’s OK to change it to the higher version that reported the error. For example:
< uses-sdk
android:minSdkVersion= “11”// this was 8 before
android:targetSdkVersion= “17”/>
[Extension]
This kind of error occurs not only in level 11, but also in other code with a minimum version set but a higher version API. The solution should be the same
Similar Posts:
- Call requires API level 4 (current min is 3) [How to Solve]
- Android Call requires API level 19 (current min is 15)
- How to Solve Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
- How to Solve Failure [INSTALL_FAILED_OLDER_SDK]
- [Solved] Failed to load D:\Android SDK\android-sdk-windows\build-tools\29.0.3\lib\dx.jar
- Attribute application@label value=(xxx) from AndroidManifest.xml:8:16-37 is also present at [com.github.adrielcafe:AndroidAudioConverter:0.0.8] AndroidManifest.xml:11:18-50 value=(@string/app_name)
- Manifest Merger failed with multiple errors in Android Studio
- Solution to the error of “may missing Internet permission” in Android
- INSTALL_FAILED_VERSION_DOWNGRADE
- Android Stdio Compile project report Error:Failed to find target with hash string ‘android-24