Android的虚拟机崩溃在启动的Mac [英] Android VM crashes on Launch Mac

查看:436
本文介绍了Android的虚拟机崩溃在启动的Mac的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题。 我一直在与Android在Eclipse,在过去4-5周,现在,从来没有与虚拟机的问题(他们行动迟缓,是的,但是从来没有崩溃)。

现在,我相信,因为4.2,当我开始工作,因为核恐慌(resport底)。

对UNI一个新的项目(在下周的最后期限),我的4.2 VM suddently开始崩溃的推出,

我想问问,如果有什么我能做的,也许下载修补程序或任何东西。无论是API和Eclipse是pretty的多是最新的,或者可能会有什么问题我的电脑? (不知怎的,即使是我的旧的虚拟机(2.3.3,3.1和4.1)坠毁在推出99%的时间)

任何意见将是非常美联社preciated。崩溃,日志这里开始:

  

流程:emulator64臂[1334]路径:
  /用户/用户/ * / emulator64臂标识符:emulator64臂版本:   ??? code类型:X86-64(母语)父进程:月食[1156]   用户名:501

     

日期/时间:2012年12月1日00:25:274.69 +0100 OS版本:的Mac OS   X 10.8.2(12C2034)报告版本:10

     

间隔自上次报告:130686秒崩溃自上次   报告:96%,应用程序崩溃自上次报告:32无名氏   UUID:ABE51F99-F7A9-2595-016E-C47FFD1F6C50

     

崩溃主题:0调度队列:com.apple.main线程

     

异常类型:EXC_BAD_ACCESS(SIGSEGV)异常codeS:   KERN_INVALID_ADDRESS在0x0000000000000000

     

VM地区的近0:    - >       __TEXT 0000000100000000-0000000100247000 [2332K] RX / RWX SM = COW /用户/用户/ *

     

主题0坠毁::调度队列:com.apple.main线程

解决方案

你有两个屏幕?如果是,你推出的二次屏幕上一次AVD / VM? 如果是,则检查虚拟机配置文件:

  CD〜/ .android / AVD /
LS -la =>在这里你可以看到所有AVDS
CD [your_vm.avd]
乔模拟器,user.ini文件=>编辑此配置文件,看看价值
 

window.x = 2054 - 这是愚蠢的值,原因说,在哪里显示仿真器窗口。值设置原因仿真器窗口中的x位置2054显示在第二个屏幕,但正如我说这是错误的AVD。只需将其更改为更好的价值在你的主屏幕,显示窗口,所以像我的情况:

  window.x = 954
window.y = 199
UUID = 1342941165631
 

保存配置文件,启动Eclipse,开始你的AVD / VM和所有必须运行良好。

I have a problem. I've been working with Android in Eclipse for the past 4-5 weeks now and never had a problem with the VM (they were slow, yes. But never crashed).

Now, I believe since 4.2 when I started working on a new project for uni (deadline next week) my 4.2 VM suddently starts crashing on launch, because of "Kernel Panic" (resport at the end).

I wanted to ask if there is anything I could do, maybe download a hotfix or anything. Both the API and Eclipse are pretty much up to date or might there be something wrong with my computer? (Somehow even my old VMs (2.3.3, 3.1 and 4.1) crash on launch 99% of the time)

Any advice would be highly appreciated. Here the beginning of the Crash-Log:

Process: emulator64-arm [1334] Path:
/Users/USER/*/emulator64-arm Identifier: emulator64-arm Version: ??? Code Type: X86-64 (Native) Parent Process: eclipse [1156] User ID: 501

Date/Time: 2012-12-01 00:25:27.469 +0100 OS Version: Mac OS X 10.8.2 (12C2034) Report Version: 10

Interval Since Last Report: 130686 sec Crashes Since Last Report: 96 Per-App Crashes Since Last Report: 32 Anonymous UUID: ABE51F99-F7A9-2595-016E-C47FFD1F6C50

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0: --> __TEXT 0000000100000000-0000000100247000 [ 2332K] r-x/rwx SM=COW /Users/USER/*

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

解决方案

Do you have two screens? if yes, did you launch avd/vm on secondary screen last time? If yes, then check config vm file at:

cd ~/.android/avd/  
ls -la   => here you see all avds
cd [your_vm.avd]
joe emulator-user.ini => edit this config file and see value 

window.x = 2054 - this is stupid value, cause says where to display emulator window. Value is set cause emulator window was displayed at second screen on x position 2054 but as I say it's bug at avd. Simply change it to better value to display window at your main screen so like my case:

window.x = 954
window.y = 199
uuid = 1342941165631

Save config file, start eclipse, start your avd/vm and all must run well.

这篇关于Android的虚拟机崩溃在启动的Mac的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆