浏览代码

Added notes on AndroidX

Björn Ritzl 4 年之前
父节点
当前提交
00d3b8867a
共有 2 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      docs/en/manuals/android.md
  2. 二进制
      docs/en/manuals/images/android/enable_androidx.png

+ 11 - 0
docs/en/manuals/android.md

@@ -140,5 +140,16 @@ D/defold  ( 6210): DEBUG:SCRIPT: Hello there, log!
 ...
 ```
 
+
+## Using AndroidX
+AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. AndroidX packages fully replace the Support Library by providing feature parity and new libraries. Many of the Android extensions in the [Asset Portal](/assets) already support AndroidX and over time all extension which previously relied on the Android Support Library will be updated to use AndroidX. When using an extension with AndroidX support you must enabled AndroidX support for your project:
+
+1. If you already have an app manifest add `jetifier: true` to `armv7-android` and `arm64-android`.
+
+2. If you do not have an app manifest file head over to [Defold App Manifest generator](https://britzl.github.io/manifestation/) and check the Use AndroidX checkbox.
+
+![](images/android/enable_androidx.png)
+
+
 ## FAQ
 :[Android FAQ](../shared/android-faq.md)

二进制
docs/en/manuals/images/android/enable_androidx.png