简体   繁体   中英

How can I see if my Xamarin.Forms app is working or/and runnable on Android 6 (or higher) in Visual Studio?

I'm working on an application and I am wondering what version of Android I can run my app on.

Question

Is there any way to see that in Visual Studio?

Thanks.

You can check your Minimum Android Version to see the oldest Android version that you want your app to support. This can be done by right click on Android project, then Properties, then Android Manifest:

在此处输入图像描述

To test it, you can use Xamarin Android Device Manager . You can create a virtual device with desired Android version as OS:

在此处输入图像描述

  1. Navigate to Android Project
  2. Go Inside Properties folder
  3. Open AndroidManifest.xml file
  4. You will see Android Target Version

The Target Android version is the API level of the Android device where the app expects to run.

If your target version is selected to android 6 then it means your app can be run up to android 6 or. Similarly, if you set it to android 9 then your application can run up to android 9 OS

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM