Changing API level Android Studio

前端 未结 14 1684
星月不相逢
星月不相逢 2020-11-22 09:01

I want to change the minimum SDK version in Android Studio from API 12 to API 14. I have tried changing it in the manifest file, i.e.,



        
14条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 09:27

    For me what worked was: (right click)project->android tools->clear lint markers. Although for some reason the Manifest reverted to the old (lower) minimum API level, but after I changed it back to the new (higher) API level there was no red error underline and the project now uses the new minimum API level.

    Edit: Sorry, I see you were using Android Studio, not Eclipse. But I guess there is a similar 'clear lint markers' in Studio somewhere and it might solve the problem.

提交回复
热议问题