Problem adding Android platform to NetBeans 6.9 - android

I've been using Netbeans 6.9 quite happily with Android for a few months but I completely wiped my SDK yesterday and now, after reinstalling it, I can't get Netbeans to create the Android platform. I can select the platform okay but once I press FINISH nothing ever appears in Netbeans. I've even re-installed Netbeans but no joy.
Could someone post the contents of their platform XML file for Android? I'm thinking I can just enter this file manually and have Netbeans pick it up.
Any other ideas greatly appreciated!

I had the same problem with netbeans 6.9.1, mine was related with some incompatibility between 32bit and 64bit java.
I have Win7 x64 and also had java x64. removed x64 java and installed x86 java without reinstalling netbeans probaly caused the problem
This solved it for me.
uninstall netbeans
uninstall all java jre and jdk's
reinstall 32bit java
reinstall netbeans
reinstall nbandroid

I can only recomend you use Eclips for developing for android.
2 major adventages are:
1. Easly install JDK wich is spesific for eclips.
2. You get an emulator built in, making debuging even fun ;)

on one forum i found:
simply cut and paste the yourandroidlocation/platforms/android-1.1 (what you prefer, your current android platform) folder to the yourandroidlocation/. no files will be overwritten and now the android.jar and the other folders are on the right position.
it solve for me....hi

Note that this whole thread is obsolete now. The current version of android plugin for NetBeans ( http://www.nbandroid.org ) does not register Android platform in Java platform manager. Instead it looks into .properties files in your project to find Android SDK location and target platform that is used to build your project.
-Radim

Related

Android sdk for Intellij IDEA

I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them.
I've done:
unzipped it to C:\Android\android_sdk\
renamed "tools" folder to "tools-sdk"
executed
C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
Executed:
C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
First of all make sure you'be setup JDK properly. If not, you can download it from here.
Now go to Android Developer official site and download Android Studio.
If you are already done with above mentioned points the few point you might be missing.
When asked to choose the JDK (not SDK) you need to choose the Java JDK which you've installed earlier. Should be under C:\Program Files\Java\jdk{version}
Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at C:\Program Files\Android\android-sdk-windows.
Please let me know if it didn't help.
Reference:
https://www.jetbrains.com/help/idea/2017.1/getting-started-with-android-development.html
I had the same issue. I tried downloading sdk via android eclipse setup process. Eclipse automatically downloads the sdk. This sdk has a gui sdkmanager and can be used in idea as well. Here is the link to download eclipse.
(Android Studio installed on my computer.)
As i see users missed a point while installing android SDK.
You should show the Android SDK at AppData folder to IntellijIdea.
C:\Users\Your_Username\AppData\Local\Android\SDK_Folder.
References: https://www.jetbrains.com/help/idea/prerequisites-for-android-development.html
https://www.jetbrains.com/help/img/idea/2017.2/AndroidSDKManager.png
You can download the android SDK from this link here. I hope it should be helpful that link.

Android ADT 20.0.2 not registering in Eclipse

I'm trying to add the Android ADT plug-in into eclipse. It downloads and installs fine, there are no errors, but the changes don't show up when I restart eclipse. I'm using Juno but I have tried this on Indigo as well and got the same problem. I am working on windows 7, 64 bit.The eclipse versions are 32 bit.
I've tried running as administrator, moving the folder to c:/eclipse..., running from the command line with eclipse -clean. I've tried new installs multiple times.
In help - about eclipse - Installation Details - Installed Software, Android Development Tools shows up. When I go to windows - preferences, android doesn't show up on the left. I can see the com.android.ide.eclipse.adt_20.0.2.v201207191942-407447 file in the plug-in folder along with the other ones.
To install Eclipse, all I did was download the zip, open with windows explorer, and move the eclipse folder into the desktop. The file structure is unchanged.
I also tried deleting .eclipse and.android folders in the c:/users.
And I tried downloading the zip file to my desktop and installing software with the archive button. No luck.
Just wondering, do you need the Android sdk to be installed before the ADT?
Hoping its something simple. Thanks for your help.
I use Win7 64 bit as well, Eclipse (indigo and Juno) 32bit and ADT and working ok.
I am using Eclipse for Java Developers
On Installed Software you should see for the ADT: (make sure you installed all when Installing new software) You need all items that are shown except the NDK except if plan to code in C++;
Mine shows this on Installed Software:
Android DDMS
Android Development Tools
Android hierarchy Viewer
Android Traceview
Also remember you need the android SDK for development which is a separate installer.
http://developer.android.com/sdk/index.html
I'm not sure what the problem was but I installed 64 bit Juno and 64 bit Java JDK. I removed older jdk's which may have been part of the problem. For whatever reason, it's working now. Thanks.

No Android Project option on Eclipse Juno

Alright, same problem as here: "Android" missing in my "Eclipse Juno 4.1" preferences
But in my case, i already had the ADT installed ( i think?)
But, when I go to preferences or start a new project, there is no option related to android, what could i possibly did wrong?
Just uninstall the Android packages in eclipse and then re-install them, this likely occurred because the Eclipse packages were being installed whilst or before the Android SDK was downloaded and installed.
Did you install the android sdk before installing the plugin in Eclipse?
Is what I do yesterday and it works. First install de sdk and later install the plugin in eclipse.
Alright, i got it to work, even though i am not too sure which one did the trick, but what I did is change everything to 32-bit version (I was using 64-bit version). This includes the uninstalling JDK and eclipse and re-installing the 32-bit version of them (and of course, restarting the computer, even though i did this before).
It is working now, but I'm not sure if it was the re-installing of JDK or switching to 32-bit version that solves the problem.
Thanks, very helpful :-). I tried a lot of things ... I used the Classic version instead of the JavaEE one, tried Indigo instead of Juno ... set a different JDK ... but in my case eventually downloading the 64-bit version of Eclipse did the trick! So maybe the JDK and Eclipse must be compatible somehow ...
After some distress I found it under File -> New -> Other -> Android from the menubar. Now to figure out how to get it under the New menu directly.

problem installing ADT for eclipse

I have installed Eclipse on my laptop - it seems to be the Indigo version. The I tried to Install new software. I entered the https://dl-ssl.google.com/android/eclipse url into the Work With box. After pending resolved itself I then pressed next and now have a view of the items and an error saying that a shared profile (maven) is missing. I am stumped as to what to do next!!
The Android SDK works fine with Indigo, and providing you started from a clean Indigo installation, the update site you mentioned should work just fine.
I would suggest downloading a fresh copy of Indigo, hold off installing any other plugins and trying again with that update site. Works fine on my windows 7 machine.
(it's also a good practice not to re-use existing eclipse installations for Android development. IMHO its better to setup a dedicated eclipse installation for it to ensure that other plugins / dependencies mess up the install).
I had the same problem.
Instead of just picking some other versions od ADK and hoping the best, I recommend to take the whole Eclipse + Android set from Google. With this you will get co-working peaces of your IDE. It's not very techy way solve this problem- but it WORKS! Just remember to uninstall your old Eclipse first.
So from here you will get the whole package:
http://developer.android.com/sdk/index.html
""With a single download, the Eclipse ADT bundle includes everything you need to begin developing apps:
-Eclipse + ADT plugin
-Android SDK Tools
-Android Platform-tools
-A version of the Android platform
-A version of the Android system image for the emulator""

Android Plugin for Eclipse problem

I am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation performs without any errors and I can verify that the plugins are indeed installed. My problem begins when I go to Windows -> Preferences, there is no Android section to configure. And when I go to File -> New -> Project, there is no Android Project to choose.
I have uninstalled the plugin and reinstalled at least 10 times, trying different things and still no luck. I originally had the 64 bit version of the JDK installed, but removed it and installed the 32 bit version.
Has anyone heard of this type of problem? Is it because I am using Windows 7?
Thanks for any help.
tbneff
Have you tried doing the following and have it manually install from there:
Help -> Software Updates -> Add site -> http://dl-ssl.google.com/android/eclipse
I didn't see it on the website regarding if the ADT or the SDK is not compatible with Windows 7.
When you said you installed the 32-bit version, did you get it working or not at all?
maybe you have space in your Eclipse or Android SDK path? do not use spaces in path. I had similar problems and that's because spaces.
I encountered the same problem on my Mac, and found out what my problem was. When I was futzing around with stuff I had renamed the config.ini file in the eclipse/configuration folder. When I renamed it back to config.ini and restarted eclipse everything Android was back in the menus for me.

Categories

Resources