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 --------------------------------------