From f26c346e7e1d2712af143bfb27384b3998cd329c Mon Sep 17 00:00:00 2001 From: "mizuki.sonoko" Date: Thu, 18 Jun 2015 17:51:19 +0900 Subject: [PATCH] Fix Android_Build.md --- Doc/Android_Build.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Doc/Android_Build.md b/Doc/Android_Build.md index 9f5613c..22e0d0f 100644 --- a/Doc/Android_Build.md +++ b/Doc/Android_Build.md @@ -191,6 +191,8 @@ Launch terminal : > ./build.py --rebuild --project SampleProject ``` +(note: Maybe project name is 'SampleProject' only) + ## For Ubuntu: Launch terminal : @@ -201,6 +203,8 @@ Launch terminal : > ./build.py --rebuild --project SampleProject ``` +(note: Maybe project name is 'SampleProject' only) + 3. Build package assets ------------------------ (Target assets should be compiled prior to packaging. Please refer Tools document for how) @@ -217,9 +221,9 @@ Launch terminal : > cd [PATH TO PROJECT BASE]/Tutorial/01.SimpleItem/.publish/android/ > zip -r -0 [PATH TO PROJECT BASE]/Engine/porting/Android/GameEngine-android/assets/AppAssets.zip ./* > echo -n "1" > [PATH TO PROJECT BASE]/Engine/porting/Android/GameEngine-android/assets/version ./* +> md5 AppAssets.zip | cut -d " " -f 4 > [PATH TO PROJECT BASE]/Engine/porting/Android/GameEngine-android/assets/version ./* ``` -(note: you need to increment "1" by one every new build. i.e. "2" next time) ### For Ubuntu: Launch terminal : @@ -227,10 +231,9 @@ Launch terminal : ``` > cd /media/sf_Playground/Tutorial/01.SimpleItem/.publish/android/ > zip -r -0 /media/sf_Playground/Engine/porting/Android/GameEngine-android/assets/AppAssets.zip ./* -> echo -n "1" > [PATH TO PROJECT BASE]/Engine/porting/Android/GameEngine-android/assets/version ./* +> md5sum AppAssets.zip | cut -d " " -f 1 > [PATH TO PROJECT BASE]/Engine/porting/Android/GameEngine-android/assets/version ./* ``` -(note: you need to increment "1" by one every new build. i.e. "2" next time) 4. Import Engine project into your ADT --------------------------------------