apk 를 avd 에 install 하는 방법
먼저, AVD 를 실행해야 한다. 그렇지 않고, adb install 을 실해하면 device 를 찾을 수 없다고 나온다.d:\…\android-sdk\AVD Manager.exe그러고 나서 adb install apk_name.apk 를 해주면 된다.
추가로
- install : adb install apk_name.apk
- uninstall : adb uninstall apk_name.apk
- reinstall : adb install -r apk_name.apk
d:\Program Files\Android\android-sdk\platform-tools>adb install e:\e\dist\Superuser_signed.apk
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
- waiting for device -
^C
d:\Program Files\Android\android-sdk\platform-tools>adb install e:\e\dist\Superuser_signed.apk
error: device offline
- waiting for device -
^C
d:\Program Files\Android\android-sdk\platform-tools>adb install e:\e\dist\Superuser_signed.apk
107 KB/s (620262 bytes in 5.652s)
pkg: /data/local/tmp/Superuser_signed.apk
Success
d:\Program Files\Android\android-sdk\platform-tools>
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
- waiting for device -
^C
d:\Program Files\Android\android-sdk\platform-tools>adb install e:\e\dist\Superuser_signed.apk
error: device offline
- waiting for device -
^C
d:\Program Files\Android\android-sdk\platform-tools>adb install e:\e\dist\Superuser_signed.apk
107 KB/s (620262 bytes in 5.652s)
pkg: /data/local/tmp/Superuser_signed.apk
Success
d:\Program Files\Android\android-sdk\platform-tools>
댓글 없음:
댓글 쓰기