问题
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