Android模拟器得到了完全放电 - 运行Telnet命令电源崩溃模拟器 [英] Android Emulator got discharged completely - running telnet power command crashing the Emulator
问题描述
晚上好朋友,我到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
转到您的Android虚拟设备文件夹中。在Windows 7上它的这个文件夹,例如:结果
C:\\用户\\ {您的用户名} \\机器人\\ AVD \\ {} yourAVDName .avd
打开的config.ini 文件
- 设置电池选项设置为yes:
hw.battery = YES
- 重新启动您的虚拟设备并快乐: - )
块引用>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 excepthelp
. 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
Go to your Android Virtual Devices folder. On Windows 7 it's this folder for example:
C:\Users\{yourUserName}\.android\avd\{yourAVDName}.avd
Open the config.ini file
- Set the battery option to yes:
hw.battery=yes
- Restart your Virtual Device and be happy :-)
这篇关于Android模拟器得到了完全放电 - 运行Telnet命令电源崩溃模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!