Android SDK missing in Intellij Idea Community After installation - android

I am not able to resolve the error of Android SDK missing in Intellij-idea i tried as instructions mentioned in the image also i searched it on google and also tried some methods of stack overflow but it's still not resolved so please if anyone know then suggest the solution for it...enter image description here

This post (How do I set up IntelliJ IDEA for Android applications?) helped me, but had to download Android Studio and install the tools through the wizard when first launching the program.
Then I started IntelliJ and created a new project (not Android) and went to File>Project Structure and added a new Android SDK under SDKs. You have to choose the path to the SDK int the finder. To do this make sure Library is visible (see here: http://www.macworld.com/article/2057221/how-to-view-the-library-folder-in-mavericks.html) and go to Libraries>Android and choose to open SDK. After that I no longer had the problem of not finding the SDK when creating a New Android Project.

Related

Crazy issue with setting up eclipse for android development

I've really searched and could't find a solution for the problem, so i'm using eclipse, if i try to create a new android application project and choose full screen activity it tells me that the template depends on android support library which is either not installed or old, when i click the install/update button to solve the issue it says android support jar (android-support-v4.jar) not found, i've seen videos about modifying the build path... but i can't even create the project to change its build path, any ideas about how to solve the issue?!!

Cannot create Android app in Eclipse. Red x icon by 'Theme'

I cannot create a new Android project in Eclipse. I have already seen this question, and I did already have the SDK platform installed. I have attached a link to the screenshot below, and as you can see, it's saying to enter an application name, but I have clearly already done that.
Window->preferences->android and there set the sdk location
You could do the following
Restart eclipse and switch to a new workspace and try creating a new
project(that should fix it, as I had fixed my project the same way) if it fails then
Reinstall the SDK into different directory
Following the steps found in this other Question solved my problem, Error Message : This Android SDK requires Android Developer Toolkit version 22.6.1 or above

Getting error while trying to install Facebook SDK for Android

I'm trying to install the Facebook SDK for Android in Eclipse but I'm failing miserably.Eventually my aim is to develop a web app in phonegap and I know I have to get the phonegap plugin for that once I sort out the SDK. But Im failing at the very beginning.
I'm sure I followed all the steps that was laid out in the FacebookSDK-Android guide.Im attaching screen shot of the errors I'm getting to give you guys a better picture.I'm completely new to Android, any help much appreciated.Thanks
https://vimeo.com/69957972
http://i.stack.imgur.com/XnK4O.png
http://i.stack.imgur.com/etxPh.png
Im am getting the same error just as yours, I tried all the methods you mention here.
Same screens I was getting.
The soultion I got is:
You need to create a new clean workspace before importing the facebook SDK
Goto File>>Switch Workspace
When you enter a new path for your workspace, Now import the Facebook SDK and MUST clean the projects as:
Project>>clean
There will be no problems at all. I am now running my applications in my device too without any issues.
You already mentioned that you follow the official installation guide for the Facebook SDK, but I provided a link just in case:
https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/
When I read the guide, my eye caught onto something which might prove to be the source of the error which you experience:
You must unselect the 'Copy projects into workspace' option so that each of the sample projects retains a correct reference to the neighboring SDK. However, this means that Eclipse creates a link to the project in the SDK installation, rather than making a copy of it.
Please let me know whether or not this helps.
Try this:
Right click on the project in the Package Explorer.
Select Android tools->Add support library
Select the latest support library (current rev 13)
Accept License and press install
For the example projects. Check that the path to the library 'facebook.jar' is correct
Right click on the project in the Package Explorer.
Select Properties
Select Java Build Path
Select Libraries
Check that the 'facebook.jar' path is correct

Android Facebook SDK Can't Add Project

I have been following the tutorial found below and am having issues adding the Facebook SDK.
https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/
It occurs when I get to the stage of "Link to the SDK project and configure the Facebook app ID".
When I go to Properties -> Android -> Add and add the FacebookSDK, it seems to work fine. However when I save and close that page, and go back into it, there is a big X against the reference.
I have tried going into project properties and changing it from a relative url to a full url as such:
FROM android.library.reference.1=../../facebook
TO android.library.reference.1=/Users/michael/Documents/facebook-android-sdk-3.0/facebook
Without this working properly I can't do anything with the Facebook SDK.
I am on Mac OSX and have no idea what else to do in the Eclipse ADT
FacebookSDK project must be on the same part of HDD as the user's project.
For example:
E:\Facebook Android SDK 3.5 - FacebookSDK project
E:\Work\Restaurant - User's project
It works for me on Windows 7. Maybe, it will help you on your OS too.
Look at your console. You might have a dependency error with the android support jar. I just had this issue a couple of days ago. If this is the case you will need to delete the jar out of your main project and copy the android support jar from the facebook SDK into your project.
EDIT: if this isn't the issue let me know, I think I ran into every issue possible implementing Facebook into my app. I am pretty sure I can help get you connected.
Sorry, issue resolved. Eclipse was being odd. After restarting the program everything worked correctly.

Cannot create new Android Projects in Eclipse

Using 3.6.2. When I choose to create a new Android Project, I enter a name, 'FirstProject' but the Finish button remains hollow and I cannot get past creating the project.
I did a little Google research and found a common cause of this is that the support folder that exists in the SDK's extras folder needs to be duplicated and the duplicate named to compatibility. I've done this now, and restarted Eclipse, but this still hasn't fixed the issue.
I also read that Juno causes this problem, but I'm not using Juno.
Has anyone experienced this problem before? Very eager to start an Android App!!
EDIT: A screen of the error:
You need to choose a Build SDK. If there is nothing in that drop-down, please visit the SDK Manager (Window > Android SDK Manager) and download one or more SDK platforms and associated emulators.
Make sure you add the SDK in Eclipse otherwise you will download them all and scratch your head on why they are not working.If you launch SDK manager form SDK folder and not from Eclipse it does not seem to register in Eclipse that you have downloaded these files. Took me several hours for something that should have taken only one or so.

Categories

Resources