Eclipse and intelliJ android SDK questions - java

I have previously installed intelliJ 13 and android SDK and configured correctly. Now I downloaded Eclipse with built-in ADT(in that with all default components), which also includes essential Android SDK components (API 19). When I opened AVD Manager in Eclipse, it showed the AVDs that I created previously when using intelliJ. I opened the SDK Manager in Eclipse folder, and it showed that
Although I can see in Eclipse
My question is whether Eclipse and intelliJ shared the same ADT Manager source folder and why the Android SDK Manager in Eclipse showed that components in API19 are not installed.

If you open the Project Structure dialog File | Project Structure in IntelliJ you will be able to view Platform SDK settings. Check to see if the paths are the same for both IDEs

Related

How to set eclipse for android development?

I just downloaded java JDK 8 and set the environment variables for JDK and JRE, downloaded android SDK extracted them directly to C: (there were no platform tools so I used the command line to download them) and also set the environment variables. And I downloaded eclipse oxygen and I installed new software for ADT Plugin. When I set preferences I referred to the SDK folder and hit apply but nothing seems to happen like no SDK targets are listed. Hhuhuhuhuhuhuhu T^T I have deleted everything from Java, SDK, eclipse and downloaded them all again while disabling my antivirus but that didn't fix it. I also cant open my Android SDK Manager using eclipse, like it shows that it's loading but after that nothing happens even if I wait for 10 mins nothing shows up on screen, not even the command line that seems to just flash briefly which is what most people are having problems with when I search google. Can someone please tell me what to do?? I'm mainly using eclipse for android projects in school
By the end of 2015, Google ended the development and official support for the Android Developer Tools (ADT) in Eclipse.
As stated by Google, every app development project should be migrated to Android Studio.
So you should migrate your eclipse project to android studio.

How can I install "Android Support Library" to deploy a Gluon Mobile application to Android?

I would like to develop an Android app using the Gluon Mobile framework.
I installed the Gluon plugin in my Netbeans IDE, created a sample project and built it successfully.
Now I would like to deploy the app to an Android device. I'm referring to the online documentation [1]: http://docs.gluonhq.com/charm/4.2.0/#_getting_started
As in [1], section "2.1.3. Android", I downloaded Android Studio 2.2.3 and installed the build-tools version 23.0.1 and the SDK Platform for API 21 from the Android SDK Manager.
However I can't see/install the "Android Support Library" from the Extras menu (Yes, I marked the "Obsolete" box).
Not surprisingly, I get the following error message, when I use "right click on my Netbeans-Project -> Tasks -> android -> android":
FAILURE: Build failed with an exception.
What went wrong:
Failed to capture snapshot of input files for task 'mergeClassesIntoJar' during up-to-date check.
java.io.FileNotFoundException: C:\Users...\AppData\Local\Android\sdk\extras\android\support\multidex\library\libs\android-support-multidex.jar (Das System kann den angegebenen Pfad nicht finden)
Indeed, the file "android-support-multidex.jar" is not available since the "Android Support Library" is not installed.
How can I install the "Android Support Library"?
Any help is very much appreciated!
It has been asked here and here, but since the answers are in different contexts, maybe it's worthy having a summary here.
Up until version 1.2.0, the jfxmobile plugin has been working with the obsolete Android Support Library.
Now this library is not only obsolete but not available any more for download.
The current version of the jfxmobile plugin is 1.3.2, and it includes the required changes to work without that library, and use the multidex-1.0.1.aar library instead.
To make it work, just follow these steps:
Open the Android SDK Manager and make sure you have installed Extras/Google Repository and Extras/Android Support Repository.
Make sure you have this library: ANDROID_HOME/extras/android/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.aar.
Now on your project:
Update the build.gradle file of your project to use the jfxmobile plugin current 1.3.2 version
If you add to the android configuration the android SDK path, you should move it to a properties file. For that, just create a properties file under C:\Users\<user>\.gradle\gradle.properties, and add the ANDROID_HOME variable: ANDROID_HOME=C:/<path.to.Android>/sdk. And remove the androidSdk from the android block if it was added.
Save and reload your project so the new configuration takes place (On the projects tab, root of the project, right click, Reload Project).
EDIT
If you are on Windows, make sure that Android SDK is installed under a location where gradle will have enough permissions to create folders and extract the .aar file.

Android folder not being created by eclipse

On my new computer I downloaded eclispe Luna (4.4.2). I tried to install android on it (by going to https://dl-ssl.google.com/android/eclipse/ and installing all). It was installed, so I restarted eclipse and got the message:
Could not find SDK folder
And no android folder got created in any of my drives (its a new computer so I searched in any directory)! I removed eclipse, downloaded it again and tried and the same happend. I uninstalled DDMS and reinstalled it and the same happend. I uninstalled it and opened eclipse as administrator and reinstalled it and the same happend... If I click on Window -> Android SDK Manager I get that message and nothing happens.
What am I doing wrong? What am I missing? I am using the same workspace I used in my old computer that had worked fine with android (tough I used eclipse keplar, so when I opened the new workspace eclipse asked me to upgrage and I agreed).
Please don't tell me to move to Android Studio - my project in eclipse consists of many multiple sub projects and I really don't want to configure it a new (why the hell do we have Gradle?!)
It seems like you have only downloaded the plugin for eclipse. You also need to download the SDK from http://developer.android.com/sdk/index.html#Other
You should install Android SDK separately.
Here is the link to the page that will show you to install eclipse, adt and sdk.
Hope this helps.
I am assuming you are on a windows computer, so in Eclipse do the following:
Window -> Preferences -> Android
In the Android tab, there is a field saying "SDK Location". You can click browse and find where the folder "android-sdks" has been downloaded in your computer.
Set the path to that folder as "SDK Location"
It should be working now.
Usually the "android-sdks" folder is found under: C:\Users\< your-username >\android-sdks if it was downloaded from the ADT pluggin: https://dl-ssl.google.com/android/eclipse/

Android eclipse plugin

I am looking into using android plugin in eclipse.
I can't understand the instructions:
Once Eclipse restarts, you must specify the location of your Android
SDK directory:
In the "Welcome to Android Development" window that appears, select
Use existing SDKs. Browse and select the location of the Android SDK
directory you recently downloaded and unpacked. Click Next.
What recently downloaded SDK?
It's easier to just install the ADT bundle, it comes with the SDK, ADT and eclipse all bundled together. So all you have to do is download, unpack, install some packages and run eclipse..
here is the URL developer.android.com/sdk/

My android sdk not opening up

I downloaded the package and unzipped it. When I click SDK application,black screen blinks for a fraction of second but sdk interface doesn't open.When I open it through eclipse, an error says "An outline is not available"?
There are 3 components in the package, namely Eclipse folder, SDK folder and SDK manager application.
The SDK application does not show the android icon. So I think there's some problem with the application.
Check out these snapshots :
snapshot1
snapshot2
I have the latest version of JDK installed. It's X64 for 64bit OS.
Did you try window-->sdk manager? if it didn't work either try copying the sdk application and paste it in the sdk folder and try again
https://developer.android.com/sdk/index.ht
Get Eclipse as well as SDK from this link it contain both
After Installing JDK just open Eclipse from Eclipse folder it will automatically take SDK location.
I recommend you to download Eclipse ADT version 22.6.3, you can download it from:
http://dl.google.com/android/ADT-22.6.3.zip
Also,if you can't launch the SDK there are two ways, go to SDK - tools - android.bat, it will launch the SDK :)

Categories

Resources