@@ -71,23 +71,45 @@ Building **onecourse** is a two-step process:
7171
7272 git commit -m "Applied onecourse system modifications"
7373
74- 5 . Add the desired ** onecourse** ` .apk ` :
7574
76- mkdir packages/apps/onebillion
77- mv $ROOT_FOLDER/app/build/outputs/apk/* packages/apps/onebillion
75+ 5 . On building for the first time, clean the build folders. This is not required for subsequent builds:
7876
79- 6 . Copy ` Android.mk ` to the app package folder:
77+ make clobber
78+
79+ 6 . Copy the following files and folders from the ** onecourse source** repository to your AOSP folder:
80+
81+ rm -rf packages/apps/onebillion
82+ mkdir -p packages/apps/onebillion
83+ cp -r $ROOT_FOLDER/AOSP/frameworks/ .
84+ mkdir -p out/target/product/dragon/system/media/
85+ cp $ROOT_FOLDER/AOSP/bootanimation.zip out/target/product/dragon/system/media/
86+
87+ 7 . Copy the desired ** onecourse** ` .apk ` and makefile from the ** onecourse source** repository to your AOSP folder:
88+ - onecourse demo for XPRIZE judges:
89+
90+ cp $ROOT_FOLDER/app/build/outputs/apk/app-judgeMenu-release.apk packages/apps/onebillion/
91+ cp $ROOT_FOLDER/AOSP/judgeMenu-Android.mk packages/apps/onebillion/Android.mk
92+
93+ - onecourse Swahili:
94+
95+ cp $ROOT_FOLDER/app/build/outputs/apk/app-childMenu-release.apk packages/apps/onebillion/
96+ cp $ROOT_FOLDER/AOSP/childMenu-Android.mk packages/apps/onebillion/Android.mk
8097
81- cp $ROOT_FOLDER/ onecourse-Android.mk packages/apps/onebillion/Android.mk
98+ - onecourse English:
8299
83- 7 . Build the AOSP filesytem images. This will take several hours:
100+ cp $ROOT_FOLDER/app/build/outputs/apk/app-childMenu_enGB_-release.apk packages/apps/onebillion/
101+ cp $ROOT_FOLDER/AOSP/childMenu_en_GB_-Android.mk packages/apps/onebillion/Android.mk
102+
103+
104+
105+ 8 . Build the filesystem images. This will take several hours:
84106
85107 source build/envsetup.sh
86108 lunch aosp_dragon-userdebug
87109 make -j4
88110
89- 8 . The filesytem images will be placed in:
111+ 9 . The filesytem images will be placed in:
90112
91113 /out/target/product/dragon/
92114
93- 9 . You can now [ install onecourse onto a device] ( INSTALL.md ) .
115+ 10 . You can now [ install onecourse onto a device] ( INSTALL.md ) .
0 commit comments