Quellcode durchsuchen

Added notes on AndroidX

Björn Ritzl vor 4 Jahren
Ursprung
Commit
00d3b8867a
2 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11 0
      docs/en/manuals/android.md
  2. BIN
      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)

BIN
docs/en/manuals/images/android/enable_androidx.png