I am developing with Android Studio 1.5 on an emulated Nexus 5 (API v23) with Ubuntu 15.10 x64. I am behind a proxy (http_proxy
environment variable is set).
Creating a new project, and I get an error straight off the bat. This answer fixes it. Next I try to build it, the emulated phone frame loads, but is black (no content shown). The console says this:
Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_23_x86
emulator: WARNING: UpdateCheck: failed to get a URL: 51 (Error)
emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '24.4.1'
So maybe it's a proxy issue? - BTW: my "gradle.properties" automatically populated: systemProp.http.proxyHost
, systemProp.http.proxyUser
, systemProp.http.proxyPort
.
EDIT: Same error with Android/Sdk/tools$ ./emulator @Nexus_5_API_23_x86 -http-proxy $HTTP_PROXY