I selected API minimum level 1.5 for my android app and I'm just about to integrate gestures in to it which came in 1.6. Is there a way in Eclipse to change the minimum level from 1.5 to 1.6 halfway through building an app?
Many thanks
Step 1: Open your project in Android mode then go to Gradle Scripts > build. gradle(Module: app) as shown in the following image. Step 2: Refer to the below image and here you have to change the minSdkVersion and targetSdkVersion as per the requirement.
New apps must target Android 12 (API level 31) or higher; except for Wear OS apps, which must target Android 11 (API level 30) or higher.
Android exposes three Android API level project settings: Target Framework – Specifies which framework to use in building your application. This API level is used at compile time by Xamarin. Android.
If you go into your Manifest file and set
<uses-sdk android:minSdkVersion="3" />
to
<uses-sdk android:minSdkVersion="4" />
Then you will have changed your entire project from running 1.5 as a minimum to 1.6.
While you are still building your app, you can change the minimum API level at any time.
Using Android Studio, you would find minSdkVersion
in the build.gradle
file under app
directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With