Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
changey's user avatar
  • 19.4k
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 ...
wesley franks's user avatar
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 ...
pankaj's user avatar
  • 8,168
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 ...
Dave's user avatar
  • 8,441
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 ...
coure2011's user avatar
  • 41.7k
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 ...
slhck's user avatar
  • 37.9k
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. ...
rrvasanth's user avatar
  • 2,901
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?
Carl Manaster's user avatar
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)
iMickyRich's user avatar
  • 2,243
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 ...
hannes ach's user avatar
  • 17.5k
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 ...
Pork 'n' Bunny's user avatar
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)? ...
GnrlBzik's user avatar
  • 3,358
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, ...
Marian Stochanskyi's user avatar
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) ...
whalabi's user avatar
  • 1,675
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:...
Rasalas's user avatar
  • 1,562
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 ...
skoko's user avatar
  • 1,441
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, ...
Natie's user avatar
  • 2,284
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....
Arjun Komath's user avatar
  • 2,832
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/...
clankill3r's user avatar
  • 9,384
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.
Ivo Stoyanov's user avatar
  • 16.8k
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 ...
Bill's user avatar
  • 811
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. ...
arslan haktic's user avatar
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?
Mark Steggles's user avatar
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 ...
Hardgraf's user avatar
  • 2,596
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 ...
SaH's user avatar
  • 929
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 ...
Kebman's user avatar
  • 2,039
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 ...
duk's user avatar
  • 933
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?
HelloWorld's user avatar
  • 7,246
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)
andyc101's user avatar
  • 2,213
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 ...
robscure's user avatar
  • 901
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 ...
ViliusK's user avatar
  • 11.5k
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’...
Mayur Tolani's user avatar
  • 1,477
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 ...
ady's user avatar
  • 555
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 ...
A-Majeed's user avatar
  • 1,480
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 ...
Ramkesh Yadav's user avatar
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, ...
Antonio Sesto's user avatar
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 ...
Gubatron's user avatar
  • 6,349
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-...
rubenlop88's user avatar
  • 4,211
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 ...
kramer65's user avatar
  • 52.7k
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 ...
MattSkala's user avatar
  • 1,069
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 ...
RSStepheni's user avatar
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 ...
Salif's user avatar
  • 1,152
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 ...
morais's user avatar
  • 2,951
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 !
Andrii Kovalchuk's user avatar
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....
Pasdian's user avatar
  • 529
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 ...
user310291's user avatar
  • 37.7k
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/...
EGHDK's user avatar
  • 18k
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?
JimVanB's user avatar
  • 1,215
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.
hopper's user avatar
  • 4,298
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 ...
Fisher Coder's user avatar
  • 3,524

1
2 3 4 5
33