模擬器(emulator.exe)
可以在 Android SDK 的安裝目錄下的 tools 文件夾找到運行文件(F:GPhoneandroid-sdk-windows-1.0_r1 ools),雙擊運行模擬器。
安裝 APK 包
adb install [-l] [-r]
- push this package file to the device and install it
<'-l' means forward-lock the app>
<'-r' means reinstall the app, keeping its data>
例如:adb install F:GphoneMyCodeHelloAndroidinHelloAndroid.apk
查看安裝位置
adb shell
#cd data
#cd app
#ls
顯示已經安裝的 APK 包
com.android.hello.apk
卸載 APK 包
adb shell
#cd data
#cd app
#ls
# rm com.android.hello.apk
新聞熱點
疑難解答
圖片精選