cant install android studio on Mac OS X Yosemite - android

iam a newbie programmer and i want to learn about the android programming using Android Studio SDK.
But here i problem when installing Android Studio on my Yosemite, it doesn't appear any error report. Like ussual, i download the installer from Android.com, and mount the .dmg file, after that i move the android studio installer to the application folder like the instruction there. But, when i click the android studio icon on launchpad, it just appear warning from gatekeeper, then i allowed (click open) but after that doesn't happen anything. The app (maybe installer) just disappear.
Please gimme a simple answer. Thank You.

Related

Android Studio on MacOS : AVD button is grayed

I am a complete beginner of Android Studio and I'm trying to create my first Hello World program unfortunately I can't click on AVD Manager icon as it was disabled on my mac. Hope someone can enlighten me what should I do to get it turn on.
Much appreciated. Thankyou.
You will require system images to download, It will make the avd manager available for you for creating new divices on it.
best advice is let you update it with selecting all components and let it download and make that all available for you.
Be cautious. you should have java installed on your mac before installing android studio. Android studio will automatically find the path of your installed java and will complete its installation.
How to install and update on mac? Once you open android studio, Look below on main small screen, configure->dropdown-> sdk manager and update

Android Studio AVD Manager button is disabled

I'm very new to Android development and have never used Android Studio before. I set it up, got my app working on my phone and left it alone for a few weeks. Upon returning, I could not find the Android Studio executable on my computer, so I reinstalled it and restarted on the same project.
Not sure if this has to do with the AVD Manager button being grayed out. Things I have tried:
Making sure my SDK path is correct
Running Android Studio as administrator
Launching the AVD Manager executable from windows. I can create a virtual device but doesn't affect disabled AVD Manager button when restarting Android Studio.
Installing Intel X86 Atom System Image and Google APIs in SDK Manager, under API 24.Everything under API 25 is installed.
Any help is appreciated. Thank you!
This generally happens when Android Studio is not able identify the android sdk installation in the machine. This could happen if Android Studio is launched in non-Administrator mode.
Just close and relaunch Android Studio in administrator mode. You will see a saying "android framework is identified" Click on the configure link on that notification. The AndroidStudio will start configuring the android sdk. After some time the buttons would be visible and enabled.
If you tried running the Android Studio in administrator mode and it still do not work for you try the following way.
Delete the .idea folder in the project
Re open the project from going to File->Open Recent->
Then you will be asked to convert the project
Click convert
For anyone seeing this problem following the React Native tutorial make sure to click the "Configure" button in the Event Log next to the log text that reads "Frameworks detected: Android framework is detected in the project"
This action seems to be what configures the project to be an Android project.
I'v solved this issue by updating gradle.
It is simple
The only thing that worked for me was that I clicked in Androidstudio in the top right on SDK Managar.
And there under android sdk it was so that there was no path entered. and it was also so that NO Check box was checked below.
So I had to first click in the top right on Edit thereby was written to me the path pure.
After that I had to select a chack box below it no matter whiche and sometimes it must then just install something. When it has finished installing click OK. It may be that you then have to close and open android studio again.
I was having this issue on a new machine running MacOS High Sierra.
After installing Android Studio and the most recent SDK/
SDK Tools, I was unable to create any AVD from Android Studio (button greyed out, no option under Tools) or run the AVD Manager any other way.
I tried the same things the OP had done, then noticed I was getting the following error: Gradle sync failed: Failed to find Build Tools revision 26.0.2
From the Event Log I followed a link to download the Build tools and now it works!
If you are working on Flutter, Follow the steps:
Open Settings in Android Studio (CTRLALTS)
Search Flutter
Check may path of Flutter SDK is not available.
Set the path and press OK.
Done! Thank you
I tried the answers here, but the only solution for me was to restart my machine and it fixed itself. It happened after upgrading AS (from 4.0.2 to 4.2.2)
in android studio or intellij program:
goto tools > android > SDK manager
click on Edit (android SDK location)
click next and next
close dialog
its ok.

There is no selection to install Android Studio

Tried to install Android Studio, I run android-studio-bundle-143.2739321-windows.exe. The "Android Studio Setup" window appeared with 3 selections:
Android Studio(without tick), Android SDK(with tick) and Android Virtual Device(with tick).
That means I cannot install Android Studio?!
Do you know what is wrong?
Thanks a lot for your help!
Install intelliJ instead of android studio cause its faster and if you ever want to do html,css,java etc, you can do that.
https://www.jetbrains.com/idea/

Android SDK Installed, but adb.exe Missing

After my Visual Studio install suddenly lost the ability to deploy my Xamarin app to an android emulator, I decided to uninstall EVERYTHING (Visual Studio, Xamarin, Android SDK) and start over.
Everything has been re-installed, but the Android SDK does not include the adb.exe file. The place where I expect to find it is here:
C:\Users\costcopc\AppData\Local\Android\android-sdk\platform-tools\adb.exe
What went wrong? How can I fix this?
I opened a cmd.exe prompt and searched the entire drive (C:>) to find the file - it doesn't exist.
Re-Tracing My Steps
In case it helps, I will retrace my steps...
Uninstalling
I un-installed Xamarin first, according to instructions. I wanted a blank slate so, per those instructions, I also uninstalled:
Android SDK Tools
GTK#
I did not uninstall the Java SDK because, as my very first link explained, I had already used a system restore point to recover a stable version of the Java SDK.
Next up was Visual Studio. I used its installer for the uninstallation, and then I followed the post-uninstall "Secondary installer" instructions it gave.
Re-Installing
I re-installed VS 2015 first, then I launched the Xamarin Studio installer, which in turn installed the Android SDK for me:
With everything seemingly installed successfully, I launched Visual Studio and tried to open the Android SDK Manager with Tools -> Android -> Android SDK Manager.
It worked, but I noticed that a cmd.exe window opened and remained opened, containing a couple strange error messages.
There it is: "The process cannot access the file because it is in use by another process."
Despite the anomalies, I did use the SDK manager to install 4 more packages.
Still, I was feeling uneasy about the error messages so I figured it was time to reboot. After the reboot the situation became worse. Before, Visual Studio was at least able to launch the android SDK manager. Now it was altogether unable to launch it:
That oddball SDK path C:\Users\costcopc\AppData\Local\Android\ANDROI-1 had disappeared!
Xamarin Studio was also unable to launch the SDK Manager:
Now I chose to execute a Xamarin Studio installation "repair." Xamarin acted like the Android SDK was installed, and so it did nothing to fix it.
Again, what can I do to fix this?
I solved this issue by selecting Tools/Xamarin Account in VS 2017RC.
Then the browser opens, go into your account and download and install Xamarin from here.
I'd recommend you installing VS 2015 community ISO from here:
https://go.microsoft.com/fwlink/?LinkId=615448&clcid=0x409
after installation, open VS > tools> options > Xamarin , and check that your
SDK is detected successfully:
If something is not detected, then run android SDK manager as administrator then make sure that the SDKs are installed/updated correctly.
just Run visual studio as administrator and it will be solved(map directory up to end folder where actual tool are residing)

Unable To Launch Android SDK with Eclipse On Ubuntu 11.1

I am new to using the eclipse IDE but I installed eclipse and the android SDK and wrote a simple hello world program a few weeks ago. So I know that it was working fine.
I have since updated to Ubuntu 11.1 from the previous version on my desktop.
Now when I open eclipse and the hello world android folder and try to compile it doesn't run.
I know that I have to launch the emulator but I don't know how, I have tried by navigating the sdk folder in the /opt/android-sdk-linux_x86/tools and also can't seem to find any references to running the emulator from within eclipse itself.
I know that I am probably missing something straightforward but please help
Thanks in advance
launch the emulator from platform-tools directory.
Do you have any emulators defined? Perhaps they were deleted/lost in the upgrade. Check out Window > Android SDK and AVD Manager.

Categories

Resources