Awesome
micro:bit Android application
Build instructions
-
Install needed tools to build the project:
-
Fetch submodules
git submodule update --init --recursive
-
Go to root directory and run
./gradlew :app:assembleDebug
. After the build is finished the apk file can be found atapp/build/outputs/apk/debug/app-debug.apk
-
Or run
./gradlew :app:installDebug
to build and install app on plugged android device
Release process
- Release https://github.com/microbit-foundation/android-partial-flashing-lib if it has changed since the last release. We tag that library with the version number of the android app.
- Ensure the pfLibrary submodule is using the commit corresponding to the new android-partial-flashing-lib tag.
- Increment the version and version name in
AndroidMainfest.xml
. The version must be incremented since the last Play Console upload. - Create a GitHub release with a new tag via the web UI (e.g. v3.0.8).
- GitHub actions will run for the new tag. Download the signed bundle (.aab file) it produces.
- On Google Play Console, prepare and rollout a release.
Library documentation
Potential pitfalls
If Gradle is unable to find the correct Android SDK, check the SDK install location is correctly set on the path.
You should have a ENV variable ANDROID_SDK_ROOT
pointing to the SDKs location.
You may need to set JAVA_HOME to a v17 JDK.
Code of Conduct
Trust, partnership, simplicity and passion are our core values we live and breathe in our daily work life and within our projects. Our open-source projects are no exception. We have an active community which spans the globe and we welcome and encourage participation and contributions to our projects by everyone. We work to foster a positive, open, inclusive and supportive environment and trust that our community respects the micro:bit code of conduct. Please see our code of conduct which outlines our expectations for all those that participate in our community and details on how to report any concerns and what would happen should breaches occur.