mobile/example/libhello/all.bash

16 lines
398 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2014 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Script to build and launch the app on an android device.
set -e
./make.bash
adb install -r bin/Hello-debug.apk
adb shell am start -a android.intent.action.MAIN \
-n com.example.hello/com.example.hello.MainActivity