android: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

Android framework version

net9.0-android

Affected platform version

.NET 9

Description

I’m trying to build MAUI app with net9.0, but sometimes it builds only arm64 version (I have x86_64 AVD running): Image

I have tried to pass the -p:AndroidSupportedAbis=x86_64 property, but it doesn’t work.

msbuild.binlog.zip

Steps to Reproduce

Random (I can’t understand what was a reason of it)

Did you find any workaround?

Pass -p:RuntimeIdentifier=android-x64

Relevant log output

adb: failed to install C:\...\maui-Signed.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

If you are building a Release build , fast deployment is turned off so this will not happen.