Reputation: 63
I upgraded to Android Studio 1.4 yesterday and since then I have been having problems running any emulators.
I have also recently upgraded to El Capitan and am trying to work out if it is Android Studio, El Capitan or something I did with my set up.
emulator: WARNING: .//android/metrics/metrics_reporter_ga.c:138: curl_easy_perform() failed with code 7 (Error)
emulator: WARNING: .//android/metrics/metrics_reporter_ga.c:145: Got HTTP response code 0
emulator: WARNING: .//android/metrics/metrics_reporter_toolbar.c:92: curl_easy_perform() failed with code 28 (Error)
emulator: WARNING: .//android/metrics/metrics_reporter_toolbar.c:100: Got HTTP response code 0
After I get these warnings, the emulator restarts itself and runs as normal.
Upvotes: 4
Views: 1726
Reputation: 1
I just find a workaround. Hope it works for you: Open the Android Studio->Preferences, go to Appearance & Behavior->System Settings->Usage Statistics, and uncheck "Send usage statistics to Google". Now the matrics_reporter will be disabled during emulator starting.
Upvotes: 0
Reputation: 12596
This is a known bug and the issue has just been raised here: https://code.google.com/p/android/issues/detail?id=196524
Upvotes: 1
Reputation: 604
I also upgraded to 1.4, and emulator startup time is much more longer, now is similar to emulator without host GPU usage.
Upvotes: 0