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.
Related
I have a problem with Android 0.4.2 Studio, when creating a new application, it tells me there is a problem with the rendering and shows me the following problem:
Renderering Problems
No Android SDK found. Please configure an Android SDK.
My setup SDK and JDK is this: Android SDK location: C:\adt-bundle-windows\sdk, I put the path I use in Eclipse SDK, or there may be the problem, if someone has happened and what has been fixed, I'd like to give me the solution, thank you very much.
I just encountered and solve a similar problem.
First you should check the directory like other threads described. Then you can check whether the Build tool version matches your SDK version.
(e.g. for my project, in build.gradle file, you have:)
android {
compileSdkVersion 21
buildToolsVersion "21.1.1" }
and then open you SDK manager, make sure you have the same version of sdk(21.1.1) installed in the selected directoriy:
If not, install it and restart Android Studio. It works for me.
I've also seen other guys saying run Android Studio as administrator would also help:
https://teamtreehouse.com/forum/i-am-getting-this-warning-message-rendering-problems-no-android-sdk-found-please-configure-an-android-sdk
I got the same "No Android SDK Found" error message... plus no rendering for Design window, no little cellphone screen.
My SDK path was correct, pointing to where the (downloaded during setup) SDK lives.
During Setup of the SDK Mgr, I didn't download the latest "preview edition (version 20)"...(I thought it better to use the next most recent version (19)) Later I found, there was no dropdown choice in the AVD Manager to pick Version 19, only the default value of the preview, 20.
I thought "Maybe the rendering was based on a version that wasn't present yet." So, I downloaded all the "preview edition's (version 20)" SDK Platform (2) and system images (4)...
Once download/install completed,
RESTARTED Android Studio and Viola! success... error message gone, rendering ok.
From the File menu, choose Project Structure (if you're running 0.4.4 there's a bug and the menu item doesn't have a title, but it still works), and choose the Android SDK item. You should see something like this where you can set up your JDK and SDK.
After setting it, quit Android Studio and relaunch it for good measure.
i have just discovered, android studio 3.0.1 has no sdk during the installation. because during the installation, it doesn't give sdk as part of install able unlike in recent versions of android studio.
Don't worry just change the
build.gradle
ext.kotlin_version = '1.2.41'
to previous version.
It worked for me hope it works for you too.
Happy coding.
According to the Android Studio download page, the SDK comes bundled with Android Studio. It has its own copy when you install Android Studio.
ADT is a plugin for Eclipse. Try reading through that webpage to see if there is something that got missed when installing.
Here is the wording from the site, regarding ADT:
Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging.
I wanted to share a part of the issue I had because it is the first google result.
I installed Android Studio, when I tried to install my first SDK from the SDK Management windows I got the error that I didn't have any SDK installed.
I tried to look on the internet to manually download the .zip,manualy create the folder, no luck what so ever.
When I tried to run the Android Studio as an administrator it detected I didn't have any SDK and prompt me right away at startup to download a SDK.
Do following steps
a) Change minSdkVersion and sync gradle
b) Revert back your minSdkVersion and sync gradle again
It will be resolved.
These days, Android Studio setup do not provide SDK as the part of original package.
In the context of windows, when you start Android Studio 1.3.1, you see the error message saying no sdk found. You just have to proceed and provide the path where sdk can be downloaded. And you are done.
Here is the solution just copy your SDK Manager.exe file at the root folder of your android studio's installation, Sync your project and cheers... here is the link for details.
running Android Studio on Windows 7 fails, no Android SDK found
Try make New Project, and then choose same android version that you've installed sdk verions on "Target Android Device" dialog.
In my case, error message gone.
I had the same problem, Android Studio just could not identify the android-sdk folder. All I did was to uninstall and reinstall android studio, and this time it actually identified the folder. Hope it also works out for you.
Download android sdk through this sdk manager https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
(note this link is for mac)
open android studio, click next, open where it ask to add path where u downloaded sdk..... add it... click next, it will downloaad updates..... and it done
Right now, the last version of Android Studio bundled (Windows IDE bundle with SDK (64-bit)) with Android SDK is version 2.3.3:
https://developer.android.com/studio/archive.html#android-studio-2-3-3
which size is about 2GB.
You can use it and then upgrade to the latest version of Android Studio.
I am on Mac Os. In my case, my host file was black. I added following entries (these entries should be there by default, but they weren't).
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
After re-running android studio, it prompted the sdk download.
I fixed this bug changing the proxy configuration:
No proxy → Auto-detect proxy settings
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.
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.
I've just upgraded to the Android SDK rev 20 and since then no way to install the ADT plugin in Eclipse 3.7.2. Although the package (Android DDMS, Android Development Tools) is referenced in the Eclipse installed software, I don't have shown-up any Android project or perspective, at the point that I can't set the SDK path in Windows/Preferences ...
I've also tried to re-install, nada. Accessory: Linux Ubuntu 12.04
Thanks for help!
SDK r20 works only with ADT r20 so you have to update your ADT too.
To update your ADT do the following procedure :
In eclipse go : Help -> Install New Software...
Now in Work with field type this link https://dl-ssl.google.com/android/eclipse/
Now press enter. You will see some items in list view below. Select all and press next.
Now accept the agreement an click next.
This will update your ADT. an you should be able to see it in eclipse
For more information see : Android Developer Site
I was having the same problems on Ubuntu 12.10.
I found that this was due to the fact I was using Java 1.5. After upgrading to Java 1.7, the problem disappeared
What JVM is your default on Ubuntu? ADT requires a JVM that can handle keystores correctly. Using Sun Java 6 is fine.
Besides that, ADT has optional dependencies to some of the Web Service Tools (WST) for the XML editing related features. Maybe you can check whether that is correctly installed?
And if nothing else helps: Eclipse 3.8 and 4.2 have been released 6 days ago, so just using a fresh installation of Eclipse 4.2 together with ADT 20 might be the best choice in the long run.
We had a similar problem.
Solved it by going to Help -> Check For Updates.
Deselect everything except the items that specify version 20. Can't remember the exact list by heart.
Then click next and follow instructions.
Should sort out the problem.
Edit:
The most important one is the "Android Development Tools" itself from that list.
The other 3 Android are also important.
Setting the "-vm" option in eclipse.ini with a JDK 1.6 solved the problem for me.
Trying to uninstall/install did not help.
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