Commit Graph

338 Commits (2.1)

Author SHA1 Message Date
Rémi Verschelde e6b0829d76
SCons: Ensure written files are properly flushed/closed
This broke at least the generation of AndroidManifest.xml with Python 3.13.1.
2025-01-03 12:22:48 +07:00
Rémi Verschelde 64a9c5ac65
Android: Replace deprecated distutils LooseVersion usage
(cherry picked from commit 9e9ea714ad)
2025-01-03 11:30:22 +07:00
Fredia Huya-Kouadio 11fba315ec Enable legacy external storage for Android 10
(cherry picked from commit 2e7e3dcfe4)
2020-08-18 01:11:30 +07:00
Rémi Verschelde 408667f597 Android: Target API level 29 as required by Google Play
This is required for new apps since August 3, 2020:
https://support.google.com/googleplay/android-developer/answer/113469#targetsdk
2020-08-15 12:57:08 +07:00
Rémi Verschelde b97401f304 Update copyright statements to 2020
And apply clang-format 10 to the codebase.
2020-08-13 22:58:13 +07:00
Xavier Sellier 400e273eee Fallback to the dummy audio driver if no other driver works
Fix this issue https://github.com/godotengine/godot/issues/1684
2019-12-19 10:16:01 +07:00
Rémi Verschelde 01e65c4555 Android: Fix support for android_stl=no with NDK r20
Fixes #30688.
2019-07-30 15:11:36 +07:00
J Andrew Long 860365bef1 fix detecting ndk platform
python maps are not subscriptable, so we need to use a list
2019-07-22 13:38:53 +07:00
Wojciech Milkowski 8a95782e5a No need to link with libandroid_support in NDK 17
According to https://github.com/bytedeco/javacpp/pull/244 in NDK 17
libandroid_support library is not needed any more, and on armv8 is
already gone which breaks compilation.

(cherry picked from commit 3a3ea6d514)
2019-07-21 16:18:53 +07:00
J Andrew Long 5ac248264a fix string split() call 2019-07-18 11:37:07 +07:00
Rémi Verschelde 7249992b62 Android: Target SDK 28, required by Google from Aug 2019 2019-07-08 14:01:42 +07:00
Rémi Verschelde 7562ce053a Update copyright statements to 2019 2019-06-04 11:41:49 +07:00
Pedro J. Estébanez 5f795e6261 Upgrade & fix Android build scripts 2019-03-19 21:53:54 +07:00
Rémi Verschelde e898b0a3a8 Android: Enable arm64-v8a export by default
From August 1, 2019, Google Play requires that all new apps and app updates
include 64-bit versions, so we enable ARM64 by default.

IINM support for x86 and x86_64 is still be optional, so not enabling them
out of the box.

Part of #25030.

(cherry picked from commit 9e820cdf20)
2019-01-16 14:02:54 +07:00
Rémi Verschelde b768381998 Android: Add support for x86_64 architecture
Like arm64v8, this is only supported by API 21 and later,
so we enforce 21 as min API for x86_64.

Part of #25030.

(cherry picked from commit 7f4ee36469)
2019-01-16 13:28:04 +07:00
allkhor 7bdd22312f Fixed built templates for android 2018-11-15 21:09:34 +07:00
allkhor 52c63f7cfd Don't copying libc++_shared.so when module android_stl is disabled 2018-10-26 23:53:44 +07:00
Ridwan Abdul Hafidh 6e62a1e4de add support libc++_shared on android 2018-09-17 15:13:40 +07:00
Rémi Verschelde bb13fa896e Style: Format code with clang-format 6.0.1 2018-07-18 17:56:12 +07:00
Hein-Pieter van Braam a2cdc82b78 Write new permissions to the AndroidManifest.xml
Instead of editing the placeholder permissions actually write new ones.
This should solve the privacy statement problems for the Play store.
This means we also no longer need to placeholder permissions in the
template.
2018-07-10 14:24:12 +07:00
Rémi Verschelde 2f56eb9bb8
Merge pull request #19155 from dlnsk/version_code_range
Increase versionCode range
2018-05-25 17:52:11 +07:00
Rémi Verschelde 2ea63bc581
Merge pull request #19083 from xsellier/bugfix/print-error-less-hardcore
Allow users to catch errors for android platforms and prevent exception throwing
2018-05-25 10:19:40 +07:00
Dmitry Pupinin 0f0b968d5d Increase versionCode range 2018-05-25 10:01:03 +07:00
Xavier Sellier 6fc89d0ce3 Allow users to catch errors for android platforms and prevent exception throwing 2018-05-21 11:39:40 +07:00
Xavier Sellier ac49392627 Querying sku might lead to crash if 'mService' is null 2018-05-17 14:06:50 +07:00
Rémi Verschelde 4fade6fa00 Android: Bump ndk platform to android-18 as in manifest 2018-05-16 20:19:03 +07:00
volzhs ede27690c3 Remove android compatibility under API 16 2018-05-09 05:43:53 +07:00
volzhs b21872cba7 Update min API version to 18 to match 4ad02579 2018-05-09 05:06:40 +07:00
Rémi Verschelde 326fd3503a
Merge pull request #18626 from RameshRavone/2.1
Fix: JAR files signed with the MD5 algorithm as unsigned (godot 2)
2018-05-08 15:26:02 +07:00
RameshRavone 4ad02579e6
Android: Raise min API version to 18 2018-05-08 16:18:52 +07:00
Rémi Verschelde 2f0d502919
Merge pull request #18696 from xsellier/bugfix/purchase-check-is-connected
Add a check to the PurchaseTask.purchase method to prevent NullPointe…
2018-05-08 11:17:12 +07:00
Rémi Verschelde d72c6c04f7
Merge pull request #18426 from xsellier/feature/64-bits-android
Add support for ARMv8 (64-bit) on Android
2018-05-08 10:52:30 +07:00
Xavier Sellier 9efd5de872 Add a check to the PurchaseTask.purchase method to prevent NullPointerException 2018-05-07 20:54:52 +07:00
RameshRavone 38b5679c49
Fix JAR files signed with the MD5 algorithm are not supported 2018-05-07 21:17:59 +07:00
Juan Linietsky 356c1381b5
Merge pull request #18644 from xsellier/bugfix/no-stacktract-on-android
Android - Crash log misses file name, function name, line number and details
2018-05-07 12:12:40 +07:00
Xavier Sellier d832a5bfbb Add a stacktrace when there is a script error or an error from godot engine 2018-05-05 15:18:52 +07:00
Xavier Sellier b6a2d5f508 Closing the app might lead to a crash due to an IllegalArgumentException 2018-05-04 23:11:16 +07:00
Xavier Sellier 72d81d5903 Refactor PaymentsManager according to Google's guidelines 2018-04-28 12:39:48 +07:00
Xavier Sellier 4fe2b05401 Change "env['ndk_platform']" to "ndk_platform" and add "can_vectorize = True" 2018-04-26 09:29:28 +07:00
Colin Kinloch ff3cb321da Fixed android arm64v8 2018-04-25 20:56:31 +07:00
Pedro J. Estébanez 4cb50673d7 Add support for ARMv8 (64-bit) on Android 2018-04-25 17:49:04 +07:00
Xavier Sellier 692f4250e7 Trying to create a mutex twice 2018-04-16 17:12:40 +07:00
Rémi Verschelde 1c81775f8a
Merge pull request #17999 from xsellier/bugfix-17987/input-device-management
Prevent a device to be added/deleted more than once on Android
2018-04-05 18:34:03 +07:00
Rémi Verschelde 14a5888a80
Merge pull request #17954 from xsellier/bugfix/null-pointer-exception-android-payment
Prevent NullPointerException when data is null during a Payment
2018-04-05 18:31:14 +07:00
Xavier Sellier fb5a601217 Prevent a device to be added/deleted more than once on Android 2018-04-05 10:15:57 +07:00
Xavier Sellier d87578c3cd Prevent NullPointerException when data is null during a Payment 2018-04-05 09:59:02 +07:00
Xavier Sellier 21d03317d7 Initialize sensors to default values for Android platform 2018-04-05 09:50:22 +07:00
Xavier Sellier 657bf8c1a3 Add check when pausing/unpausing audio OpenSL interface (android) 2018-04-04 14:37:41 +07:00
Xavier Sellier 4d2853fcdc Add clipboard operation for android OS 2018-04-03 13:27:00 +07:00
Xavier Sellier 7535698c8a Prevent android to split-screen
Add android:resizeableActivity='false' to the manifest.
2018-03-20 21:35:11 +07:00