When downloading Android code from the Internet or importing some code, there may be something like ”
Description Resource Path Location Type
Call requires API level 4 (current min is 3): android.widget.ImageButton#setContentDescription ActionBarHelperBase.java /ActionBarCompat/src/com/example/android/actionbarcompat line 192 Android Lint Problem ”的errors。
The reason for the error is that the android:minSdkVersion in uses-sdk is specified wrongly in AndroidManifest.xml, change the minSdkVersion according to the error prompt.
As in this example.
<uses-sdk android:minSdkVersion=”4″ android:targetSdkVersion=”14″ />
Similar Posts:
- Android Call requires API level 11 [How to Solve]
- Lint found fatal errors while assembling a release target [How to Solve]
- 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, see logs” [How to Solve]
- Android Call requires API level 19 (current min is 15)
- How to Solve Failure [INSTALL_FAILED_OLDER_SDK]
- How to Remove Error: “Permission is only granted to system apps”
- SDK manager cannot open the solution (Android)
- [Solved] com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- How to Solve Android Error: java.lang.SecurityException: Permission Denial