Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Doc/Android_Build.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ Launch terminal :
> ./build.py --rebuild --project SampleProject
```

(note: Maybe project name is 'SampleProject' only)

## For Ubuntu:

Launch terminal :
Expand All @@ -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)
Expand All @@ -217,20 +221,19 @@ 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 :

```
> 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
--------------------------------------
Expand Down