Android Hello World Application
- Project build is started automatically when a workspace starts. Click the Preview URL, right click on the gray screen to call a context menu and launch the Emulator. It may take a while.
- Once the Emulator is started, right click on the gray screen and start the Terminal. In the Terminal run the following command to install apk:
adb install /projects/mobile-android-hello-world/target/mobile-android-java-basic.apk
.
- Find your application in the Emulator's Menu.
- Go back to the IDE. Change your application, build it with
build-n-run
command, go to the previously opened VNC window and runadb install -r /projects/mobile-android-hello-world/target/mobile-android-java-basic.apk
command to see the changes.
# | Description | Command |
---|---|---|
1 | Build and run | cd ${current.project.path} && mvn clean install |