zoukankan      html  css  js  c++  java
  • 电脑上使用微信——命令行安装

    环境

    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博客]
  • 相关阅读:
    迁移学习综述
    分析 Kaggle TOP0.1% 如何处理文本数据
    软件工程提问回顾与个人总结
    洛谷 4219/BZOJ 4530 大融合
    洛谷 1486/BZOJ 1503 郁闷的出纳员
    【模板】文艺平衡树
    【模板】树套树(线段树套Splay)
    【模板】可持久化线段树
    【模板】可持久化平衡树
    【模板】左偏树
  • 原文地址:https://www.cnblogs.com/xinyuyuanm/p/3019619.html
Copyright © 2011-2022 走看看