Android Studio Doesn't work - android

I create a standard project in Android Studio, but... when I click finish, just doesn't start the project.The main window still there and the project can't see in Recent Project.
If I open recent projects I can see the project o tried to create but empty.
What's happened?
I share 4 photos.
1 more picture

I have to choose a different API to create a project and solve the problem. I usually use API 14, now i start the 90% projects with API 15 and that solve the problem. I hope the answer help another people.

Related

Creating a Xamarin Android F# project

Visual Studio 2015, Update 3.
Create a blank solution. Choose Add New Project -> Visual F# -> Android.
Create either a Blank App (Android) or a Unit Test App (Android).
The app is created successfully.
Right click on References, and choose "Add Reference". The following dialog box pops up:
Note that when you look at the Project Properties, there are two "Application" tabs. The second one generates an error:
Once the project has been unloaded, it can no longer be reloaded. The resulting error message is:
I have reported this on the Xamarin Forums, but the process is slow. I'd like to find a workaround, but I'm fumbling in the dark. Once I've unloaded the fsproj file, I can't find any mention of "frameworkName", and I can't reload it either.
My Android settings appear to all be up to date:
Does anyone know of any workarounds that will allow me to start unit testing my existing app?
I believe I have a fix for this issue :)
Xamarin expects F# 3.x to be present, which at this point must be manually added. You should be able to download F# 3.x here
Please let me know if this fixes the issue for you.
Thanks!
Edit: I have filed the following bug as well: https://bugzilla.xamarin.com/show_bug.cgi?id=42970

Couldn't find the project type when creating a project in Android Studio

I think this is probably a basic question, but I just could not find the button. I was trying to create a new Android project from the starting page. But when I click on New Project it gives me a page with the options of Java, Maven, Gradle, Groovy Griffin... instead of the familiar starting page with Blank App, Google Map, etc.
When I opened a previous project, it opens Tags like C:, Users, Android, etc. The image is below:
Any idea how do I find that page back?
You may need to update the SDK first, by SDK Manager.
Don't know what happened, but I closed Android Studio for one day. When I opened it the second day, it got back normal. (I also closed all project when closing the Studio.)

Problems referencing Facebook SDK in Android app

I have been trying to use FBConnect in my app but whenever I try to reference the SDK, it doesn't quite do it.
This is the screenshot
Please help. I am stuck for past 4 hours. Nothing found on google or here on SO
Refer to this page: http://www.mobisoftinfotech.com/blog/android/845/. Seems like you should add the JAR file. What you did here is add a library - an open project in Eclipse that serves as a library for another project.
Clarification: when you click add, you see "FacebookSDK". It shows as valid until you close the properties dialog. Then when you open the dialog again, it has a red X next to it.
If that is what is happening to you... I ran into the same thing a long time ago. The facebook sdk needs to be in the same parent folder as your project.
For example, if you are running out of c:\users\me\workspace\my cool project,
the facebook sdk needs to be in c:\users\me\workspace\facebook-android-skd-2.0.2.b
No idea why, but after beating my head against the wall over this for a couple of days I figured it out.

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.

Android: Graphical Layout not working - doesn't show anything

My situation is: I once made an android project(2.2 version) but soon needed to format my computer. After formatting, I downloaded eclipse again but when I imported my project, I wasn't able to use the 'graphical layout' menu for xml. It doesn't show me anything like the picture below.
http://img525.imageshack.us/img525/3586/19978552.png
I cleaned the project and updated the Android SDK, however, none of these seemed to work well. What could be causing this?
Try restarting Eclipse. Usually that solves the problem for me when that happens.
Right click on your layout xml file and select Open With -> Android Layout Editor. It will force eclipse to open file in android's layout editor mode
None of above worked for me. what worked for me is:
1- Select a Google APIs Project Build Target rather than one of the Android X.X ones. This setting is in right click on project -> Properties->Android.
2- Make a change in XML and save it. Now switch back to "Graphical Layout" and it will show the layout.
For some, only 2nd step works.
This Question was asked 3 year ago, I am sure that you have get your solution, however i was also facing the same problem but got the solution in eclipse, here it is:-
1)Goto help->AboutEclipse->Installation details.
2)check the version of Android DDMS, Android development tool, Android hierarchy viewer, Android native development tool, Android trace view and tracer for openGl ES in installed software tab.
3)If they have different version than you have to update all of them.
4)Goto help->check for update in eclipse and follow the instruction.
5)Then restart eclipse.
This solve my problem.
The topic seems a little bit cold, but I wanted to add it nonetheless.
I had a similar problem with my layouts recently. When i create a project it automatically creates the layouts in the latest version of Android (eclipse shows it as version 22 of android as of today). But i can't see anything. So i just change the version to, say 18, and it shows ok. Furthermore if i want to change it back to version 22 it throws and exception, saying that a class can't be instantiated. (I am probably missing a class or a library on my system.)
Therefore if you cant see the layout it might be a good idea to switch back to earlier versions for development. cheers.

Categories

Resources