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博客]
  • 相关阅读:
    NET 泛型,详细介绍
    docker(5):数据的管理
    docker(4)docker的网络,自定义网桥
    docker(3)容器管理命令
    docker (2) 通用/镜像命令
    docker(1)应用场景以及安装
    AspNetCoreapi 使用 Docker + Centos 7部署
    AspNetCore 中使用 InentityServer4(2)
    AspNetCore中使用Ocelot之 IdentityServer4(1)
    Win7下无法启动sql server fulltext search (mssqlserver)的问题
  • 原文地址:https://www.cnblogs.com/xinyuyuanm/p/3019619.html
Copyright © 2011-2022 走看看