自从我重新安装的Eclipse(简单地删除并重新下载它)我不能调试我对三星Galaxy I9001应用程序(使用的CyanogenMod - 安卓4.4.2)。它重新安装前能正常工作。
Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fine before reinstallation.
拔出/插件,取消选中/选中已启用调试,亚行杀服务器/亚行启动服务器,重启手机/电脑不为我工作。在设备授权对话框中永远不会出现(但我记得对话框出现重新安装之前)。我不知道如何强制此授权对话框显示。有一个在.android目录中没有abd_key.pub文件。 当我尝试读取CPU信息DDMS说:
Unplug/plug, Uncheck/check "Debug Enabled", adb kill-server/adb start-server, restart phone/computer doesn't work for me. On the device authorize dialog never appears (but I remember that dialog appeared before reinstallation). I have no idea how to force this authorize dialog to display. There is no abd_key.pub file in .android directory. When i try read cpu info DDMS says:
[2014-04-15 12:47:06 - DDMS] device unauthorized. Please check the confirmation dialog on your device.
任何想法?是否可以手动生成密钥没有确认对话框?
Any ideas? Is it possible to generate keys manually without confirmation dialog?
USB连接
USB Connection
无线连接
Wireless Connection
哦~~最后我想通了! 除去Eclipse目录后,我安装了它到另一个目录中。
Ohhh finally I figured it out! After removing Eclipse directory I installed it into another directory.
echo %ANDROID_SDK_HOME%
一直显示错误的路径SDK目录。
has displayed wrong path to sdk directory.
1. setx ANDROID_SDK_HOME "E:\adt-bundle-windows-x86_64-20140321\sdk"
2. unplug device
3. adb kill-server
4. adb start-server
5. plug device
在这些步骤之后,我能看到我的手机与RSA指纹确认对话框:)
After these steps, I was able to see confirmation dialog with RSA fingerprint on my phone :)