xinyuyuanm

环境

 

Eclipse Indigo + Android 2.2

 

问题

 

暂未入手智能机,想在电脑上使用微信。

 

解决

 

搭建Android模拟器请参考百度经验

 

本文简要说明使用命令行安装。最开始打算把APK文件拷贝到手机的sdcard中,可是在模拟器中找不到文件管理器,于是只有使用命令行进行安装。

 

1.启动模拟器后,打开Cmd窗口

 

2.使用命令:adb install APK安装包路径 进行安装

 

3.在模拟器中找到微信图标,享受新的沟通方式吧。

 

 

安装日志

 

#将weixin_V4.5_mumayi_37274.apk拷贝到sdcard中
H:\Program files\android-sdk-windows\platform-tools>adb push D:\必备软件\APK\weixin_V4.5_mumayi_37274.apk /sdcard/
257 KB/s (19473465 bytes in 73.758s)

#命令行安装,遇到错误,INSTALL_FAILED_INSUFFICIENT_STORAGE,空间不足
H:\Program files\android-sdk-windows\platform-tools>adb install D:\必备软件\APK\weixin_V4.5_mumayi_37274.apk
181 KB/s (19473465 bytes in 105.001s)
        pkg: /data/local/tmp/weixin_V4.5_mumayi_37274.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]



#解决问题,INSTALL_FAILED_INSUFFICIENT_STORAGE,删除刚才拷贝的文件
H:\Program files\android-sdk-windows\platform-tools>adb shell
# ls
ls
config
cache
sdcard
acct
mnt
d
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev
# cd sdcard
cd sdcard
# ls
ls
LOST.DIR
BaiduMapSdk
weixin_V4.5_mumayi_37274.apk
DCIM
# rm  weixin_V4.5_mumayi_37274.apk
rm  weixin_V4.5_mumayi_37274.apk
# ls
ls
LOST.DIR
BaiduMapSdk
DCIM

#重新安装
H:\Program files\android-sdk-windows\platform-tools>adb install D:\必备软件\APK\weixin_V4.5_mumayi_37274.apk
184 KB/s (19473465 bytes in 103.036s)
        pkg: /data/local/tmp/weixin_V4.5_mumayi_37274.apk
Success


参考资料

 

http://jingyan.baidu.com/article/295430f11655c00c7e005006.html

 

 

 

katoon Sina  CSDN
@Wentasy 博文仅供参考,欢迎大家来访。如有错误之处,希望批评指正。原创博文如需转载请注明出处,谢谢 :) [CSDN博客]

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-12-06
  • 2021-09-25
  • 2021-09-26
  • 2021-10-28
  • 2022-01-09
  • 2021-12-16
猜你喜欢
  • 2021-12-07
  • 2021-11-12
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案