The doc gives an introduction about how to get and run the watch-face APK on i.MX.8ULP watch board based on Android 14.0.0_1.0.0.
1. Get source code
- Get the shell script and related patches from the attachment at the end of the article.
- Run Watchface_setup.sh.
- Watchface_setup.sh will download all the needed gits codes. combine with them and apply patches automatically.
- You need to clone the gits manually if network access is not good.
2. Build the project
- The project is in the sub-directory named "KWART_Kid_Launcher". Then you can build it either in Android studio or Android SDK.
- Android studio
- Open the project in Android studio and build it like regular.
- Android SDK
-
Copy KWART_Kid_Launcher/ into vendor/nxp-opensource/fsl_imx_demo/
-
Add the following into the end of device/nxp/imx8ulp/watch_8ulp/watch_8ulp.mk.
PRODUCT_PACKAGES += \
KWARTLauncher
-
Rebuild the SDK. Please refer to Android User's Guide for more details about SDK building.
make -j4 2>&1 | tee make.log
3. Install the APK
- Install the APK
- Android studio
- Run the app like regular.
- Android SDK
- Reflash the SDK images and the app will occur after boot finishes.
- Then you will find the following APP.