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:

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


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.


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.


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:


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.


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

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


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 & activity_main.xml

and search.,

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


The comment see comment by NewShelbyWoo solved the issue

Related Query

More Query from same tag