Fix the apk build output directory
[android/android-app-development-getting-started.git] / android-app-development-getting-started.sh
index eaabb44..2f69ac4 100755 (executable)
@@ -77,7 +77,7 @@ emulator -verbose -avd android-17-x86 -scale 0.9 -gpu on -qemu -m 512 -enable-kv
 
 # Install the App into an Android [Virtual] Device
 adb devices -l
-adb -s emulator-5554 install bin/MyFirstApp-debug.apk
+adb -s emulator-5554 install build/outputs/apk/MyFirstApp-debug.apk
 
 # Launch your application from the HOST
 adb -s emulator-5554 -e shell am start -a android.intent.action.MAIN -n com.example.myfirstapp/com.example.myfirstapp.MainActivity