Minor issue for developers only. Current main
branch as of 15 Dec. I have pulled down all changes, and completely reinstalled npm
packages, cleared caches etc. as described in README
.
Running npm run android
does not seem to properly package the application any more. The following error is shown on the command line:
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.ham2k.polo/.MainActivity }
Error type 3
Error: Activity class {com.ham2k.polo/com.ham2k.polo.MainActivity} does not exist.
The application icon does appear on the emulator’s home screen, but when starting it manually, I see the following error:
However, if I instead run npm start
followed by pressing a
, that does package/install it and allow it to start properly. No error is shown on the command line:
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.ham2k.polo/.MainActivity }
And it runs as expected,
I thought I’d raise it here first rather than jumping straight into a PR due to my lack of familiarity with the ecosystem, this is probably a 5 minute fix for someone else but a multiple hour rabbit hole for me