APK can not install to Minimum version device

Wooha Wung 1 Reputation point
2022-09-15T09:40:56.757+00:00

I want my app suppoert from Android 7.0 to Android 9.0
So I set android version as below:
Compile Using Android Version(Target Framework): Android 11.0 (R)
Minimum Android Version: Android 7.0 (API Leverl 24)
Target Android Version: Android 9.0 (API Level 28)

See image below

241432-image.png

241396-image.png

When I install the generated apk on an android 7.0 emulator, it got an error and can not install
241357-image.png
241408-image.png

Maybe I made mistake some steps, how can I generate the correct apk?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
    2022-09-16T08:35:11.743+00:00

    Hello,

    Based on your error screenshot, Please right click your projectname.android, choose properties, select Android Options, scroll down to end and click Advanced, you can see the Supported architectures, select all of armeabi-v7a, x86, x86_64 and arm64-v8a.

    Before you generate a new APK. Please adding the android:extractNativeLibs="true" line code to the AndroidManifest.xml. Fore more details, please refer to this answer

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.