English 中文(简体)
安乐施会
原标题:Android Emulator Shutdown takes FOREVER

I need to poweroff/poweron emulator to perform test. I get an endless message Shutting Down ... that has been running 30 minutes+ on the emulator. This is totally not working. Is there any way to get emulator to shutdown or at least startup the emulator without an app. I am trying to test app boot on startup, and I cannot get emulator to shutdown. So at least is there a way to start emulator without giving it an app to startup with. BTW, if there is someone who knows about the internals of the emulator on this board would you care to tell us what is going on during this 30+ minutes. I could have processed a gazillion db transactions in this time. This is not slow, not even slothful it is something totally unworkable. Thanks

问题回答

If you are using Eclipse:

  1. Open the Android Virtual Device Manager
  2. Select your virtual device and hit the start button
  3. In new window uncheck "launch from snapshot"
  4. Launch

开放式安乐器SDK和AVD管理员,“Click”是你想要的;Click开始纽芬兰语,不会开张。

一般来说,起草人很慢(我的经验显示,在进行蜂蜜时,科学、科学和技术司的工作进展缓慢)。

我的建议是停止使用安乐器,并使用Genymotion。 计算机是免费的,其速度要快于对人体装置进行测试,假定其计算机是正当的。 你们可以很容易地开始和阻止支持者通过虚拟局。

我解决这一问题的办法是,确保我在离开安乐器之前先关闭AVD管理人和Andrew窗。 做像我的药一样。

Choose "Cold boot" instead of "Quick boot". If you are using Android Studio:

  1. Open Tools -> AVD Manager
  2. Click "Edit" of the device you want to boot
  3. Click "Show Advanced Settings"
  4. Find "Boot option", select "Cold boot" enter image description here

班轮到终点站,发出以下指挥:

cd /home/username/.android/avd/<virtual device name>
sudo rm -rf *.lock

在此,我从虚拟装置目录中删除了24小时档案,以迫使该装置终止。

可在Windows和MAC上进行一些类似的程序。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签