I’m using latest Haxe, Lime, OpenFL and HaxeFlixel to experiment with a small game. I’ve finally gotten android compilation to work by:
- Installing Android SDK 19 + platform-tools
- Installing jdk8
- Installing an old NDK without using Android SDK manager, version r13b
It’s a bit of a challenge to get things to work currently. Only got there by trial and error, installing specific older versions, and following different (sometimes outdated) advice. I think that currently at least the HaxeFlixel Android install instructions are outdated, but I’ll take that up with them.
OK, my question is: When I connect my test device and compile for Android:
openfl test android
I get this:
BUILD SUCCESSFUL Total time: 13.978 secs error: more than one device/emulator error: more than one device/emulator Performing Streamed Install adb: connect error for write: more than one device/emulator
How can I direct haxe/openfl/lime to send the apk to a physical, USB-connected device, and ignore the emulator? I know I can specify “-emulator”, but what about the other way around?
I’ve succesfully tested on this device with Android Studio, and would prefer to keep one or more emulators installed.