Hello everyone! Im getting this error when im trying open file on VSCode
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
python session_android.py
Traceback (most recent call last):
File "/Users/aialatlasov/Projects/test_automation/7_mobile_automation_with_appium/mobile/session_android.py", line 16, in
driver = webdriver.Remote(
File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/appium/webdriver/webdriver.py", line 230, in init
super().init(
File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 272, in init
self.start_session(capabilities, browser_profile)
File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/appium/webdriver/webdriver.py", line 320, in start_session
response = self.execute(RemoteCommand.NEW_SESSION, w3c_caps)
File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute
self.error_handler.check_response(response)
File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/Users/aialatlasov/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 install /Users/aialatlasov/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk' exited with code 1'; Command output: adb: failed to install /Users/aialatlasov/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/Users/USERNAME/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 install /Users/USERNAME/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk' exited with code 1'; Command output: adb: failed to install /Users/USERNAME/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
I installed Android drivers and tools but I still getting this message. I am using Macbook Pro 13 m1
Thanks!