All Questions
1,640
questions
882
votes
33
answers
814k
views
Set up adb on Mac OS X
I spent quite sometime figuring how to set up adb on Mac, so I figure writing how to set it up might be useful to some people. adb is the command line tool to install and run android apps on your ...
649
votes
5
answers
1.1m
views
Installing ADB on macOS [duplicate]
I had issues finding a good solid tutorial on how to setup ADB for Mac.
How can I add ADB to macOS in such a way that it can be used in the terminal?
UPDATE
For those reading this post. Yes, as ...
372
votes
22
answers
463k
views
Not able to access adb in OS X through Terminal, "command not found"
I have installed Android SDK and Eclipse on my Mac system. I am able to program using Eclipse and have created few sample applications. But I am still not able to access adb through the terminal ...
319
votes
11
answers
550k
views
Finding Android SDK on Mac and adding to PATH
I have installed Android Studio on my MacBook Air (OS Version 10.11 El Capitan) and have successfully written a small "hello, world" app and installed on device (Nexus 7) and ran on AVD. All I want ...
307
votes
31
answers
600k
views
adb command not found
I need to run an adb forward command before I could use the ezkeyboard application which allows user to type on the phone using browser.
When I run adb forward tcp:8080 tcp:8080 command I get the ...
292
votes
17
answers
95k
views
Eclipse hangs at the Android SDK Content Loader
I've been working with Eclipse 4.2 (Juno release 20120920-0800) on OS X 10.8.2 for a few weeks now, building apps for Android 3.0 and above. I have a quad core i7 MacBook Pro with an SSD, so ...
287
votes
25
answers
680k
views
Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.
I'm trying to install PhoneGap and I'm getting the following error:
Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.
...
215
votes
13
answers
235k
views
Where to install Android SDK on Mac OS X?
Where should the Android SDK be installed on Mac OS X?
211
votes
28
answers
148k
views
Android Studio was unable to find a valid Jvm (Related to MAC OS)
I am unable to start my Android Studio for Android development on Mac OS (10.10.1 - Yosemite)
190
votes
21
answers
252k
views
Android Studio/Emulator on macOS with ARM CPU M1
I started Android Studio 4.1 in macOS Big Sure 11.0.1 with new ARM cpu M1
After installing Rosetta: Yes, it builds !
But the Emulator has problems, it shows me CPU does not support VT-x
Even ARM ...
158
votes
6
answers
33k
views
Android emulator freezing OS X v10.9 (Mavericks) with HAXM
I just updated to OS X v10.9 (Mavericks), and now whenever I start up any of my emulators, as soon as the emulator starts up, my entire computer freezes with a spinning progress indicator in the ...
141
votes
17
answers
248k
views
How to fix: "HAX is not working and emulator runs in emulation mode"
Question is
I get "HAX is not working and emulator runs in emulation mode", is this related to Intel x86 Emulator Accelerator (HAXM) installation and running avd with cpu set to CPU Intel Atom (x86)? ...
136
votes
5
answers
10k
views
Android Studio 4.1.1 macOS Full Screen Error
I've got a problem after updating Mac to Big Sur 11.0.1.
All interstitial dialog windows, Device Manager, Preferences, SDK options, and etc, are not opened as interstitials/dialogs in fullscreen mode, ...
133
votes
8
answers
22k
views
Exporting APK from eclipse (ADT) silently crashes
Every time I try to export an APK from Eclipse (tried Juno and Indigo) on Mac, eclipse crashes after a few seconds
This used to work fine on my current setup.
Running the app straight (debug mode) ...
132
votes
6
answers
92k
views
Android Studio needs JDK 7 for Android-L mac
I was trying to look how my app looks in material design and I would like to use the new cards lib.
My Problem is, that it's giving me this error within my gradle file and I need to fix that.
Error:...
126
votes
17
answers
163k
views
Trying to add adb to PATH variable OSX
I am trying to develop for android and I want to add the adb to my PATH so that I can launch it really easily. I have added directories before by for some reason adb does not want to be found. This is ...
115
votes
17
answers
133k
views
Genymotion, "Unable to load VirtualBox engine." on Mavericks. VBox is setup correctly
I keep getting the following error:
I have reinstalled, deleted and tried about EVERYTHING to get Genymotion to work again.
I do not have the device I need, but Genymotion was PERFECT for the job, ...
105
votes
9
answers
42k
views
Error:compileSdkVersion android-21 requires compiling with JDK 7
While compiling i get the error Error:compileSdkVersion android-21 requires compiling with JDK 7, saying that a newer version of JDK is required.
I'm running on OS X Yosemite with Android Studio v0.8....
98
votes
6
answers
67k
views
Cordova 3.5.0 Install Error- Please Install Android Target 19
I try to get this working and it's driving me nuts:
$ cordova platform add android
The output is:
Creating android project...
/Users/doekewartena/.cordova/lib/android/cordova/3.5.0/bin/...
85
votes
6
answers
24k
views
When I start Android Emulator, the audio on my Mac desktop stops
When I start Android Emulator, the audio on my Mac desktop stops. It starts again when I close the emulator.
81
votes
23
answers
106k
views
Zipalign - Command not found - MAC terminal
When I try to run Zipalign on an apk I get the error "Command not found"
I am not that familiar with using terminal commands on the MAC but I have navigated to the SDK/Tools folder and run the ...
79
votes
10
answers
136k
views
Get SHA1 fingerprint certificate in Android Studio for Google Maps
I want to get the SHA1 key from Android Studio on a Mac. From Eclipse it's simple, but I can't get this in Android Studio.
I have checked similar questions but didn't get any way to get that in MAC.
...
77
votes
13
answers
147k
views
Localhost running on mac.. Can I view it on my Android phone?
Running a ruby on rails project on my mac. I need to test it on my android phone. Is there a way to view my mac localhost on my android phone?
76
votes
7
answers
79k
views
Xamarin Visual Studio IOS Development Without a Mac?
I'm a .NET developer and want to write an IOS & Android app in C#. I've had a read around Xamarin for Visual Studio which looks interesting if not a tad expensive!
Do you need a Mac to debug your ...
75
votes
10
answers
61k
views
Genymotion virtualization engine not found/plugin loading aborted on Mac
I downloaded Genymotion but cannot get it to work. I keep on getting "virtualization engine not found, plugin loading aborted". I have uninstalled and reinstalled it, force quit and restarted it, and ...
74
votes
7
answers
95k
views
I get 'Command Not Found' when I try to run Android Emulator on Mac OS X
When I use the Mac OS X Terminal to navigate to the folder with my Android Emulator and type emulator, I get:
command not found
Here's what happens:
$ emulator
-bash: emulator: command not found
...
71
votes
7
answers
29k
views
Android Unknown Command 'crunch'
I just installed Eclipse and Android SDK in Mac OS X.
I imported the project to Eclipse and i get the Unknown command 'crunch' error while running the project.
How should I solve this issue.
Please ...
68
votes
8
answers
103k
views
Can I develop Android applications on MacOS? [closed]
I want to develop applications on Android. Can the SDK be installed on Mac?
59
votes
8
answers
102k
views
SHA1 Key for DEBUG & RELEASE ANDROID STUDIO MAC , How to generate SHA1 Release Keys in Mac?
How do I get my SHA1 Keys for debug and release using android studio on a mac?
(These are required for Google API Keys)
59
votes
6
answers
34k
views
macbook adb cannot open interface
I am encountering a problem with Android ADB debugging through USB.
Using Macbook Air 2013 and trying to connect Nexus 6 dev phone.
On the MAC Android Studio, android latest sdk is installed.
When ...
59
votes
12
answers
82k
views
Can't attach Android Studio's debugger to Android process
I can't attach Android Studio's debugger to my debuggable application process. Anyone else had this issue? Basically I can't get my app listed in Choose Process dialog.
I'm selecting Attach debugger ...
52
votes
9
answers
125k
views
How to set ANDROID_SDK_ROOT in mac?
I am trying to use Cordova for mobile app development. For now I am focusing on Android. I am trying to run cordova emulate android. It runs and after a long list of packages it says ‘build successful’...
49
votes
6
answers
72k
views
How do I generate a key hash for the Facebook SDK On Mac?
I'm trying to obtain the key hash for integrating facebook into my Android app. But all over the net I can't find the way to do it on MAC OS X, only for Windows.
If someone could light me with the ...
47
votes
16
answers
88k
views
Android ADB not detecting device in Mac OS X although device is detected by Android File Transfer
After installing android studio, I installed ADB as well. However, for some reason ADB doesn't detect my device. To make a note I think I have done all the basic stuff I found online, i.e.:
Set ...
45
votes
8
answers
12k
views
Android device monitor freezes on Mac OS X
I just launched the Android device monitor for the first time on OSX but it freezes and I am not able to click anywhere, it just does not respond to any mouse or keyboard input.
I think it's ...
44
votes
8
answers
36k
views
How to speed up Android Studio on a Mac
I am trying to develop some native Android apps using Android Studio (latest) on OS X Yosemite. Currently Android Studio is simply unusable: it is too slow. I am not referring to the Android emulator, ...
42
votes
6
answers
62k
views
How to obtain MAC address of WiFi network interface?
It seems the java.net.NetworkInterface implementation of android does not have a
byte[] getHardwareAddress() method
http://developer.android.com/reference/java/net/NetworkInterface.html
I've found ...
41
votes
15
answers
33k
views
Ionic build android, Error: spawn EACCES
If I follow this steps to create a new app:
Rubens-MacBook-Pro:~ rlopez$ npm install -g cordova ionic
Rubens-MacBook-Pro:~ rlopez$ ionic start myApp tabs
Rubens-MacBook-Pro:~ rlopez$ cd myApp
Rubens-...
40
votes
10
answers
65k
views
-bash: android: command not found on Mac OSX
I've been diving into Android development for a while, and now I want to use some project (helpshift) in my app. On the website they have some example apps in which the readme says: Run the following ...
40
votes
8
answers
24k
views
Android emulator crashing on Mac
When I try to launch Android emulator, it crashes on Mac OS X. It was working some time ago, but now it isn't and I don't have an idea why.
Crash log: http://pastebin.com/04MjCqaS
Terminal log in ...
40
votes
21
answers
36k
views
OS X 10.6.6 and "adb devices" fails to list android devices
adb devices was working fine last year, but after upgrades and new software installs,
adb devices no longer recognizes USB attached Android devices.
Here is what I have tried:
adb kill-server
adb ...
39
votes
14
answers
120k
views
Could not recognize my android device on mac
I am trying to connect my android device on mac to test application I developed.
First I installed USB driver, then I activated in my phone the developer option by tapping on Build Number and then ...
39
votes
4
answers
15k
views
Using the Android SDK on a Mac, Eclipse is really slow. How can I speed it up?
I'm using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps.
Thing is, Eclipse is really slow - like, it "beach balls" for a few seconds when changing tabs.
Is there ...
37
votes
11
answers
46k
views
Intel HAXM on macOS high sierra (10.13)
Is there any way of using Android emulator on High Sierra (10.13)?
When I run
./HAXM\ installation -u
It says:
HAXM silent installation only supports macOS from 10.8 to 10.12 !
37
votes
10
answers
38k
views
UnsupportedClassVersionError while 'flutter doctor --android-licenses' MacOS
System Settings:
MacOS Ventura
Android Studio Electric Eel
I am installing Flutter on my Intel Mac.
After Running flutter doctor
The outcome is this:
[✓] Flutter (Channel stable, 3.7.0, on macOS 13....
35
votes
5
answers
58k
views
How to run AVD Manager on Mac
I tried command line in tools directory within terminal by typing android and
and bash says it cannot find the command. When I type ls I can see android.
Also am I obliged to use command line. Why ...
33
votes
7
answers
58k
views
JAVA_HOME is set to an invalid directory while running ./gradlew on OSX
I tried running ./gradlew from an Android project directory, but I get an error of:
ERROR: JAVA_HOME is set to an invalid directory:
/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/...
33
votes
12
answers
42k
views
Where is the plugin folder for Android Studio on Mac
I have installed a plugin which now crashes my Android Studio on start. Does someone know where Android Studio stores its downloaded plugin files, so I can delete it manually?
32
votes
7
answers
38k
views
Where does homebrew install android-sdk?
Where does homebrew install the android-sdk when you run the command:
brew cask install android-sdk
I want to be able to add it to the PATH.
32
votes
8
answers
119k
views
Eclipse: The specified JRE installation does not exist
I used to have Eclipse configured well and work fine before. But I just uninstalled it and installed Eclipse Juno again on my Mac OS 10.10 today.
But I kept getting this error:
"The specified JRE does ...