Can no longer launch apps after upgrding to android sdk tools 20/platform sdk tools 12

血红的双手。 提交于 2019-12-12 12:24:54

问题


I upgraded my sdk tools and now I can no longer launch apps from Eclipse (I can still install from command line. When I launch I get an error window and an empty device picker. Error window says:

An error has occurred. See error log for more details.
com.android.ddmlib.IDevice.getName()Ljava/lang/String;

I'm not sure what log to look for.

DDMS sees the device ok as well. I'm not sure whats wrong here and can't find anything on google or SO.

Thanks


回答1:


Uninstalling and then reinstalling the tools solved the issue.




回答2:


I have the same issue.here is my situation. i have adt r18 installed.and in eclipse about,i upgrade the adt r18 to r20.this problem comes out.after i upgrade the ddms plugin,it is fixed.




回答3:


I had to reinstall ALL Android Plugins in Eclipse not just the Android Development Tools. Works now again.




回答4:


In Eclipse go to Help->Check For Updates and then update Android Tools to the latest version




回答5:


Just update your DDMS to latest version form Help> Install New Software>already installed> Android DDMS. this solved my problem!



来源:https://stackoverflow.com/questions/11554300/can-no-longer-launch-apps-after-upgrding-to-android-sdk-tools-20-platform-sdk-to

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!