• mac安装genymotion遇到的问题记录


    1.出错内容:An error occured while deploying the file或者使用adb devices连接的时候出现下面的错误

    adb server version (40) doesn't match this client (41); killing...
    

    修改方案都一样将genymotion自带的sdk替换成自己安装的。
    genymotion-》reference-》settings

    我的android sdk的路径:
    /Users/chennan/Library/Android/sdk

    2.An error occured while deploying the file.This probably means that the app contians ARM native code and you Genymotion device cannot run ARM instructions.You should either build your native code to x86 or install an ARM translation tool in your device.

    解决方法:

      下载Genymotion-ARM-Translation-Librarities工具转换包。百度云下载:https://pan.baidu.com/s/1OvT-4obXvTIf-M5QGexcQA

      下载后不要解压,直接拖进模拟器中

      然后执行下面的命令,使文件生效

        1. adb shell

        2. cd /sdcard/Download/

        3. sh /system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation.zip

      重启genymotion

  • 相关阅读:
    求数组元素出现的次数
    数组的一些内置方法
    二维数组
    创建对象
    取出数组最大值与最小值
    4-jQuery
    3-jQuery
    2-jQuery
    1-jQuery
    Spark共享变量(广播变量、累加器)
  • 原文地址:https://www.cnblogs.com/c-x-a/p/11099446.html
Copyright © 2020-2023  润新知