From 934f23b0399dad346b51d9fa661f9d3b0519c145 Mon Sep 17 00:00:00 2001 From: chenzhipei Date: Tue, 14 Mar 2017 09:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c02d13..8cf5988 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,14 @@ # CrosswalkDemo A simple project showing how to embed Crosswalk into an Android application. -You can run the project in Android Studio or create an APK with the following command: +1、首先确认本机已安装Android sdk + +2、在项目根目录下创建local.properties文件,在文件中输入sdk的路径,例如: +``` +sdk.dir = /Users/chenzhipei/Library/Android/sdk/ +``` + +3、通过以下命令打包成apk: `./gradlew assembleRelease` @@ -9,4 +16,4 @@ or `./gradlew assembleDebug -More details here: [https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/](https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/) \ No newline at end of file +More details here: [https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/](https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/)