Android Studio no installation wizard - java

I have downloaded the latest Android Studio and when I run studio64.exe it opens Android Studio as a standalone application, however I would like to install it to my system.
The website says there is an installation wizard however I get taken straight to the Android Studio start screen. Is there still a way to install it on a Windows machine?

Turns out that Android Studio is now portable - like Eclipse. In other words, there is no installing, you just get the zip file, which contains everything you need, such as the executables that run Android Studio. You'll need to store this folder somewhere relevant and create a shortcut to the studio(64).exe file to run it from desktop/start menu.
The SDK is also no longer bundled with Android Studio, so that will need to be downloaded separately.
As of this post the Android Studio installation instructions by Google are out of date.

you can get the sdk manager as stand alone installer.once installed you need to run it as "administrator", than only it will be able to download and install packages and api's. follow the given below link:
http://dl.google.com/android/installer_r23.0.2-windows.exe

Check if its in compatible mode with your OS version of your machine. Right click on the downloaded bundle > Move to properties> Compatibility tab> Select Compatibility tab> Tick the check-box- Run in Compatibility mode> Select your OS version from the drop down.
You will get the set up wizard :)
Worked for me :)

Related

Android Studio wizard not showing up

I've installed Android Studio on Arch linux with the android-studio AUR package, but when I run android-studio I get this:
It's just an empty window with a gray portion. How can I get it to open the wizard properly?
Some Linux distributions doesn’t work well with some programs. Check parameters of your system for opening apps. But you can simply uninstall it and try it again. If the problem was not cleared try downloading another version of android studio. Check apps properties file if it’s not corrupted. If not helped ask Android studio devs. Or try updating you’re Linux.
I had this issue with my wm bspwm, when I changed the session for a desktop environment like kde, it works.

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.

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 :)

How do I set my Java SDK when creating an Android project in IntelliJ?

I'm trying to get an Android project running in IntelliJ by following the JetBrain instructions here but run into an error message when trying to Select the Project Template (step #2). The error is
"Cannot Create SDK
You need to configure a Java SDK first".
I'm doing this on a mac and followed the first page of instructions before the ones linked above. In particular:
I ran the command tools/android update sdk --no-ui from the terminal after downloading only the Android SDK content. I mention this because it says to "run the SDK Manager", but I see nothing of the sort in what I've unpacked. Running the aforementioned command downloaded and installed many Android API versions and revisions.
The JDK I downloaded was jdk-7u17. I installed it; is that all I need to do?
The error for "configure a Java SDK first" comes up when I press the "New..." button in step 2. Does anyone know how I can configure my Java SDK? Is there something I missed or that is missing from the JetBrain instructions?
EDIT: Apparently, a file browser comes up after clicking OK. This confuses me further, as it accepts setting my JDK location but what I want is to view an Android project. My Android SDK is in the folder named "android-sdk-macosx", but that's not bringing up the Android options when it's selected. How do I get to the Android templates?
Have you downloaded some of the Android SDK's? Try running tools/android sdk (this opens the SDK manager) and download one of the SDK's. Then add this to your project.
Have a look at the IntelliJ documentation, which explains how to setup your SDK.
You have to setup a JDK first (see also Setting up JDK 7 for IntelliJ on the Mac), then you will be able to open your Android project.

Unable to create Android Virtual Device

For some reason, the OK button is not clickable when I try to create an AVD. Does anyone know what I'm doing wrong?
Simply because CPU/ABI says "No system images installed for this target". You need to install system images.
In the Android SDK Manager check that you have installed "ARM EABI v7a System Image" (for each Android version from 4.0 and on you have to install a system image to be able to run a virtual device)
In your case only ARM system image exsits (Android 4.2). If you were running an older version, Intel has provided System Images (Intel x86 ATOM). You can check on the internet to see the comparison in performance between both.
In my case (see image below) I haven't installed a System Image for Android 4.2, whereas I have installed ARM and Intel System Images for 4.1.2
As long as I don't install the 4.2 System Image I would have the same problem as you.
UPDATE : This recent article Speeding Up the Android Emaulator on Intel Architectures explains how to use/install correctly the intel system images to speed up the emulator.
EDIT/FOLLOW UP
What I show in the picture is for Android 4.2, as it was the original question, but is true for every versions of Android.
Of course (as #RedPlanet said), if you are developing for MIPS CPU devices you have to install the "MIPS System Image".
Finally, as #SeanJA said, you have to restart eclipse to see the new installed images. But for me, I always restart a software which I updated to be sure it takes into account all the modifications, and I assume it is a good practice to do so.
Had to restart the Eclipse after completing the installation of ARM EABI v7a system image.
This can happen when:
You have multiple copies of the Android SDK installed on your machine.
You may be updating the available images and devices for one
copy of the Android SDK, and trying to debug or run your application in another.
If you're using Eclipse, take a look at your "Preferences | Android
| SDK Location". Make sure it's the path you expect. If not, change
the path to point to where you think the Android SDK is installed.
You don't have an Android device setup in your emulator as detailed in other answers on this page.
For Ubuntu and running android-studio run to install the packages (these are not installed by default):
android update sdk
I had the same problem while creating AVD with 4.2.2 images, I resolved it by doing the following :
Check if there exist a "default" folder in adt-bundle-windows-x86_64-20131030\sdk\system-images\android-17.
If it exists then move the contents(downloaded system images) of the "default" folder to
adt-bundle-windows-x86_64-20131030\sdk\system-images\android-17.
Hope this helps.
I want to update this question with a screenshot of a recent Android Studio. It took a bit of poking around to find where to install new system images.
You get to the SDK Manager through one of two paths.
Option 1. Tools > Android > SDK Manager
Option 2. Android Studio > Preferences > Appearance & Behavior > System Settings > Android SDK (This is for Mac; adapt for others.)
In the pane "SDK Platforms," check the "Show Packages" box to see the system images.
Select the ones you want, click "Apply" and voilà!
I had to move the folders inside a folder named "default" to the android-## folder so Eclipse could see the images.
There is a new possible error for this one related to the latest Android Wear technology. I was trying to get an emulator started for the wear SDK in preparation for next week. The API level only supports it in the latest build of 4.4.2 KitKat.
So if you are using something such as the wearable, it starts the default off still in Eclipse as 2.3.3 Gingerbread. Be sure that your target matches the lowest possible supported target. For the wearables its the latest 19 KitKat.

Categories

Resources