Test Android issue [INSTALL_FAILED_NO_MATCHING_ABIS]

benabhi

  • Posts: 1
Hello devs i need some help to test my game in android device. I try everithing but i still cant get it to work. The compilation process seems to be fine, but when stencyl try to push to android with adb have an issue.

"INSTALL_FAILED_NO_MATCHING_ABIS"

When i try to install manually with adb, (the apk generated at  app/outputs/apk/debug/{mygame}-debug) have the same error:
Code: [Select]
adb: failed to install D:\android-sdk\Stencyl Android Builds\gof\app\outputs\apk\debug\gof-debug.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

Note: The path "D:\android-sdk\Stencyl Android Build" is a custom path that i customize in the settings of stencyl for the output  of compilation.

(also try with --abi x86_64 parameter)

Please any help is welcome.  :)

(Sry for my english.)

My compilation tools (i try all from version 26 to 29):

- jdk1.8.0_251

- Android NDK r15c (64bits)
- Android SDK Platform 28
- Android SDK Build-Tools 28.0.3

My SO is Windows 10. And stencyl version 4.0.2

Code: [Select]
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858325006510   stencyl.sw.util.StreamGobbler   [adb.exe] --------- beginning of system
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858325006509   stencyl.sw.util.StreamGobbler   [adb.exe] --------- beginning of main
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858262006506   stencyl.sw.util.StreamGobbler   [adb.exe] Error: Activity class {com.belogic.galaxyonfire/com.belogic.galaxyonfire.MainActivity} does not exist.
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858262006505   stencyl.sw.util.StreamGobbler   [adb.exe] Error type 3
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858261006504   stencyl.sw.util.StreamGobbler   [adb.exe] Starting: Intent { act=android.intent.action.MAIN cmp=com.belogic.galaxyonfire/.MainActivity }
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858201006501   stencyl.sw.util.StreamGobbler   [adb.exe] Performing Streamed Install
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706858200006500   stencyl.sw.util.StreamGobbler   [adb.exe] adb: failed to install D:\android-sdk\Stencyl Android Builds\gof\app\outputs\apk\debug\gof-debug.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857860006497   stencyl.sw.util.StreamGobbler   [adb.exe]    at android.os.ShellCommand.ePerforming Streamed Install
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857859006496   stencyl.sw.util.StreamGobbler   [adb.exe]    at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857859006495   stencyl.sw.util.StreamGobbler   [adb.exe]    at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1057)
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857859006494   stencyl.sw.util.StreamGobbler   [adb.exe]    at com.android.server.pm.PackageManagerShellCommand.makeInstallParams(PackageManagerShellCommand.java:2383)
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857859006493   stencyl.sw.util.StreamGobbler   [adb.exe]    at android.os.ShellCommand.getNextOption(ShellCommand.java:266)
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857859006492   stencyl.sw.util.StreamGobbler   [adb.exe] java.lang.IllegalArgumentException: No argument expected after "-rd"
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857859006491   stencyl.sw.util.StreamGobbler   [adb.exe] Exception occurred while executing:
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857858006490   stencyl.sw.util.StreamGobbler   [adb.exe] adb: failed to install D:\android-sdk\Stencyl Android Builds\gof\app\outputs\apk\debug\gof-debug.apk:
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857672006487   stencyl.sw.util.StreamGobbler   [adb.exe] 29
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857628006484   stencyl.sw.util.StreamGobbler   [adb.exe] emulator-5554   device
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857628006483   stencyl.sw.util.StreamGobbler   [adb.exe] List of devices attached
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857593006480   stencyl.sw.util.StreamGobbler   [adb.exe] Installed as C:\Users\benabhi\AppData\Roaming\Stencyl\stencylworks\android-sdk\android-sdk-windows\platform-tools\adb.exe
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857593006479   stencyl.sw.util.StreamGobbler   [adb.exe] Version 30.0.3-6597393
jar:file:/C:/Programas/Stencyl/sw.jar!/res/logview4j/images/info.gif   false   INFO   1594706857593006478   stencyl.sw.util.StreamGobbler   [adb.exe] Android Debug Bridge version 1.0.41

« Last Edit: July 13, 2020, 11:37:11 pm by benabhi »

Justin

  • *
  • Posts: 4645
It looks like the only device Stencyl is detecting is an android emulator, not a physical device. Emulators use x86_64 architecture, but we only build (iirc) armv7 by default. You may need to modify the settings on your android device, or install a driver on Windows in order for adb to be able to recognize and communicate with your physical android device.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4645
Code: [Select]
Running command: [C:\Users\benabhi\AppData\Roaming\Stencyl\stencylworks\android-sdk\android-sdk-windows\platform-tools\adb.exe, devices]
[adb.exe] List of devices attached
[adb.exe] emulator-5554 device

If you can run "adb.exe devices" yourself and get it to list your physical device in addition to the emulator, then you should be able to test from Stencyl.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

yoplalala

  • *
  • Posts: 1632
Try closing the emulator before compiling on Stencyl