Android : Visual Editor For Eclipse With ADT Plugin?
Sep 26, 2010
I thought ADT should come with a visual editor for building GUI : http://stackoverflow.com/questions/851882/easy-way-to-build-android-ui However, I just cannot find it. I was wondering where is the Visual Editor for Eclipse with the ADT plugin. I can run HelloWorld application without problem. However, whenever I click on main.xml at the left navigation tree layout folder, here is what I get. What I wish to get is a WYSIWYG editor.
View 4 Replies
Aug 8, 2010
This is probably related to this question. I want to know if anyone else gets the same error as me and if there is a way to get around this. I did the following: Followed the instructions from this page. From the top, go to File -> Create a new project -> Android Project -> Create project from existing sample. Checked Android 2.2. From the drop-down menu picked SkeletonApp. Clicked finish. From the package explorer, went to SkeletonActivity -> res -> layout -> skeleton_activity.xml. In the tabs at the bottom of the editor area (editor area is the center of the screen) clicked on Layout. Then I got the error "ClassCastException: android.widget.EditText cannot be cast to andoid.text.ViewGroup". The full text of the error message is given below.
java.lang.ClassCastException: android.widget.EditText cannot be cast to android.view.ViewGroup
at android.view.LayoutInflater.rInflate(LayoutInflater.java:619)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
at android.view.LayoutInflater.inflate(LayoutInflater.java:296)
at com.android.layoutlib.bridge.Bridge.computeLayout(Bridge.java:397)......................
View 1 Replies
View Related
Mar 3, 2010
Looking at the search results on the internet and on this group,I find several mentions of the problem. Eclipse crashes while opening layout in the editor.
View 2 Replies
View Related
Oct 29, 2009
Relative noob working with Eclipse and Android.I just switched from Windows XP to Mac (Snow Leopard) and I'm having a little trouble getting Eclipse up and running the way I like it.I installed the Android Mac SDK, but my layout editor isn't showing me a preview of the activity layout, it's just showing me the XML tree, even when I'm on the design tab.Is there something I need to do to enable the layout editor in eclipse?
View 3 Replies
View Related
Feb 27, 2009
System config is MacOSX with default JDK 1.5.0_16. Eclipse 3.4 The problem is I have a project in workspace that has been developed under JDK 1.6.I don't really want to switch back to 1.5 ( i' would have to clean up a LOT of @Override ) but if i work with this project, after couple of rebuilds - eclipse layout editor not able to display preview. Work around i found so far open android project that is in compliance with Java 1.5. Close everything else and rebuild workspace. But it's kind of annoying to do it every time.
View 2 Replies
View Related
May 28, 2009
I'm porting an app of mine to work better with API 1.5, and I'm having problems with the layout files where I'm using an AutoCompleteTextView (and, naturally, MultiAutoCompleteTextView). Whenever I have them present in a layout, the graphical representation of the layout disappears, and "NullPointerException: null" replaces it. Is there any way I can view a widget such as this in the Eclipse editor? It definitely worked in the 1.1 SDK, otherwise I wouldn't have used them.
View 2 Replies
View Related
Jan 30, 2009
I can't seem to get anything back from https://dl-ssl.google.com/android/eclipse/ - even accessing from a browser just gives a 404.
View 6 Replies
View Related
Feb 27, 2010
I'm new to Android & Eclipse. I've downloaded Eclipse and the Android ADT and created an ultra-simple "Hello World" app (has only auto-generated .java and .xml files). Eclipse CRASHES (closes after a very brief pause) when I do the following: In Package Explorer, select AppName/res/layout/main.xml Press, or double-click, or 'Open With' then 'Android Layout Editor' (The app runs OK in the Android emulator) My configuration is:
Android Development Tools 0.9.5.v200911191123-20404 com.android.ide.eclipse.adt.feature.group
Eclipse IDE for Java Developers 1.2.2.20100216-1730 epp.package.java
Windows XP
Can someone tell me what I'm doing wrong or what's wrong with my configuration? Any suggestions on what to check? For any non-trivial app development I need to be able to use the Layout Editor. More ... I can select main.xml and Right-Click and 'Open With' any of: XML Editor, XML Schema Editor, Text Editor -- with no problem. The problem is limited to Android Layout Editor.
View 3 Replies
View Related
May 11, 2010
Has anyone figured out how to scroll the contents of the Layout Editor when those contents overflow one "screen"? I'm talking about at design-time while using the ADT Layout Editor, not scrolling at run-time on a physical device (that works fine).
View 2 Replies
View Related
Jul 17, 2010
Is there a (simple) way to completely and utterly disable all Java formatting in the Eclipse editor?
That is an Eclipse question, but I appreciate your indulgence because this problem is slowly driving me insane. I am spending a lot of time fixing code to make it look good again after it gets mangled by the automatic formatting. I thought I had removed all formatting keyboard shortcuts, but I missed something because my code keeps getting changed. I suspect the culprit to be the SourceFormat menu option because that can be triggered by Alt-S-F which is very close to Alt-F- S, the File/Save command.
So a little finger slip and code mangled. Unfortunately, the mangling is not always done where I am looking (since it is applied to the entire file), so I don't always know to undo it. Is it possible to disable or remove a menu item?
View 8 Replies
View Related
Jun 3, 2009
I'm trying to develop plugin for eclipse that should draw my custom view inflated from XML. Everything works fine until eclipse tries to instantiate any class from android.jar library. It fails with Runtime exception without any other helpful information (stub!).
View 2 Replies
View Related
Jan 31, 2010
I am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation performs without any errors and I can verify that the plugins are indeed installed. My problem begins when I go to Windows -> Preferences, there is no Android section to configure. And when I go to File -> New -> Project, there is no Android Project to choose. I have uninstalled the plugin and reinstalled at least 10 times, trying different things and still no luck. I originally had the 64 bit version of the JDK installed, but removed it and installed the 32 bit version. Is it because I am using Windows 7?
View 3 Replies
View Related
Nov 8, 2009
I installed ADT plugin to Eclipse 3.5. But at Window -> Preferences Android node is not shown.
View 6 Replies
View Related
Apr 28, 2009
I've updated from 1.1 to 1.5 following
http://developer.android.com/sdk/1.5_r1/upgrading.html
0.9 ADT plugin was successfully installed. The Android plugin doesn't present in Window -> Preferences options. So I can't perform step "Update your Eclipse SDK Preferences". Using fully updated Eclipse Ganymede 3.4.2
View 7 Replies
View Related
Mar 30, 2009
In the layout editor in Eclipse, I have created a custom view. For some reason, there are a few methods which cause NoSuchMethodError exceptions in the code. Here is the code in the initializer of the custom view:.............
View 2 Replies
View Related
Aug 17, 2010
My eclipse galileo was working fine till morning; when i checked for updates for it and also updated the ADT then it asked to restart eclipse. Now i cant see any kind of Android options/menu in eclipse. But i can see ADT in installed software. Even if i open my old projects in the workspace, eclipse is unable to recognize any of the Android classes.
View 2 Replies
View Related
Jul 25, 2010
Ive no doubt this question may have been addressed before but how can I turn on a framerate monitor to use when I run my programs using the android emulator so I can see exactly what my android game is achieving at a given time?
View 1 Replies
View Related
Nov 10, 2009
I am trying to install the ADT plugin to eclipse SDK (Version: 3.5.1 Build id: M20090917-0800) but is giving the below error: I have tried the links
"https://dl-ssl.google.com/android/eclipse/" and "http://dl-ssl.google.com/android/eclipse/". Also tried manually downloading the plug-in (ADT-0.9.4.zip) and installing, but all of them give the same error(below).
MESSAGE An error occurred while collecting items to be installed! SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-11-09 17:14:13.904 !MESSAGE session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=). !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 4 2009-11-09 17:14:13.904 !MESSAGE Result of processing steps. !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4 0 2009-11-09 17:14:13.904 !MESSAGE Unpack facility not configured !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 4 2009-11-09 17:14:13.904 !MESSAGE Result of processing steps. !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4 0 2009-11-09 17:14:13.904 !MESSAGE Unpack facility not configured !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 4 2009-11-09 17:14:13.904 !MESSAGE Result of processing steps. !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4 0 2009-11-09 17:14:13.904 !MESSAGE Unpack facility not configured !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 4 2009-11-09 17:14:13.904 !MESSAGE Result of processing steps. !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4 0 2009-11-09 17:14:13.904 !MESSAGE Unpack facility not configured !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904 !MESSAGE OK !SUBENTRY 2 org.eclipse.core.runtime 0 0 2009-11-09 17:14:13.904
View 2 Replies
View Related
Apr 28, 2009
Can someone confirm or let me know if it's a problem with my setup where the 0.9 eclipse plugin will complain about not finding the SDK even if the workspace has no Android projects in it? I work on a few projects and many of them don't have Android apps involved, so it's a little annoying to get the popup on every single workspace.
View 7 Replies
View Related
Feb 25, 2009
I'm not sure what's going on, but I tried to post this before, and it didn't show up. If this is somehow a duplicate, I apologize.
Has the ADT repository been deleted or moved? I've tried entering the URL in Eclipse and it can't find it, and I tried just browsing to the page, and I get a 404 from google. I've tried both https and http with no success. Any help would be greatly appreciated! What should have been a 1 hour (max) activity (setting up Eclipse and the Android SDK on a new machine) is now dominating my day.
View 2 Replies
View Related
Mar 17, 2010
I've been trying to make a new Android project in Eclipse. But whenever I try to do so, it won't let me select a build target. Here's a screenshot: http://twitpic.com/198od6
View 3 Replies
View Related
May 7, 2009
We just updated the ADT Eclipse plugin to 0.9.1.
The new plugin provides the following changes: - Added an AVD creation wizard to ADT. It is automatically displayed during a launch if no compatible AVDs are found. - Fixed issue with libs/ folder where files with no extension would prevent the build from finishing. - Improved error handling during the final steps of the build to mark the project if an unexpected error prevent the build from finishing. - Fixed issue when launching ADT on a clean install would trigger "org.eclipse.swt.SWTError: Not implemented [multiple displays]." - Improved error handling when parsing manifest when the <uses-sdk> node is present with no (valid) minSdkVersion attribute (error shown would say "null")
To update from Eclipse, simply use Help > Software Update as usual or visit the download page at http://developer.android.com/sdk/adt_download.html
View 2 Replies
View Related
Apr 5, 2010
I would like to see the implementation of Android Development Tool (ADT) plugin for Eclipse, but I cannot find the sources in the repository. Time ago, they where under [/platform/development.git] / tools/eclipse.
View 3 Replies
View Related
Dec 4, 2009
I have just updated my ADT plugin in Eclipse Ganymede to latest version of Android SDK. But, after having downloaded the updates, applied changes, restarted Eclipse, the Android SDK no longer loads. The Android project option in New Project disappeared. It is the second time that happens to me. Every time that I update the ADT plugin, it no longer loads in Eclipse.
I also noticed the same issue after having tried to also install the plugin for Blackberry development. After the install, all Android related features disappear. When I try to reinstall the Android DDMS and Android development tools again, it says it is already installed.
Is there an easy way to resolve the issue without having to reinstall everything again from scratch?
I run Windows Vista Ultimate, Eclipse Ganymede.
View 2 Replies
View Related
Apr 27, 2009
I am having trouble updating my Eclipse Plugin to 0.9 ADT. Whenever I try to install, I get the errors:
An error occurred while collecting items to be installed No repository found containing:
CODE:.............
I am using the "http://dl-ssl.google.com/android/eclipse/" site because the "https" version won't work at all for me now.
View 8 Replies
View Related
Jul 25, 2010
I have got some problem trying to install ADT plugin for eclipse.I have download Android SDK, added the path to system variable $PATH
$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/ user/.android-sdk-linux_86/tools
In eclipse I have did exactly like in "Downloading the ADT Plugin" section "Eclipse 3.5 (Galileo)" , and it was finish succesfully, no error then, in "Configuring the ADT Plugin" section, I cant found "Android" from the left panel in Window > Preferences.
View 2 Replies
View Related
Feb 22, 2010
I just installed the latest version of Eclipse IDE for Java Developers together with the ADT plugin on my Mac (2.8 GHz, 4 GB Ram).
- Opening new files from the package explorer.
For example, opening a layout xml file takes 1-2sec- And the mouse pointer changes.
- Switching between tabs
- Resizing views in the workspace
The performance rapidly decreases when I open more files. Are all of you developing under these circumstances? How can I speed up eclipse?
View 4 Replies
View Related
Jul 15, 2009
I want to obfuscate my android code. I have installed the "obfuscate4e" plugin, but how do get it to obfuscate my code?
View 3 Replies
View Related
Apr 22, 2010
I've just set up my first Android development environment consisting of
Eclipse 3.5
Mac OSX 10.5
Android SDK for x86 macs
ADT Eclipse plugin 0.9.6
I've set set $PATH to my SDK/tools directory (which shouldn't matter if I only use Eclipse right?) and started Eclipse, but when I try to set the path to the SDK in Eclipse, i get the error "parseSdkContent failed". The stack trace of from the thrown exception is
CODE:........
I can't see that I've missed anything in the setup process, according to the instructions it should basically just work out of the box. Any ideas as to why this might fail?
View 1 Replies
View Related
Aug 29, 2010
I've tried to search for similar problems, but can't seem to find it.
I run:
Windows 7
Java SE Developement Kit x64
Eclipse Helios (downloaded here from Eclipses homepage --> Downloads --> Eclipse IDE for Java EE Developers --> 64 Bit)
"Android SDK Windows"
I've been following the guide from the Android Developers homepage.
I can launch Eclipse just fine. Under Help --> Install New Software ...
Here, I give it a name myself (Android Plugin Test), and under location, I've typed "http://dl-ssl.google.com/android/eclipse", as said in the link.
Then it find Developement Kit, and I install it and all that & restart Eclipse.
The following are now installed:
- Android DDMS
- Android Development Tools
- Eclipse IDE for Java EE Developers
So everything seems fine.
BUT ..
When I go to Window --> Preferences, "Android" is missing.
I have no problems seeing General, Ant, Data Management etc.
So my question is, what's the problem ?
As said, I downloaded Android SDK, but when I try to run the setup, I get this error, about missing Java:
And that's where I'm lost.
Because, under installed programs, it says:
- Java(TM) SE Developement Kit 6 Update 21 (64-bit)
And yes, I have restarted after installing Java.
For some odd reason, it's not possible for to run the SDK setup with any compatibility. It's greyed out
(Yes, I'm admin, and I don't have any problems on other programs)
I checked the Requirements for Android SDK, and it says Windows XP & Vista, but not 7 .. But as far as I know, other people got it to work.
View 2 Replies
View Related