Description
Hello, trying to write a small game for android, however having issues with the GameActivity type. NativeActivity appears fine for me, however upon trying to use GameActivity, I get Error: String `` is not a PID
. This happens even in running the examples such as:
https://github.com/Dispersia/rust-android-examples/tree/main/agdk-winit-wgpu
(slightly modified to work with cargo apk run in my environment + proc_macro was broken in latest nightly)
I am using cargo apk run instead of what's in the instructions there, but I believe that does the same thing or is that wrong?
Verifying alignment of /home/dispe/development/rust-android-examples/agdk-winit-wgpu/target/debug/apk/hello.apk (4)...
49 AndroidManifest.xml (OK - compressed)
900 lib/armeabi-v7a/libagdk_winit_wgpu.so (OK)
99927512 lib/arm64-v8a/libagdk_winit_wgpu.so (OK)
Verification succesful
Signing `/home/dispe/development/rust-android-examples/agdk-winit-wgpu/target/debug/apk/hello.apk` with keystore `/home
/dispe/.android/debug.keystore`
Performing Incremental Install
Serving...
All files should be loaded. Notifying the device.
Success
Install command complete in 8784 ms
Starting: Intent { act=android.intent.action.MAIN cmp=io.test.test/android.app.NativeActivity }
Status: ok
LaunchState: UNKNOWN (0)
Activity: io.test.test/android.app.NativeActivity
WaitTime: 564
Complete
Error: String `` is not a PID
Caused by:
cannot parse integer from empty string
My environment is running off of Windows Subsystem for Android as I don't have access to an Android phone. If there is any other information I can provide let me know, I didn't know where to get logs that might explain more. Thanks!