Use the LOGCAT app to trace APK error messages when they run as they return error messages.
I had a crash app error, for using commands that do not exist in the APK version
but in the version AppGameKit Player App if they work.
Notice that the generated APK corresponds to a PREVIOUS compiled version of APK.
Are you using new AppGameKit commands?
AppGameKit Version 2019.12.16
"* Added GetRendererName to return "OpenGL" on desktop platforms and "OpenGLES" on mobile platforms
* Added GetNetworkClientIP to return the IP address of a network client
* Added GetNetworkServerIP to return the IP address of the server"
Notice that the APK is not the current verison AppGameKit, by MP to Paul:
"Hi,
I want to report and help, a BUG CRASH when running the Android app, generated APK.
I have tried other projects and if they work they run.
I use the latest version AGKclassic Windows.
With this it sends to Crash, I put the logcat of the returned error:
native-activity:
Bytecode contains unknown instructions, please update the AppGameKit Player
native-activity:
Unrecognised instruction: 0 in main.agc at line 0
InputDispatcher:
channel 'fd4ae46 com.alicesim1.cyberhotel/com.thegamecreators.agk_player.AGKActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
Thanks, I don't know what problem my game has, which causes this strange error."
The GetRawKey and GetRawJoystick commands are fully functional on Android, since it is possible to use physical keyboards and mice by USB-OTG it really works!
And it is not a problem for S.O. Android
Strongly use the LOGCAT app, Also try other different Android devices to discard