godot/platform/android
fhuya ef143447ad Updates the Godot gradle tasks to enable manual runs of the scons command.
Example: To generate for the `release` build target and for the `armv7`, `arm64v8` and `x86` architectures, run the commands:
```
cd godot
scons -j4 platform=android target=release android_arch=armv7
scons -j4 platform=android target=release android_arch=arm64v8
scons -j4 platform=android target=release android_arch=x86
cd platform/android/java
./gradlew generateGodotTemplates
```

Notes:
- The generated build templates will be located in the `godot/bin` directory (i.e: `android_debug.apk`, `android_release.apk`, `android_source.zip`).
- The gradle command will only generate templates for the target(s) with available native shared libraries. For example, running the commands above will only generate the `android_release.apk` and `android_source.zip` files.

To delete the generated artifacts, the following commands can be used:
```
cd platform/android/java
./gradlew cleanGodotTemplates
```
2019-09-24 06:18:21 -07:00
..
export Distinguish editor-originating messages in the editor log 2019-09-20 01:59:02 +02:00
java Updates the Godot gradle tasks to enable manual runs of the scons command. 2019-09-24 06:18:21 -07:00
audio_driver_jandroid.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_driver_jandroid.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
audio_driver_opensl.cpp Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories. 2019-08-09 11:13:24 +02:00
audio_driver_opensl.h Request Android record permission when needed 2019-03-08 12:38:36 -03:00
detect.py Android: Style fixes to manifest and build.gradle 2019-08-27 11:16:55 +02:00
dir_access_jandroid.cpp Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
dir_access_jandroid.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
file_access_android.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
file_access_android.h Add FileAccess::set_unix_permissions for Unix platforms 2019-04-07 15:45:30 -03:00
file_access_jandroid.cpp Fixes minor issues found by static analyzer 2019-07-07 23:08:51 +02:00
file_access_jandroid.h Add FileAccess::set_unix_permissions for Unix platforms 2019-04-07 15:45:30 -03:00
java_class_wrapper.cpp Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
java_class_wrapper.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
java_godot_io_wrapper.cpp Change "ID" to lowercase "id" 2019-05-09 06:25:32 -04:00
java_godot_io_wrapper.h Change "ID" to lowercase "id" 2019-05-09 06:25:32 -04:00
java_godot_lib_jni.cpp Add new events and accompanying logic to notify when the app is paused and resumed on Android devices. 2019-09-19 13:29:49 -07:00
java_godot_lib_jni.h Add new events and accompanying logic to notify when the app is paused and resumed on Android devices. 2019-09-19 13:29:49 -07:00
java_godot_wrapper.cpp Update the fallback input mapping for the Oculus mobile devices. 2019-08-26 18:48:54 -07:00
java_godot_wrapper.h Update the fallback input mapping for the Oculus mobile devices. 2019-08-26 18:48:54 -07:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_android.cpp Update the fallback input mapping for the Oculus mobile devices. 2019-08-26 18:48:54 -07:00
os_android.h Support vibration for Android and iOS 2019-08-21 23:38:53 +09:00
platform_config.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
power_android.cpp Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
power_android.h Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Split the Android platform java logic into an Android library module (lib) and an application module (app). 2019-09-04 16:20:22 -07:00
string_android.h Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
thread_jandroid.cpp Improve custom thread numbering for POSIX 2019-01-25 00:59:07 +01:00
thread_jandroid.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00