It seemed like RNR object sharing across threads was interacting with mobx in wierd ways. So far I haven't been able to recreate it.
You must have the Java 11, the Android SDK, and Android Studio, installed.
Instructions are here. Follow the React Native CLI path for the Android target on your platform (not Expo)
Android Studio is mostly needed to create an emulator profile and run the emulator.
(On Linux, the SDK seems to want to go in my home dir, and that's fine. I put Android Studio in /opt
which works fine, but you have to manually create an app launcher )
then, any of
runs tsc
deletes node_modules
(requires a yarn install
after)
runs tsc
, then runs metro server in emulator in dev mode.
press 'a' right after to load android (ios has not been supported / checked)
Subsequently press 'r' to reload after changes (if hmr doesn't work)
runs tsc
, then generates and installs a release mode bundle onto the emulator