Cannot create new Android Application Project - android

So, I'm trying to start a new Android project, but I can't get through the first step.
Everything looks good to me, but the 'Next' button just won't light up for me.
Of note, the 'Theme' menu starts off on 'Holo Light with Dark Action Bar' and a red X next to it. This will stay red after changing it (even to 'none') unless it's the first thing I do when I get to this form. Seems weird. Anyone have any idea what's going on here?
There is nothing listed in 'Compile With', but I do have SDK Platforms installed and up to date.

I ended up trashing my adt directory and re-downloading the bundle from Google in order to get it to properly "update" to 21.1.

The problem is that the any sdk platform is not installed on your computer thats why the compile with field is empty and next button is not shown so first installed any one of the SDK platform.
Launch Android SDK manager and installed any SDK platform.

Related

Why is Android Studio not loading after successful installation?

I have installed Java JDK for Android and after successful installation of
the Android Studio bundle I wanted to start Android. The green box and yellow line all successfully appeared and after that I got
Fetching Android component information
and after that
Downloading SDK components
dialogue box appears and nothing happens. The main screen of Android Studio is not appearing. I am stuck here. I tried again re-installing but no use.
Can anyone help me out?
Unless the process stopped responding, looking at your picture it just looks like it actually is downloading.
The Android SDK is at least over 100MB, and depending on which addons and libraries you add, the download can easily double or triple that, and take a long time to finish.
I believe you should just let it keep on downloading until it's completed, as it needs to do it once before the IDE will open for the first time.

Eclipse Juno - MainActivity won't create/ missing AVD

So I'm back into the "I want to create an app" mode so I downloaded Eclipse Juno from the google developer site last night and updated most of the stuff in the Android SDK Manager. But I have two issues:
Although I can create an android project, the MainActicity java file won't create under "src" folder. I definitely get to choose which activity I want in the project creation wizard. I have no idea why this happens.
I really need to use a virtual device for my app development, but why does Juno has no device to select? Sometime last year, I remember the previous version had many choices for AVD and I could easily debug.
I am completely lost on this and actually installed Eclipse twice in the last two days thinking it's something I've done. Can someone guide me?
Thanks

Where is the graphical UI layout on Eclipse?

This is my first time writing Android app. When I downloaded the ADT bundle for the first time, everything went as planned according to the tutorial I followed. I was able to connect to my device and run my "hello world" app. Then, I closed Eclipse and later I came back to play around with Eclipse ide.
Now, I don't see any activity layout at all. I deleted my previous projects and created a new project hoping to see the activity layout or GUI for my device. I can't find it. I was planning on adding buttons or labels.
All I see is this message in the bottom:
This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
So, how do you enable or bring back the Activity layout.
Here is the screenshot:
You need to update your ADT Plugin in your Android SDK Manager to solve this problem.
These tools should be up to date

New Android Eclipse version won't get to workspace

I'm trying to start out with Android programming (I'm running Mac OS X Lion). I had an old version of Eclipse and installed ADT version 20 in it, and code didn't compile properly. Fine; I hadn't done much in there, and after reading some stuff here it sounded like the easiest thing for the long run would be to put together a completely new installation.
So I downloaded the latest version of Android, with the SDK, from the Android developer Getting Started site, and ran it (in its own directory). I loaded one of my previous workspaces and it said that one wouldn't work because the ADT was version 20 and it needs 21. I figured fine, there wasn't much in there and I'd just start a new workspace.
So I started a new workspace, and here's where the real trouble came: It gives me the start screen with newbie welcome instructions but won't go any further than that. When I try to create a new Android Application Project, it goes through the menus but as soon as I click Finish I get a please-wait circular icon, and little happens. There's a line at the bottom that says "66M of 142M" - it increases slowly into the 80s and then drops back down into the 60s, endlessly. And the links provided on the welcome page (Building Your First App, etc.) don't work - I click on them and nothing happens.
Any idea what's going wrong here? Is there some cruft left over in my system from older versions, which I should delete? If so, how should I go about doing that? If not, what else might I try to get it working?
I can't comment beneath yours because of my level, but you can help Eclipse run faster by giving it more memory. Doing this speeds things up quite a bit.
As far as installations go, maybe try Google's packaged version of Eclipse + Android SDK. The whole package is available here. It's already preconfigured to work and provides eclipse with ADT installed by default. Of course, if you already have an existing Eclipse you want to modify this won't help you too much. But if you're new to Eclipse it's a good way to get started with Android development.

Eclipse hangs while changing properties [duplicate]

Like the question says, no mater what project i try this on, old or brand new, when I right click on the project and go to properties, then select the Android tab (I want to add a library), Eclipse freezes. I have to kill it. Has anyone run into this problem or know how I might fix it?
Thanks
EDIT:
Eclipse SDK
Version: 3.6.2
Build id: M20110210-1200
EDIT:
Or is there another way to add a library. I want to try out ActionbarSherlock :)
Ok, so I don't claim to understand it, but I've tried it more than once and confirmed it. When I'd go to the Android tab in Properties, the window automatically stretches the full height of my monitor and freezes. So, I killed it and went back in, but this time, starting on a different category ("Resource" in this case), I squashed the window height down to almost as small as it could get and clicked on Android. It worked. Didn't freeze. Then I was able to expand the window to see the list of libraries. No idea what it is, but I did it several times...recreating the freeze and then the fix. Hopefully this will save someone else...
i have found the reason ,because the list of available Android sdk is too long ,the window of the property can't be drawn immediately ,so it has no response.
the solution is open the SDK Manager ,delete the old sdk platform ,such as 1.5 1.6 3.0 3.1 3.2
those are not used usualy.then restart the eclipse .it works now .
For these kind of problems you have to try the following (in the same order) and stop when it works.
Play around inside eclipse by closing and opening project, deleting and reimporting projects etc.,
Restart eclipse
Restart system
Upgrade to the latest android SDK
Upgrade to the latest eclipse version
Usually you should stop at 2. Sometimes you need to stop at 3. Occasionally at 4 and Rarely at 5.
Good luck.

Categories

Resources