adb -d install path/to/your/app.apk
in my case, I copied the apk file to the same folder as adb exists, and use: ./adb -d install -r SpeechRecV4.apk
tomorrow I will try to use command line to do the build and compile work
After entering: ./adb shell ==============> I entered shell environment, and I tested am start -a android.intent.action.MAIN -n com.android.settings/.Settings and this worked and opened the setting page
Then I tried to open my own SpeechRecV4 app using am start -n com.zhoubo/.SpeechRecV4Activity this also worked
No comments:
Post a Comment