Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamalu committed Jan 17, 2017
1 parent bf1005e commit 5a554bf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
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

0 comments on commit 5a554bf

Please sign in to comment.