README.TXT 1.1 KB

12345678910111213141516171819202122232425262728
  1. ***** Mostly functional android support for monkey2 *****
  2. Note: Only armeabi-v7a supported right now.
  3. Setting up for Android development:
  4. 1) Install android studio and make sure it works, ie: you can build and run one of the simple template projects on a device or emulator.
  5. 2) Install the 'NDK' (native development kit) using android studio via 'SDK Manager->SDK Tools'.
  6. 3) Edit your monkey2 bin/env_windows.txt file and change the ndk-bundle 'PATH' setting so it points to the NDK. Or, you can just add the
  7. ndk-bundle dir to your system PATH.
  8. 4) Fire up Ted2 and select 'Build->Rebuild Modules->Android'. Wait...
  9. Building an Android app:
  10. 1) Build your app in Ted2 using 'Build->Build Only' with 'Build Target->Android' selected. Either debug or release should work.
  11. 2) Open the generated Android Studio project (at myapp.products/Android) and attempt to run it!
  12. Note: I recommend *disabling* the following android studio setting for mx2 dev:
  13. File->Settings->Build, Execution, Deployment->Instant Run->Enable Instant Run
  14. With this enabled, android studio doesn't seem to notice when external project files change.