-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Prerequisites: | ||
Install cocos2d-x according to the procedure listed at http://www.cocos2d-x.org/docs/installation/Android-terminal/ | ||
In the Android SDK: | ||
Edit sdk/tools/ant/build.xml | ||
Uncomment the below line: | ||
<!--<nocompress extension="xml" />--> | ||
and change it to | ||
<nocompress extension="webm" /> | ||
Prepare a Google Pixel C tablet with 6.0.1 Android version and unlocked boot loader | ||
|
||
cd goa | ||
cocos run -p android -m release | ||
|
||
The apk will be generated at goa/publish/TODO | ||
Step 1: In a shell on a Mac or Linux PC, in a user writeable directory, create a directory called my_userdata, with a subdirectory called app. Copy your APK(s) to the app directory | ||
|
||
Step 2: run | ||
sudo make_ext4fs -l 30720M -s -a userdata ./userdata.img my_userdata | ||
|
||
...where 10240M is the size you want your partition to be. | ||
|
||
NOTE: Do not include directories other than the "app" directory. | ||
|
||
Flash the userdata.img to the Google Pixel C by using fastboot flash userdata userdata.img |