From 5a554bf00a66a5aa45298f9bae2931b7aa4709a5 Mon Sep 17 00:00:00 2001 From: shyamalu Date: Tue, 17 Jan 2017 21:36:34 +0530 Subject: [PATCH] Create README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000000..f09ff77e57 --- /dev/null +++ b/README.md @@ -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: + + and change it to + + 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