Description
The goal here would be to make CI builds run the examples in a way that at least can catch start-up errors.
zig build -Dtarget=x86_64-linux-android
adb install ./zig-out/bin/sdl-zig-demo.apk
adb shell am instrument -r -w com.zig.sdl2/com.zig.sdl2.ZigSDLActivity
Current issue trying to run as instrumented
Performing Streamed Install
Success
onError: commandError=true message=INSTRUMENTATION_FAILED: com.zig.sdl2/com.zig.sdl2.ZigSDLActivity
android.util.AndroidException: INSTRUMENTATION_FAILED: com.zig.sdl2/com.zig.sdl2.ZigSDLActivity
at com.android.commands.am.Instrument.run(Instrument.java:524)
at com.android.commands.am.Am.runInstrument(Am.java:199)
at com.android.commands.am.Am.onRun(Am.java:80)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:62)
at com.android.commands.am.Am.main(Am.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Notes
How to check for instrumented services
adb shell pm list instrumentation
Research
Random links to assist myself or others on figuring out how to do this
Description
The goal here would be to make CI builds run the examples in a way that at least can catch start-up errors.
Current issue trying to run as instrumented
Performing Streamed Install Success onError: commandError=true message=INSTRUMENTATION_FAILED: com.zig.sdl2/com.zig.sdl2.ZigSDLActivity android.util.AndroidException: INSTRUMENTATION_FAILED: com.zig.sdl2/com.zig.sdl2.ZigSDLActivity at com.android.commands.am.Instrument.run(Instrument.java:524) at com.android.commands.am.Am.runInstrument(Am.java:199) at com.android.commands.am.Am.onRun(Am.java:80) at com.android.internal.os.BaseCommand.run(BaseCommand.java:62) at com.android.commands.am.Am.main(Am.java:50) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)Notes
How to check for instrumented services
Research
Random links to assist myself or others on figuring out how to do this
<instrumentation>element: https://developer.android.com/guide/topics/manifest/instrumentation-element