<feed xmlns='http://www.w3.org/2005/Atom'>
<title>godot.git/platform/android/build.gradle.template, branch 2.1-stable</title>
<subtitle>Godot Engine – Multi-platform 2D and 3D game engine https://godotengine.org</subtitle>
<id>https://git.neuromancer.sk/godot.git/atom/platform/android/build.gradle.template?h=2.1-stable</id>
<link rel='self' href='https://git.neuromancer.sk/godot.git/atom/platform/android/build.gradle.template?h=2.1-stable'/>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/'/>
<updated>2016-07-10T16:57:17Z</updated>
<entry>
<title>Merge pull request #5077 from RandomShaper/improve-android-build</title>
<updated>2016-07-10T16:57:17Z</updated>
<author>
<name>Juan Linietsky</name>
</author>
<published>2016-07-10T16:57:17Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=d279d060e18fba43c83c77b0f91dcf2f6bfb3fd2'/>
<id>urn:sha1:d279d060e18fba43c83c77b0f91dcf2f6bfb3fd2</id>
<content type='text'>
Improve Android build</content>
</entry>
<entry>
<title>Add android_add_default_config for config.py</title>
<updated>2016-07-06T19:03:50Z</updated>
<author>
<name>volzhs</name>
</author>
<published>2016-07-06T19:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=40d3234304535a3993b44c0a7cd55e18b14ced95'/>
<id>urn:sha1:40d3234304535a3993b44c0a7cd55e18b14ced95</id>
<content type='text'>
usage : env.android_add_default_config("applicationId 'com.godot.game'")
</content>
</entry>
<entry>
<title>Make Android build smarter (SCons + Gradle)</title>
<updated>2016-06-27T08:49:15Z</updated>
<author>
<name>Pedro J. Estébanez</name>
</author>
<published>2016-06-15T13:21:18Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=e7b2626707457fe1d6af36da3d7a1ec3863cd52f'/>
<id>urn:sha1:e7b2626707457fe1d6af36da3d7a1ec3863cd52f</id>
<content type='text'>
Upgrade Gradle and Android plugin for Gradle
Disable all signing and zip-aligning for the export templates
Give correct names to generated APKs
Put .so files built by SCons right where Gradle has to pick them according to arch &amp; build type
Downgrade NDK platform to 14 to match minSdkVersion
</content>
</entry>
<entry>
<title>Gradle: remove trailing spaces</title>
<updated>2016-06-25T11:39:03Z</updated>
<author>
<name>Rémi Verschelde</name>
</author>
<published>2016-06-25T11:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=c931ed976b5952d7f0972f4c8c4efe279db456ac'/>
<id>urn:sha1:c931ed976b5952d7f0972f4c8c4efe279db456ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comments for NotificationCompat to support API &lt; 16</title>
<updated>2016-05-25T13:19:37Z</updated>
<author>
<name>volzhs</name>
</author>
<published>2016-05-25T13:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=e5d16eca466aa50b57a127d660499591f16f2255'/>
<id>urn:sha1:e5d16eca466aa50b57a127d660499591f16f2255</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix compatibility for Android API 14 with supporting API 23</title>
<updated>2016-05-24T02:22:35Z</updated>
<author>
<name>volzhs</name>
</author>
<published>2016-05-24T02:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=ff67c256f52b904bdabe17e755194149da9b219f'/>
<id>urn:sha1:ff67c256f52b904bdabe17e755194149da9b219f</id>
<content type='text'>
using ``NotificationCompat`` in ``support-v4`` library will increase APK filesize a little bit, but it guarantees to run OK with API 4+
tested with API 19 and 23 devices
</content>
</entry>
<entry>
<title>Supporting Android API 23 (Android 6.0)</title>
<updated>2016-05-20T13:57:49Z</updated>
<author>
<name>volzhs</name>
</author>
<published>2016-05-20T13:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=160713d4d36ab4bd5f9b53d0d3e0c69d7e4960f7'/>
<id>urn:sha1:160713d4d36ab4bd5f9b53d0d3e0c69d7e4960f7</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fix maven repositories bug</title>
<updated>2016-01-09T13:21:22Z</updated>
<author>
<name>mrezai</name>
</author>
<published>2016-01-09T13:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=50cbe736def293ef7eebecc213895d07fdacf138'/>
<id>urn:sha1:50cbe736def293ef7eebecc213895d07fdacf138</id>
<content type='text'>
</content>
</entry>
<entry>
<title>removed unnecesary comma in gradle template</title>
<updated>2016-01-08T20:55:13Z</updated>
<author>
<name>Juan Linietsky</name>
</author>
<published>2016-01-08T20:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=6a29edf0487052ca6808cad72c09a6d4c5777b80'/>
<id>urn:sha1:6a29edf0487052ca6808cad72c09a6d4c5777b80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>-Removed ANT build system for Android, as it was deprecated by Google</title>
<updated>2016-01-08T16:36:44Z</updated>
<author>
<name>Juan Linietsky</name>
</author>
<published>2016-01-08T16:36:44Z</published>
<link rel='alternate' type='text/html' href='https://git.neuromancer.sk/godot.git/commit/?id=401622cc229317bd218f070dd07a3bd8db582f16'/>
<id>urn:sha1:401622cc229317bd218f070dd07a3bd8db582f16</id>
<content type='text'>
-Added new Gradle build system, as it is the required build system
</content>
</entry>
</feed>
