Eclipse Indigo Android ADT - install OK, no “Andro

2020-02-05 17:55发布

I have Eclipse (Indigo Service Release 1, Build id: 20110916-0149) running on Win XP.

I've added https://dl-ssl.google.com/android/eclipse/ and installed 4 plugins, including ADT, and restarted Eclipse. Installed software list shows Android plugins are installed.

But nothing appears in Preferences, and there are no Android-type project in New Projects.

Later I check Eclipse's directories and there were four *.jar archives with these Android plugins, and they weren't unzipped to corresponding directories (like other plugins). I unpacked them so directories same as *.jar names, and started Eclipse again, but nothing happens.

How can I work with ADT plugin in Eclipse?

9条回答
仙女界的扛把子
2楼-- · 2020-02-05 18:01

I just had the same problem on windows 7 running Indigo. I eventually discovered that I had accidentally not run Eclipse as an administrator when I installed the ADT plugin. I solved the issue by uninstalling the ADT plugin, and then re-installing the ADT plugin when running Eclipse as an administrator. Once I did that Eclipse restarted and immediately prompted me for the location of my android SDK.

As far as steps go:

  1. Run Eclipse as Administrator
  2. Go to Help > About Eclipse SDK > Installation Details
  3. Select Android DDMS, Android Development Tools, Android Hierarchy Viewer, and Android Traceview
  4. Click Uninstall and click through the dialogs
  5. Restart Eclipse at the prompt
  6. Close Eclipse and re-run it as an administrator (not sure if this was necessary but I wanted be sure Eclipse had full permissions when I reinstalled the ADT Plugin)
  7. Re-install the ADT plugin the way you did before.
  8. Restart Eclipse at the prompt.
查看更多
该账号已被封号
3楼-- · 2020-02-05 18:01

If you are going to reinstall as administrator make sure to remove the ADT Plugin from the Windows > Preferences > Install/Update > Available Software Sites.

Also something that may help is when installing the ADT Plugin you get the option for Developer Tools which the http://developer.android.com/sdk/installing/installing-adt.html guide tells you to select, but make sure to also select NDK Plugins.

And as usual do this while running as administrator. It probably doesn't make a difference but instead of clicking restart I closed Eclipse and reopened as administrator each time it was necessary.

As far as I can tell the NDK Plugin was the only thing I did differently when I finally got it to work.

查看更多
老娘就宠你
4楼-- · 2020-02-05 18:07

I have Ubuntu , to make story short, I tried every advice here, nothing helped (reinstall, ADT removal- adding, run as sudo, deleting .eclipse folder etc). The cause of problem was running eclipse updates.

So, I downloaded ADT bundle as zip - adt-bundle-linux-x86_64-20130729 unpacked it, run eclipse inside it, used existing workplace, and it worked, 'android' option appeared in Preferences. However, there is no longer 'eclipse' splash logo at start-up, it's now called Android Developer Tools Build: v22.0.5-757759

查看更多
仙女界的扛把子
5楼-- · 2020-02-05 18:08

The real solution to this issue is that you MUST run Eclipse as an Administrator before you install. There are a number of plugins that have this same issue.

查看更多
叼着烟拽天下
6楼-- · 2020-02-05 18:09

I encountered the same problem today, and a simple removal of the installed plugin is not helpful. My final solution is:

  1. Remove the Android DDMS, Android Development Tools, Android Hierarchy Viewer, Android TraceView and Tracer for OpenGL ES first.

  2. Remove the com.android.ide.eclipse.adt.package_version_info and other adt related jar directory under eclipse_home/plugins/. It is very easy to recognize based on its version_info on its name.

  3. Modify the artifact.xml under eclipse_home, remove all artifact tag related with 'adt'.

  4. Reinstall Android ADT again with Admin Privilege.

查看更多
贼婆χ
7楼-- · 2020-02-05 18:10

You should install start SDK package (download), after that install android packages by windows/SDK manager. After that you§ll see everything you've mentioned

查看更多
登录 后发表回答