readme.Android 862 B

123456789101112131415161718192021222324
  1. 1. read readme.SDL2
  2. 2. Example 'Demo' has configured android project
  3. how to build. Steps:
  4. - make sure that you have android-12 SDK, NDK apache-ant installed and all ENVIRONMENT variables configured properly
  5. - goto oxygine-framework/examples/demo/proj.android and oxygine-framework/oxygine/SDL/android/lib
  6. - open local.properties and fix path to android sdk
  7. - check that you have Android-12 sdk installed or change it in project.properties to your version
  8. - copy latest source code
  9. from SDL/android-project/src/
  10. to oxygine-framework/oxygine/SDL/android/lib/src/
  11. - copy all assets (files and folders) from assets from oxygine's Demo example:
  12. from oxygine-framework\examples\Demo\data\
  13. to oxygine-framework\examples\Demo\proj.android\assets\
  14. - application is ready to build
  15. try to build it using these shell commands:
  16. ndk-build
  17. ant debug
  18. apk is ready!