Fail in launching the app in Android Emulator on Mac

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

#[Informational Post]โ€‹

#Description# In the following two scenarios APK deployment failing in Android emulator in MAC.

1. Unable to deploy the APK through Visualizer(through Run As option) in Mac.

2. Unable to deploy the APK through the terminal.

In either of the scenarios getting the below error.

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

[exec-script] Error type 3

[exec-script] Error: Activity class {com.orgname.sssss/com.orgname.sssss.sssss} does not exist.

#Root Cause#

The reason for getting the error message

<<Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]>> because CPU/ABI value of the Emulator

Example <<Pixel API 28>> CPU/ABI value is <<x86>> under AVD Manager

Please refer the screenshot <<Screenshot_1.png>>for more information.

In the <<Screenshot_1.png>> value of the CPU/ABI value is <<x86>> is for Emulator <<Pixel API 28>> so, To deploy the app without any issues

we need to do below settings

In Project settings-->Native-->Android-->Select the checkbox for <<Support X86 Devices >>

Please refer the screenshot <<Screenshot_2>> for settings

If the Emulator CPU/ABI value is "arm64" then no need to select the <<Support X86 Devices>> option in project settings

#Solution#

  1. If the Emulator CPU/ABI value is "arm64" no need to select the <<Support X86 Devices>> option in project settings and deployment will work without any issues
  2. If the Emulator CPU/ABI value <<x86>> then it required to select checkbox for <<Support X86 Devices in application properties

Thank you @Advm Mvthisโ€‹ for posting this helpful information. ๐Ÿ‘๐Ÿผ