mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
160713d4d3
If we update build gradle to use ``compileSdkVersion 23``, ``org.apache.http`` package causes error. (issue #4711) We need to use ``useLibrary 'org.apache.http.legacy'`` to solve this problem. To use ``useLibrary``, we need to use latest gradle also. And now, we faced another problem with ``APK Expansion`` java sources. ``` /platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java 137 : mCurrentNotification.setLatestEventInfo(mContext, mCurrentTitle, mCurrentText, mContentIntent); // causes error ``` So, some of APK Expansion java sources are updated by referencing commits from https://github.com/danikula/Google-Play-Expansion-File And dropped V3CustomNotification.java which was for android 3.0, since godot supports android 14 (4.0) above officially. Unfortunately, another problem, The 'MissingTranslation' error was occurred. So, build.gradle is updated to use ``disable 'MissingTranslation'`` Additionally, I updated ``buildToolsVersion``, ``targetSdkVersion`` to latest version. I tested APK Expansion funtionality on Android 6.0 (Nexus 9, Nexus 6p) and Android 4.4 (Galaxy Note 2) with Google Developer console. |
||
---|---|---|
.. | ||
export | ||
globals | ||
java | ||
android_native_app_glue.c | ||
android_native_app_glue.h | ||
AndroidManifest.xml.template | ||
audio_driver_jandroid.cpp | ||
audio_driver_jandroid.h | ||
audio_driver_opensl.cpp | ||
audio_driver_opensl.h | ||
build.gradle.template | ||
cpu-features.c | ||
cpu-features.h | ||
detect.py | ||
dir_access_android.cpp | ||
dir_access_android.h | ||
dir_access_jandroid.cpp | ||
dir_access_jandroid.h | ||
file_access_android.cpp | ||
file_access_android.h | ||
file_access_jandroid.cpp | ||
file_access_jandroid.h | ||
godot_android.cpp | ||
ifaddrs_android.cpp | ||
ifaddrs_android.h | ||
java_bind.cpp | ||
java_bind.h | ||
java_class_wrapper.cpp | ||
java_class_wrapper.h | ||
java_glue.cpp | ||
java_glue.h | ||
logo.png | ||
os_android.cpp | ||
os_android.h | ||
platform_config.h | ||
SCsub | ||
sign.sh | ||
thread_jandroid.cpp | ||
thread_jandroid.h |