score:14

Accepted answer

If you updated to Android SDK Tools version 22.6, you are required to Update DDMS Tools and Plugins.

Go to "Help Menu Bar" -> "Install New software" and install (this will update it) url: https://dl-ssl.google.com/android/eclipse/

Also update "Developer Tools" and "NDK Plugins" to latest Version. This steps is useful for me and worked also.

score:0

When you upgrade to SDK tools by 22.x you need to upgrade ADT plugin. follow these steps to upgrade ADT:

Help > Install New software install

add the below url and click on next.

url: https://dl-ssl.google.com/android/eclipse/.

But some times it complaining about conflicts, in that case,

First uninstall the existing ADT plug in. and try again.

To Uninstall Existing ADT plug in:

Help>About Eclipse Platform> and delete the pluging.

now follow the above steps.

score:0

workspace has to be set to the the SDK folder. After doing this, I have had no problems. For example, after downloading and installing Eclipse, my directory structure is as follows:

/Users/username/Development/adt-bundle-mac-x86_64-20140702/
    /eclipse/
    /sdk/
        /HelloWorld/

It's annoying because the default workspace was set as documents/workspace (changing permissions with chmod 777 workspace didn't work in my case. Plus it's inconvenient that all my projects are mixed in with other folders in the SDK folder.

score:0

With Luna and ADT plug-in version: 23.0.4.1468518 there is a patch available right now to fix:

https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=82393

Just follow directions near bottom to uninstall and download and install the issue as archive|local

score:3

It's new feature of ADT 22.6.2

Even in "None" theme ADT(22.6.2) create "Fragment Layout"

There is four ways:

Try to change "Target" and "Compile" to API 14 or higher. But you need then remove all entries of "Fragment Layouts"

Uncheck "Create activity" checkbox, and create activity manually. Good howto: Best way to add Activity to an Android project in Eclipse?

Downgrade to 22.3.0 for example

Try to change templates. In link below you find howto.

I use third way for my apps with APIs lower 14. In different directories I have installed 22.3.0 and 22.6.2

There in 22.6.2 is some other bugs with blank files and problems with AVD. New version of ADT really buggy...

Look also this links:

ADT blank activity created with fragment activity..

Eclipse doesn't generate MainActivity.java & activity_main.xml

and search.,

https://stackoverflow.com/search?q=adt+22.6

i followed those steps to solve the above problem. Hope this is work's,Thank you :)

score:6

The comment see comment by NewShelbyWoo solved the issue


Related Query

More Query from same tag