为什么genymotion模拟器白屏不能添加模拟器

问题对人有帮助,内容完整,我也想知道答案
问题没有实际价值,缺少关键内容,没有改进余地
genymotion 调试时push apk 速度比真机快多了 但是发现加载so有问题
我装的是windows64 的,然后虚拟机镜像下了个galaxy note3,
一开始提示/system/lib/libhoudini.so 没找到,
然后按这里Get ARM translator to work in Android-X86 4.0.4 RC2 把一些arm so 通过adb push 到system/lib里 so 加载的时候文件找不到的报错OK了,
但有出来了一些其它报错A/libc﹕ Fatal signal 11 (SIGSEGV)
是不是genymotion 里面的虚拟机只支持x86 的库?没有arm的?
有遇到类似问题的同学没有?
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
由于版权问题,genymotion2移除了arm以及google apps支持。
但还是有解决方法的:
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
genymotion之所以执行的时候能够这么快,就是因为使用的不是arm架构的rom,所以你所使用的库必须提供x86的版本才能在genymotion上正常载入。
同步到新浪微博
分享到微博?
你好!看起来你挺喜欢这个内容,但是你还没有注册帐号。 当你创建了帐号,我们能准确地追踪你关注的问题,在有新答案或内容的时候收到网页和邮件通知。还能直接向作者咨询更多细节。如果上面的内容有帮助,记得点赞 (????)? 表示感谢。
明天提醒我
关闭理由:
删除理由:
忽略理由:
推广(招聘、广告、SEO 等)方面的内容
与已有问题重复(请编辑该提问指向已有相同问题)
答非所问,不符合答题要求
宜作评论而非答案
带有人身攻击、辱骂、仇恨等违反条款的内容
无法获得确切结果的问题
非开发直接相关的问题
非技术提问的讨论型问题
其他原因(请补充说明)
我要该,理由是:
扫扫下载 App
SegmentFault
一起探索更多未知&&&&& 今天在Genymotion中新建了一个,想要尝试一下5.0也就是Android L的一些新特性,但是遇到一个问题,就是模拟器无法启动的问题。新建的模拟器的配置如下:。可以看到这是Android 5.0,API 21 的Android模拟器。数量为4个,内存为1024M。其他的没有什么特别之处。&&&&&&& 点击运行模拟器,出现警告,并且模拟器始终停留在开始界面,不能成功打开,如图所示:。仔细分析警告,可以发现处理器数量被强制变成了1个,并且虚拟化在BIOS中被禁用了。解决办法就是去BIOS里面进行一些设置并且重启模拟器。&&&&&& 进入BIOS,如图所示,每台有所不同,自行研究。如图所示:。。可以看到其中的Intel(R) Vitualization技术和VT-d都是“关闭”状态。所以设置这两个属性为“打开”。按F10,保存退出。重新开机。。&&&&&& 然后重新运行模拟器,发现可以成功开启,并且不会出现警告。如图所示:。&&&&&& 对于这个问题,我个人的理解就是当你的模拟器CPU数量大于1个时,需要虚拟化技术模拟出其他几个CPU,而你的电脑必须要支持虚拟化技术,可以去BIOS里面进行设置。如果开发过 Phone或者使用过Windows Phone模拟器的话,也会使用该步骤。而且据我了解,只有在Core i5上才能使用虚拟化,i3貌似不行。好了,现在可以尽情的使用Android L带给我们的新特性了。
版权声明:本文为博主原创,未经博主允许不得转载。Genymotion下载模拟器失败解决方案
时间: 00:49:48
&&&& 阅读:12319
&&&& 评论:
&&&& 收藏:0
标签:下载模拟器的时候经常出现下面的问题:(Connection timeout occurred)
& 解决方法: 1、查看你要下载的模拟器的版本,我要下的版本是6.0.0 & 2、到C:\Users\yourname\AppData\Local\Genymobile\Genymotion\ova该目录下找ova文件,yourname就是你自己的电脑用户名。
& 3、拼接网址,直接用下载工具下载ova文件
上面的网址就是下载网址,直接用浏览器或者下载工具下载即可。
前面的6.0.0就是版本号,后面标红色的文件就是你的ova文件名称。
& 4、如果遇到不能导入ova的情况,直接升级virtual box即可。
& 5. virtual box 存放镜像的位置为C:\Users\yourname\VirtualBox VMs\,升级virtualbox后直接到该文件夹下
双击*.vbox文件即可导入原来虚拟机 & 标签:
&&国之画&&&& &&
版权所有 京ICP备号-2
迷上了代码!超快的Android模拟器Genymotion安装配置及使用教程-android100学习网
超快的Android模拟器Genymotion安装配置及使用教程
首先第一步:注册Genymotion账号,要记下账号密码后面使用。 注册地址:/。
第二步:一般情况下教程上会让先安装VirtualBox...
首先第一步:注册Genymotion账号,要记下账号密码后面使用。
注册地址:/。
第二步:一般情况下教程上会让先安装VirtualBox,但是根据我的经验,我的建议是先下载安装Genymotion。
下载地址:
/page/customer/login/?next=/page/launchpad/download/
注意想要下载必须先登录。
下载好之后就可以安装了,与普通软件安装过程没有太大的区别,安装目录随意,下一步下一步就OK。
安装好Genymotion之后要安装Microsoft Visual C++ 2008 Redistributable Package,所以建议各位看官们,最好也把Microsoft Visual C++ 2010 Redistributable Package以及.net 4.0环境也一并安装了,以免夜长梦多并减少后面的报错(已经安装过的可以自行忽略本步骤)
下载地址1:Microsoft Visual C++ 2008 Redistributable Package
X64:/zh-cn/download/details.aspx?id=15336
X86:/zh-cn/download/details.aspx?id=29
下载地址2:Microsoft Visual C++ 2010 Redistributable Package
X64:/zh-cn/download/details.aspx?id=14632
X86:/zh-cn/download/details.aspx?id=5555
下载地址3:Microsoft.NET Framework 4(独立安装程序)
/zh-cn/download/details.aspx?id=17718.
第三步:安装好Genymotion之后,下载安装Oracle的VirtulBox,(Genymotion需要虚拟环境才能运行)
下载地址:https://www.virtualbox.org/wiki/Downloads
根据你的实际情况自行选择。下载之后安装,安装过程也没有什么不同,下一步下一步就OK了。这里特别注意的是VirtulBox的安装路径,要是不对,那么Genymotion就没法打开,现在你打开C:/Users/Administrator/AppData/Local/Genymobile路径下的genymotion.log文件,文件中比较乱,你找到VBoxManage path (found by reg.exe)这句话,他后面的路径就是你需要安装VirtulBox的路径,这点是非常重要的,切记。
第四步:启动Gentmoyion,进行一些相关的配置
第一次使用会问你是否添加一个新的虚拟机,选择yes.
进入如上界面,此时便填上你注册Genymoyion账户时的账号和密码,然后点击connect。
连接上之后他会出现设备列表,你可以大致浏览下,然后选择你想创建的一个,点击右下角的add。
然后他会列出一些设备的参数,你大致浏览下,然后点击next。
此时便会开始下载模拟器了。不支持断点续传,所以过程中不要断网,整个过程还是挺快的。
下载完毕后就可以创建了,点击右下角的create。
在这个界面就可以看到你所创建的模拟器的列表,在这个界面play是打开一个模拟器,add是创建一个模拟器,setting自然就是能对模拟器进行一些设置。这里一步需要特别注意;这个步骤是为模拟器配置SDK,只有配置过的模拟器才能正常的运行程序。选择一个模拟器,点击setting。
在出现的setting界面中
勾选第一条,然后浏览sdk的路径,路径名到sdk为止,如果路径正确,下方的提示会打上粉红色的勾,然后点击OK。
然后回到设备列表,选择一个设备,点击play,就可以启动模拟器了。
关于模拟器的使用方法和一些配置可以再自行百度。因为我也不会,我以后也是要靠google哥哥的。哈哈。
Genymotion的安装过程到这就结束了,接下来讲Eclipse中Genymotion插件的配置与使用。
首先第一步:安装Eclipse Genymotion插件,我用的是在线安装的方法,
在线安装的地址为:/eclipse
如果没有被墙或者RP还行的话应该没问题。至于插件安装过程就不是这里该讲的东西了,不会的度娘吧。也可以下载离线包安装。
第二步:首次使用配置
安装好插件后你会在Eclipse面板中发现Genymotion的按钮,在sdk manager的隔壁,图标是:,点击他,第一次是不能直接使用的,然后他会指引你去配置Genymotion的directory,
出现如下界面。
此时要填的是Genymotion的安装路径,我的路径如上图所示。路径名到Genymotion为止,添加好后apply,然后OK。
第三步:使用它运行项目,配置上第二步之后返回Eclipse,再次点击Genymotion的图标,
他就会出现设备列表了,选择一个点击start就OK,此时你就能发现运行的模拟器了。
第四步:运行程序
运行程序之前也要进行配置,在你需要运行的工程处右键,Run as —&Run config……
进入运行设置界面。
选择上图所标注的选项,然后Apply,然后点击Run运行项目,这样就能看到你的项目在Genymotion上顺利运行了,当然我希望是顺利运行哈。
配置intellij 或 Android Studio插件File-Settings...-搜索Plugins-Install plugin from disk...-选择genymotion-idea-plugin-xxxxxxxx.jar文件-Apply-重启编辑器-单击Genymotion Device Manager图标,选择Genymotion路径。
附:Genymotion中文官方手册供大家参阅
地址:http://www.app-edu.net/article-60414-1.html
到此,整个过程也结束了,大家终于可以解放自己的手机了。下次自动登录
现在的位置:
& 综合 & 正文
android genymotion模拟器怎么使用以及怎么连接eclipse来带动模拟器
genymotion是一款号称速度最快性能最好的android模拟器,它基于Oracle VM VirtualBox。支持GPS、重力感应、光、温度等诸多传感器;支持OpenGL 3D加速;电池电量模拟;能够运行在windows、linux、mac系统下;并提供的有eclipse下的插件,可以支持在eclipse下进行应用开发测试。
(一)首先介绍下如何下载并运行genymotion模拟器
在网站上点击sign up按钮开始进行注册。
填写相关注册信息
完成注册后会提示你有邮件发到你上一步填写的邮箱去激活账户
在邮箱里激活刚注册的账户
激活刚注册的账户会提示你可以开始下载genymotion
登陆刚注册的账户
选择下载genymotion
选择包含virtualbox的genymotion-1.0-vbox.exe进行下载
下载完genymotion-1.0-vbox.exe,运行该exe按照默认的选项一路安装下去即可
安装完成后在桌面上会发现genymotion命令行工具图标:Genymotion Shell;genymotion图标:Genymotion:Genymotion;以及虚拟机Oracle VM VirtualBox的图标。
点击Genymotion图标运行genymotion会提示你需要创建虚拟设备,点击yes按钮开始创建虚拟设备。
使用注册好的用户名和密码连接服务器
连接好服务器后开始添加自己需要的虚拟机
按Next按钮创建虚拟设备
点击Create按钮
运行虚拟设备
设置android SDK目录
再次运行genymotion中的虚拟设备
使用起来确实比google提供的模拟器流畅不少
(二)安装安兔兔进行测分
genymotion模拟器的安兔兔测试得分
google模拟器的安兔兔测试得分:
安兔兔测得在同一台电脑上同是Nexus 480X800的虚拟设备genymotion分值高达13836,而测试得到的google模拟器只有区区953,genymotion在各项参数上均表现好不少。
(三)在eclipse下安装genymotion插件
启动eclipse,选择Help-&Install New Software菜单
点击add按钮
填入Genymobile、点击OK按钮
选择genymotion相关插件选项进行安装
接受相关协议
忽略相关警告
提示重启eclipse即已经完成genymotion插件的安装,点击yes按钮重启eclipse
重启eclipse会在工具栏上发现genymotion的图标,点击即可启动该插件。
第一次启动genymotion插件需要填入genymotion的安装目录:C:\Program Files\Genymobile\Genymotion
(四)调试应用程序,这里我调试一个OpenGL的程序。发现OpenGL的程序在genymotion上运行的很好。
点击eclipse上的genymotion插件图标,在弹出的对话框选择以前创建的虚拟设备启动。
在eclipse下的工程项目上单击鼠标右键,在弹出的菜单里选择Run as-&Run Configurations.
在Run Configurations对话框选择下面的选项即可
之后运行工程项目即可发现当前的这个opengl项目在genymotion上能很流畅的运行
(五)genymotion shell命令行工具
可在genymotion shell下输入相关指令获取一些信息或者设置一些参数之类
genymotion shell支持的命令行如下所示:
Command line options
-h Print help
-r ip_address Connect to specific Genymotion Virtual Device
-c "command" Execute the given command in genyshell environment and return
-f file Execute the content of the file. Each command per line
Available commands
battery getmode
Return the current battery mode of the selected virtual device. The mode can only be:
host: The virtual battery reflect the host battery (if exists)
manual: In this mode, you can set the level and status battery values
battery setmode
Set the battery mode. The mode can only be:
host: The virtual battery reflect the host battery (if exists)
manual: In this mode, you can set the level and status battery values
battery getlevel
Return the current battery amount of power. The value can only be between 0% and 100%.
If the battery mode is "host", the returned value is the host value.
battery setlevel
Set the current battery amount of power. The value can only be between 0% and 100%.
Set the battery level force the "manual" mode: if the last mode was "host", then it's turned to "manual"
battery getstatus
Return the current battery status. There are 4 possible status:
Discharging: The power supply is disconnected and the battery is discharging.
Charging: The power supply is connected and the battery is charging.
Full: The battery is full.
Unknown: Sometimes, the battery status cannot be established, it happens when there is no host battery.
battery setstatus
Set the current battery status. There are 4 possible status:
Discharging: The power supply is disconnected and the battery is discharging.
Charging: The power supply is connected and the battery is charging.
Full: The battery is full.
Unknown: Sometimes, the battery status cannot be established, it happens when there is no host battery.
devices list
List available Genymotion virtual devices and provides details like current states or IP address.
devices ping
Send a ping message to check if virtual device if responding
devices refresh
Refresh Genymotion virtual device list. Use it to keep the list up-to-date.
devices select
Select the Genymotion virtual device you want to interact with.
devices show
List available Genymotion virtual devices and provides details like current states or IP address
gps activate
Activate the GPS sensor (if not already activated)
gps desactivate
Desactivate the GPS sensor (if activated)
gps getlatitude
Return the actual latitude (if GPS is activated AND already has a latitude) or 0
gps setlatitude
Set latitude (and activate GPS if not allready activated)
gps getlongitude
Return the actual longitude (if GPS is activated AND allready has a longitude) or 0
gps setlongitude
Set longitude (and activate GPS if not allready activated)
gps getaltitude
Return the actual altitude (if GPS is activated AND allready has a altitude) or 0
gps setaltitude
Set altitude (and activate GPS if not allready activated)
gps getaccuracy
Return the actual accuracy in meters (if GPS is activated AND allready has a accuracy) or 0
gps setaccuracy
Set accuracy (and activate GPS if not allready activated)
gps getorientation
Return the actual orientation in meters (if GPS is activated AND allready has a orientation) or 0
gps setorientation
Set orientation (and activate GPS if not allready activated)
android version
Return the Android version of the selected virtual device
build number
Return the genymotion shell build number
Prompt the help.
Pause execution (in number of seconds).
Return GenyShell version.
exit or quit
Close Genymotion Shell.
&&&&推荐文章:
【上篇】【下篇】}

我要回帖

更多关于 genymotion模拟器很卡 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信