vhqtvn / VHEditor-Android

Run Code-server on Android
Other
976 stars 106 forks source link

```am start``` problem #279

Open badduck32 opened 10 months ago

badduck32 commented 10 months ago

When I run am start org.love2d.android/.GameActivity in Termux, it opens the app and activity I want

However, when running this same command in the "default terminal" of VHEditor, which I assume is Termux, it doesn't do anything. Doesn't open the app, but also no output/error message, just no output at all.

Is this a problem due to scoped storage restrictions? If so, why does the normal Termux app work? Can I fix this somehow?

If there are any other apps you'd like me to try to open with am start, please tell me, I'd be happy to help out testing anything.

badduck32 commented 10 months ago

Did some more research. It seems the packages that are used are from your fork of the termux-packages repository, judging from this line of code: https://github.com/vhqtvn/VHEditor-Android/blob/6243ea28c693536cb7df4427bf005d3093aafbbc/app/build.gradle#L220

So I compared termux-am from the upstream repository to your fork, but they're the exact same. Do you have any idea what's going wrong or how to fix it? I retried the exact command as I mentioned above, yet still no luck.

Thanks in advance!