Android模拟器得到了完全放电 - 运行Telnet命令电源崩溃模拟器 [英] Android Emulator got discharged completely - running telnet power command crashing the Emulator

查看:236
本文介绍了Android模拟器得到了完全放电 - 运行Telnet命令电源崩溃模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好朋友,我到Android新手。我的问题是,当过我开始仿真器,它显示电池作为nill和消息为连接到充电器。虽然我在网上搜索此,我碰到使用Telnet命令。我用下面的命令 -

 远程登录本地主机5554
电源容量100

这是崩溃我的应用程序。不仅功率命令,但也有其他命令,除了帮助。我试图改变的权力,99,70,20,等等,没有在输出做出区别。

对于这一点,我已经试过在鉴于这种文章的建议。

在<一个给定的

我也尝试过解决方案href=\"http://stackoverflow.com/questions/16484325/cant-get-eclipse-avd-nexuss-4-1-to-work-says-connect-your-charger#\">this题。

此问题可能看起来像已经存在的问题重复。但是,我已经尝试了所有这些解决方案,


  • 重新安装月食

  • 重新安装Android的SDK

  • 重新安装AVD管理

  • 重建现有的AVD

我使用英特尔凌动(x86)的模拟器。我们的目标是Android的4.3 API级别18

我也跟着指示和建议给予了<一个href=\"http://$c$c.google.com/p/android/issues/detail?can=2&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=39959\">here像改变config.ini文件的 hw.battery 选项 .android \\ AVD \\ 文件夹中。


解决方案

解决方案是将 hw.battery = YES 中的AVD config.ini文件中描述这里:

<一个href=\"http://stackoverflow.com/a/17467342/2232812\">http://stackoverflow.com/a/17467342/2232812


  

      
  1. 转到您的Andr​​oid虚拟设备文件夹中。在Windows 7上它的这个文件夹,例如:结果
       C:\\用户\\ {您的用户名} \\机器人\\ AVD \\ {} yourAVDName .avd


  2.   
  3. 打开的config.ini 文件


  4.   
  5. 设置电池选项设置为yes: hw.battery = YES

  6.   
  7. 重新启动您的虚拟设备并快乐: - )

  8.   

Good evening friends, I am a newbie to android. My problem is, when ever I started emulator, it is showing battery as nill and the message as connect to charger. While I am searching for this over internet, I came across using the Telnet commands. I have used the following commands -

telnet localhost 5554
power capacity 100

This is crashing my application. Not only the power command, but also other commands except help. I have tried changing the power to 99, 70, 20, etc., nothing made difference in the output.

For this, I have tried the suggestion given in this article.

I also have tried solution given in this question.

This question might look as a duplicate of already existing questions. But, I have tried all those solutions,

I have

  • reinstalled eclipse
  • reinstalled android-sdk
  • reinstalled avd manager
  • recreated existing AVD

I am using Intel Atom (x86) Emulator. The target is Android 4.3 with API level 18.

I have also followed the instructions and suggestions given over here like changing the hw.battery option in the config.ini file in .android\avd\ folder.

解决方案

The solution is to set the hw.battery=yes in the AVD config.ini file as described here:

http://stackoverflow.com/a/17467342/2232812

  1. Go to your Android Virtual Devices folder. On Windows 7 it's this folder for example:
    C:\Users\{yourUserName}\.android\avd\{yourAVDName}.avd

  2. Open the config.ini file

  3. Set the battery option to yes: hw.battery=yes
  4. Restart your Virtual Device and be happy :-)

这篇关于Android模拟器得到了完全放电 - 运行Telnet命令电源崩溃模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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