DDMS files not found Error

半城伤御伤魂 提交于 2019-12-29 06:51:31

问题


I had the some DDMS files not found... problem.

I fixed it by making sure that the Android SDK path is set correctly in Eclipse (which is C:\Program Files\Android\android-sdk on my machine).

This can be done in Eclipse->Windows->Preferences->Android->SDK Location.

plz help me to solve this problem.


回答1:


Root cause:

  1. Android may not be installed only fetching might have done in eclipse.

  2. Check the location of android installation in eclipse windows -> preferences -> android (installation path may not be correct).

Solution:

  1. Give the correct android installed path in windows -> preferences -> android.

  2. If you not able to find the path, better uninstall and install the android again.

Android download link for windows:

http://developer.android.com/sdk/index.html




回答2:


You first restart your eclipse and check it.
       

  • If again throws same error please try this steps
  • I had same problem and fixed it using the following link

DDMS files not found: SDK_HOME/tools/traceview : Eclipse




回答3:


I think, your folder 'tools' in android-sdk folder is incomplete. Maybe, during updating your download broken or not enough space and the update stopped.
Whatever.
You can download only the tools from android sdk. You find it here: https://developer.android.com/studio/index.html#command-tools

And copy the content of tools inside your android-sdk folder, that the folder tools is complete with all necessary files and folders.




回答4:


In newer versions of android studio DDMS is deprecated but you can choice another option

https://developer.android.com/studio/profile/monitor

Quote:

Android Device Monitor was deprecated in Android Studio 3.1 and removed from Android Studio 3.2. The features that you could use through the Android Device Monitor have been replaced by new features. The table below helps you decide which features you should use instead of these deprecated and removed features.



来源:https://stackoverflow.com/questions/14127476/ddms-files-not-found-error

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