Skip to content

Commit 5a554bf

Browse files
authored
Create README.md
1 parent bf1005e commit 5a554bf

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Prerequisites:
2+
Install cocos2d-x according to the procedure listed at http://www.cocos2d-x.org/docs/installation/Android-terminal/
3+
In the Android SDK:
4+
Edit sdk/tools/ant/build.xml
5+
Uncomment the below line:
6+
<!--<nocompress extension="xml" />-->
7+
and change it to
8+
<nocompress extension="webm" />
9+
Prepare a Google Pixel C tablet with 6.0.1 Android version and unlocked boot loader
10+
11+
cd goa
12+
cocos run -p android -m release
13+
14+
The apk will be generated at goa/publish/TODO
15+
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
16+
17+
Step 2: run
18+
sudo make_ext4fs -l 30720M -s -a userdata ./userdata.img my_userdata
19+
20+
...where 10240M is the size you want your partition to be.
21+
22+
NOTE: Do not include directories other than the "app" directory.
23+
24+
Flash the userdata.img to the Google Pixel C by using fastboot flash userdata userdata.img

0 commit comments

Comments
 (0)