aosp12/prebuilts/runtime/iorap/test
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
src/IorapTestApp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
iorap_test_app_v1.apk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
iorap_test_app_v2.apk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
iorap_test_app_v3.apk init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

Introduction

This directory contains a toy app for iorap test. The app shows a version number when started and reads a text file.

  • iorap_test_app_v1.apk: test app version 1
  • iorap_test_app_v2.apk: test app version 2 (same with version 1 except for the version)
  • iorap_test_app_v3.apk: test app version 3 (same with version 1 except for the version)
  • src: The src of the app.

Build

  1. Set ANDROID_SDK_ROOT, For example:

export ANDROID_SDK_ROOT=.../Android/Sdk

  1. The command to build the apk is:

bash build.sh

Version Change

To change the version of the app,

  1. open file src/IorapTestApp/app/build.gradle
  2. change the "versionCode" field as the following

android { ... defaultConfig { ... versionCode = 1.0 ... } ... }