Why does Project/Properties/Android not work in Eclipse? - android

I have a problem when I select any project then I go to Properties and then select Android. The problem is that when I select Android it remains loading.

I had this problem before and i know what i'm gonna say is somehow weird but it worked for me.
After opening Properties window and before clicking on Android re-size the window as small as you can such that you still can see the Android label to click on it :D, click the Android label and wait for 1-2 seconds then re-size the window again. i hope it works with you too.

Try to install the latest version of Eclipse. That should solve the loading issue in the Android project properties window.

Related

How can I see all my code without scrolling in Android Studio? (I mean all code in one page without scrolling)

You know scrolling in code is very annoying
is there any solution to get rid of it?
I mean I want to preview my code ALL in one page without any scrolling.
You can go to settings and set font to the least one.
go to android studio settings -> plugins; and search for codeGlance . install plugin and restart your ide. and voila.

Items Don't Display in Android Studio Blueprint or Design

so I'm trying out Android Studio for the first time, and I've already run into something. I'm following the official "first application" tutorial on developer.android.com, but it's not matching up. So, I tested this with two apps, and it wasn't like a bug in the first one exclusively, it happened in both. Here's a pic of an app where nothing has been changed and I followed the tutorial exactly:
As you can see in the hierarchy, it is supposed to have the Hello World text that displays when you make a new app. However, with me not changing anything, it's not showing up.
Any ideas?
Also to clarify, the items do show up when I run it on my device, it just doesn't show up on the computer.
Check the upper right corner of the Preview screen, you should see a red warning mark. Click on that and it will tell what is preventing Android Studio from rendering your layout.
Some times android studio stuck or something.Try doing
File->Invalidate Caches/Restart
The best solution is
Clean Project
Rebuild Project
In your style.xml file change the string parent with the below line:
parent="Base.Theme.AppCompat.Light.DarkActionBar"

Android studio 1.4 opens new project wizard with empty screen- can't create new project

I downloaded android studio 1.4 and now when i try to open a new project a window opens with "new project wizard" written on the frame of the window, but the window itself is white and empty, and I cannot create a new project.
No errors are showing any where.
Old projects open just fine.
Previous version 1.3.2 worked just fine.
Tried updating, tried uninstalling and installing, tried on different occasions,
tried SDK path- it was correct,to no avail.
please help me :(
For me, When i try to click install SDK tools, that it open a Wizard with white color, What I did means just resize that White wizard. It automatically appeared as a default one.I think this will sure help for you.try this. thank you
try to re-size the window , right click on the frame and choose size then use the mouse to make the window smaller , I have encountered same problem before and resolved using this solution

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.

Can't preview Android XML layout - LayoutLib is too recent. Update your tool?

After upgrading the Android SDK through the AVD manager, I cannot preview XML layouts any longer in eclipse for Android 2.2 previews. Eclipse says, "LayoutLib is too recent. Update your tool!"
Using the drop-down and choosing any other platform works fine. Why is this happening for Android 2.2 previews?
I have also updated the ADT plugin for ecplise as well. Any suggestions?
This is a bug: http://code.google.com/p/android/issues/detail?id=17369
Updating from 10.0.1 to 12.0.0 resolved this issue for me.
In Eclipse, Help --> Check for updates
You'll likely see three items to be updated to 12.0.0+. Install, restart Eclipse, and the layout view should display without error.
More of a fix than an answer, or a fix with no explanation: r-click on the res\layout*.xml file you want to open, select Open with, then select Android Layout Editor. That should open the .xml in the graphical layout/design view you're used to.
For whatever reason, after updating from 10.0.1 to 12.0.0, my layout viewer default changed to XML Editor (one of the options under the context menu referenced above), and I have to manually open with different editor. Opening manually selecting Android Layout Editor seems to set ALE as the default for that .xml file going forward.
I had the same issue. Went in Eclipse->Help->CheckforUpdates. Selected everything there and hit next. Keep hitting next until finish. The update will start at the bottom right hand corner. Will also ask for permission. Press "OK". Will restart eclipse and problem is solved. I guess there was a bug with ADT but whatever this update fixed it.

Categories

Resources