score:14
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:
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
Source: stackoverflow.com
Related Query
- ADT will not allow creation of Android Activity
- Android Eclipse Juno will not allow me to update software. ADT 22 from 20
- ADT still not allowing creation of Activity
- Android SDK and AVD manager will not run from Eclipse after upgrade to SDK 5 and ADT 0.9.6
- Android ADT error, dx.jar was not loaded from the SDK folder
- Android ADT version 22, R.java files not generated
- Eclipse android project not creating blank activity
- android emulator in ADT plugin not running
- Android R.java will not generate in Eclipse
- android eclipse not creating blank activity
- Eclipse Android Activity Wizard Not Creating New Activities
- android virtual device manager(avd) not working in latest adt v21
- Android Java Emulator . . WARNING: Data partition already in use. Changes will not persist
- android - Unable to instantiate activity - ClassNotFound - Fails on one eclipse but not other
- The Jar of this class file blongs to container Android 2.0.1 which does not allow modifications
- Eclipse: R not found after updating Android ADT to revision 23.0.5
- OpenCV Android NDK Project will not build
- Android development on eclipse: activity 1 changes to activity 2 fine, not 3
- New Blank Activity Android Application Not Working
- Eclipse Indigo does not allow @Override for non Activity overwritten methods
- Android Emulator and AVD will not run on Surface Pro
- Disabled "Finish" Button in Android ADT r21.1 New Activity Wizard
- Android Map V2 map load in one activity but not in other two
- Android ADT Eclipse: com.android.common and com.android.ex imports could not be resolved
- Android Device Monitor will not start
- Android Manifest File Not Picking Up Default Launch Activity
- Android Emulator Debugging, Code will not Update
- Using TelephonyManager in Android in a class that is NOT an activity
- Android ADT is not recognized in Eclipse Neon.2
- adt eclipse and libGDX android launcher not working
More Query from same tag
- Eclipse system.out
- Importing fxcontrols jar file into eclipse doesn't work
- It should be possible to navigate and edit the filter of NatTables using the keyboard only (no mouse required)?
- Eclipse - maven warning when using parent project resources folder
- How to make material navigation bar in android application
- Getting a org.springframework.beans.factory.BeanCreationException with my first Maven, Spring Project
- SQLITE "Database is locked" (Java - Eclipse)
- Difference between Eclipse Europa, Helios, Galileo
- Internet access within Android App - Using phonegap and Eclipse
- Unable to debug simple Java application in Eclipse. Cannot connect to VM. AGENT_ERROR_TRANSPORT_INIT(197)
- iOS automation with appium on Simulator
- Do you need to close Eclipse before running gradle eclipse task?
- what is this error on open declaration?
- EGit clone from and push to GitHub
- How to load a class from annotations processor in eclipse?
- Eclipse Can I make a FIXME comment show a little blue bar like a TODO comment does
- While debugging in eclipse the code navigation buttons get disabled, the stackframe also is not visible
- "Class Cast Exception" when trying to set image frames to background
- Zend studio error - Exception while removing a file from index
- Eclipse: R not found after updating Android ADT to revision 23.0.5
- HTML WYSIWYG editor in Eclipse PDT
- Compatibility of EGit - or are there alternatives?
- Using web services from http://www.webservicex.net with Java
- How to pass spring config file as inputstream into the ClassPathXmlApplicationContext
- strange compilation error with maven 'actual and formal parameters differ in length'
- SharedPreferences ToggleButton not saving
- How can I send/export the whole content of a variable to a text file/xml file/clipboard?
- How to bypass SSL certificates issue in JBOSS REST ClientRequest
- Symbols render fine in Eclipse Debug mode, but print incorrectly
- Eclipse can't create new AVD