Mac Install android studio on external ssd - android-studio

We have a mac with lowest available memory (125 GB). Would like to install/run Android Studio and projects on an external SSD. If possible, Please share steps/guide to do the same.

I am using VSCode on my mini-mac on an external drive. I installed VSCode first, then moved it to the external drive by dragging/dropping it without an issue.
The only problem I ran into is Flutter would not run properly on external drive. I had to install flutter on the actual mac.
A quick google for android external drive install:
https://ishouldgotosleep.com/daily-learn/install-android-studio-external-ssd-flutter/

Related

Im unable to install Intel HAXM file in Android Studio 2021.3.1, in Windows 10 OS

I tried to install through SDK Manager in Android Studio 2021.3.1 but it did not have 'Extras' folder as suggested, so couldn't go further. I also tried to install setup manually in C:\Users\User_Name\AppData\Local\Android\Sdk\extras\intel but it gave the error: "System Requirement Not Fulfilled". I also tried through BIOS by changing the virtual environment but luckily I saved myself from crashing my OS. Please help to solve my problem.

Aldebaran's Pepper sdk for android/Robot sdk 0.9 "Robot SDK'0.9' is not complete. Please download it again or re-create the robot application."

When trying to install the android sdk for Aldebaran's pepper robot on my computer following this official tutorial:
Step 1: android.aldebaran.com/doc/installation.html
Step 2: android.aldebaran.com/doc/create_project.html#create-project
When trying to launch the Virtual Robot Environment of Pepper's tablet on my computer this message is printed: "Robot SDK'0.9' is not complete. Please download it again or re-create the robot application."
So far I have tried the following on my Ubuntu 16.04 64bit computer:
Uninstalling and re-downloading/installing the Robot sdk over the robot sdk manager provided by the android sdk for Pepper
Uninstalling and re-downloading/installing the android sdk for Pepper
Deleting, recreating and creating the android studio application turning it into a robot application
Removing other non essential android sdks
Moreover I also tried the following on another computer running windows 8.1 64bit:
Repeating the tutorial installation
Downloading and installing older version such as 2.22 and 2.11 of the android studio and repeating the tutorial installation.
Each time after I have completed Steps 1 & 2 when I want to start building or launching the application it fails on step B from this tutorial: android.aldebaran.com/doc/run_debug.html#run-debug and prints the Error mentioned above.
The project structure is identical to the one in the tutorial and I am able to sync the project via maven. But as I cannot actually launch the virtual robot environment or run the application I cannot make use of this sdk.
I have also found a similar question being asked on stackoverflow but there hasn't been a response yet. Also I don't understand the comments.
stackoverflow.com/questions/42824942/robot-sdk-0-9-is-not-complete-please-download-it-again-or-re-create-the-robot-a
I tried using another computer with windows 10 64bit freshly formatted so I installed Java jdk & jre 1.8.0_121 and android studio 2.3.1 as I couldn't find 2.3.3:
Repeated the tutorial installation
But still the same error message.
I got mine to work doing the following:
go to your current android SDK folder
rename the tools folder to tools-old
create a new Folder named tools
download this: https://android.googlesource.com/platform/prebuilts/android-emulator/+archive/android-7.1.1_r1/windows.tar.gz
unpacke it into your new tools folder
Make sure you have your AVD Options set to arm and not x86
and that "Use Host GPU" is enabled
After that the emulator worked.(note that it takes quite long to launche)
The suspected cause is that the Pepper emulator tries to use the emulator-arm.exe wich is not availible in the standart installation of Android Studio
You should try installing Android Studio 2.3.3 on Windows 10, 64-bit. I know that works at least.
I got this working finally thanks to theGary's hint above. No need to wipe out your whole tools directory though -- I was able to get the x86 Pepper emulator running (on Mac in my case) by copying these files and directories from the Android sdk/emulator directory into the sdk/tools directory:
emulator64-x84
qemu
bin64
lib/pc-bios
lib/ca-bundle.pem
Then edit your run/debug configurations and change the “robot app” AVD options from armeabi-v7 to x86.

How to run Android Studio from USB flash drive in Ubuntu

I'm trying to run Android Studio from a USB flash drive in Ubuntu. The laptop only has 15GB of hard drive (Chromebook converted to Linux) I installed jdk locally, but Android Studio I unzip it onto the flash drive. (No problem installing) but when I run Android Studio and create a project, the Gradle in the design area doesn't start and gives me an error (permission problems)…. Has anyone successfully ran Android Studio from a USB flash drive and can share the right configuration?
You are probably using a FAT filesystem on the USB and that's causing the permission problems.
Reformat it as ext4 and you should be fine.

Unable to create a virtual device: Unable to create Android virtual device

While installing Android studio 2.1 version and it downloaded the required components and end of the detailed view logs it shows,
Android SDK is up to date.
Running Intel® HAXM installer
Intel HAXM installed successfully!
Creating Android virtual device
Unable to create a virtual device: Unable to create Android virtual device
I'm running Android studio for the first time in Windows 7.
Screenshot:
And after opening the Andriod studio and running a sample app, I get the error
Error while waiting for device: Could not start AVD
Why is it unable to create a virtual device and how can I solve the problem?
All what you can do with that screen is just to click finish.
The problem that you may get as a result is failing in creating a first Virtual Device for you because its config file is either missing (not created) or corrupted !
So what you would do is just to create your own new Virtual Device and delete the corrupted one!
Even though I don't know what exactly caused the avd creation problem in a new laptop. I did exactly the same thing as user #Jamalla posted. I clicked finish and tried to run my sample app in the existing emulator. As Jamalla pointed out the config.ini file was corrupted. So I deleted the existing AVD and created a new one. But I couldn't start it either because my VT was not enabled in my BIOS.
After enabling my VTx in BIOS menu I was able to start the AVD with no issues.
I had a problem running emulator on OSX El Capatain. It turned out .android directory owner was root. I have changed the ownership resolved the problem.
I am running a 64-bit version of Ubuntu, I installed some 32-bit libraries as stated in installation instructions on the Android Studio web page with the following command:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
After the above command I reinstalled the Android Studio the problem disappeared.

Can't find Genymotion.app

I am unable to test my application on Android studio via genymotion.
Genymotion warning: You must specify the path to the Genymotion folder to use this feature.
when trying to location Genymotion.app I get this error: "Cannot find Genymotion in the specified path"
this is the path I entered for genymotion.app:
C:\Users\Rua\AppData\Local\Genymobile\Genymotion
On Mac,this is my solution:
/Applications/Genymotion.app/Contents/MacOS/player.app
Using Windows
First off, you need to install Genymotion. Go to https://www.genymotion.com/#!/pricing and download and install it.
The default path is on Windows
C:\Program Files\Genymobile\Genymotion
And that's what you enter in the Android Studio prompt window.
Using Mac
Following this tutorial, the default path on Mac seems to be
/Applications/Genymotion.app
If you already installed the Genymotion and VirtualBox, you can add
/Applications/Genymotion.app
when you click Genymotion Device Manager in Android Studio.
Verified on MacBook Pro (OS X 10.11.6 EI CAPTAIN).
if you are receiving this error that means that you do not have the genymotion app installed on your Mac
you can to download a .DMG file from here and install it by double clicking on it
you can try and run the installed app but it still won't run as it is missing the underlying virtual machine tool
to run genymotion you need virtualBox Guys at genymotion have mentioned their preferred choice as 4.3.12 which you can download from here
Once downloaded you can double click on the .DMG file and then the .pkg (package file) and then follow the normal installation procedure
once you have the virtual box installed then you can run the genymotion app and you will get there was supposed to be an image here
I was posting an image which would have helped you but SO says i need 10 reputation points to post images. then i decided to help you by posting an imgur url and SO says i need 10 reputations to post more than 2 links
kind request to SO either give me more reputation points or make it easy for me to help others
Now you Gennymotion is finally installed just go ahead and create a new virtual device
and once you have created a new virtual device you can access that device from the Gennymotion Android Studio Plugin
Hope this helps

Resources