From 3d52b2f9e2d3c9ce346d3e283886bb7ab4747e8c Mon Sep 17 00:00:00 2001 From: jintao Date: Sat, 21 Mar 2020 09:45:09 +0800 Subject: [PATCH] update README.md --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67eb3a7..d46a29d 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Be sure you have at least one scene added to your build. 3. Mark the following `Target Architectures` : - ARMv7 ✅ - ARM64 ✅ - - x86 ✅ + - x86 ✅ (In Unity Version 2019.2+, this feature is not avaliable due to the lack of Unity Official Support) @@ -119,6 +119,35 @@ project(":UnityExport").projectDir = file("./UnityExport") implementation project(':unity-classes') // the unity classes module you added from step 1 } ``` + 4. To build a release package, you need to add signconfig in `UnityExport/build.gradle`. The code below use the `debug` signConfig for all buildTypes, which can be changed as you well if you need specify signConfig. +``` + buildTypes { + release { + signingConfig signingConfigs.debug + } + debug { + signingConfig signingConfigs.debug + } + profile{ + signingConfig signingConfigs.debug + } + innerTest { + //... + matchingFallbacks = ['debug', 'release'] + } + } +``` + 5. If you found the duplicate app icons on your launcher after installing the app, you can just open `UnityExport` Manifest file and comment the codes below +```gradle + +// +// +// +// +// + + +``` **iOS Platform Only**