From c74037ff33442377f2fd6419b58462897e82d7a3 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Sep 2020 17:35:13 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 9b1617d..17d7eb0 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,17 @@ defaultConfig { ] } ``` +- 配置JCore-react-native +* /android/setting.gradle中添加 +``` +include ':jcore-react-native' +project(':jcore-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jcore-react-native/android') +``` +* /android/app/build.gradle中添加 +``` +compile project(':jcore-react-native') +``` +* 非常重要Clean Project 在 MainApplication 中加上 JMessagePackage 即可,JMessagePackage 有一个参数,设置是否弹出 toast。 ``` From 22d2f3d09781a0ed1f8effa27e04a40b7d83dd0b Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Sep 2020 17:37:48 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 17d7eb0..b4dd44c 100644 --- a/README.md +++ b/README.md @@ -103,16 +103,16 @@ defaultConfig { } ``` - 配置JCore-react-native -* /android/setting.gradle中添加 +1) /android/setting.gradle中添加 ``` include ':jcore-react-native' project(':jcore-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jcore-react-native/android') ``` -* /android/app/build.gradle中添加 +2)/android/app/build.gradle中添加 ``` compile project(':jcore-react-native') ``` -* 非常重要Clean Project +3) 非常重要Clean Project 在 MainApplication 中加上 JMessagePackage 即可,JMessagePackage 有一个参数,设置是否弹出 toast。 ``` From bf0a8afff223e864f80e5cff8f084ace61ede083 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Sep 2020 17:38:37 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b4dd44c..1874ea2 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ defaultConfig { } ``` - 配置JCore-react-native + 1) /android/setting.gradle中添加 ``` include ':jcore-react-native'