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.
Related
I've downloaded a new ADT version(20140702) from developer.android, but i just little bit curious, usually my ADT start with Android Developer Tools splash screen, but after i downloaded a new version, it's open as Eclipse Juno Splash Screen.
I know ADT is a plugin for the Eclipse IDE that is designed to give a powerful, integrated environment in which to build Android applications.
Thanks.
PS.
I not updated my ADT, i just downloaded from that link and run eclipse.exe as usual
I'm not sure how it's setup for the Windows version of ADT, however I'd like to share how to do it for the Mac OS version.
If your only concern is the splash screen and icon, you just have to tweak some files from the bundle.
Note: This is only tested in ADT Version 23 (20140702) downloaded from developer.android.
For the splashscreen
Go to your ADT bundle directory and open the config.ini file located in eclipse/configuration/.
Replace the following:
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
to this:
osgi.splashPath=platform\:/base/plugins/com.android.ide.eclipse.adt.package
then save the file.
And for the icon
Just edit the info.plist inside eclipse.app/Contents/ and change:
<key>CFBundleIconFile</key>
<string>Eclipse.icns</string>
to:
<key>CFBundleIconFile</key>
<string>adt.icns</string>
lastly, go to eclipse.app/Contents/MacOS and open the file eclipse.ini and modify:
-Xdock:icon=../Resources/Eclipse.icns to -Xdock:icon=../Resources/adt.icns
Hope this helps any Mac OS users of ADT out there.
The latest version of ADT has an issue. It doesn't work directly. Either use Android Studio or download Eclipse 4.4, and install ADT Plugin manually.
If you have any issue with it then you can download Eclipse from the official eclipse site and sdk from developer.android.
Using the same pc I was using before and installed all essential software that I was using before. I installed few days back it worked fine, but right now SDK not working inside eclipse.
Sdk/Avd manager works fine outside but it is not showing anything under Eclipse under windows tab. When I go to Preference there is also no Android tab. All software are 32bit and the window version I am using is also 32bit. I tried everything I could. I am not a newbie programmer.
Installed Windows again.
I Downloaded everything New and up to date to make sure no compatibility issue.
I reinstalled Sdk to make sure there is no problem.
Eclipse > Help > Software Updates
And update your version of the Android Eclipse Plugin
http://developer.android.com/sdk/eclipse-adt.html#installing
The download site is:
https://dl-ssl.google.com/android/eclipse/
I think you have not installed ADT first download it then in Eclipse Help->Install New software then install it and restart the Eclipse and use it
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""
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
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.