Status Update
Comments
ra...@google.com <ra...@google.com>
ju...@google.com <ju...@google.com>
jb...@google.com <jb...@google.com>
jb...@google.com <jb...@google.com>
pa...@google.com <pa...@google.com> #2
Pump to P1 as it blocks OEM to use new emulator density.
jb...@google.com <jb...@google.com>
jb...@google.com <jb...@google.com>
de...@google.com <de...@google.com> #3
When and where does this error appear in Studio? I tried changing hw.lcd.density
to 200 in config.ini
on an emulator and it seemed to start up ok.
go...@gmail.com <go...@gmail.com> #4
Please attach idea.log. Thank you.
jb...@google.com <jb...@google.com> #5
The comments from reporter:
The issue is not when reading the config.ini. That is indeed the current workaround: create the AVD, then edit the config.ini to fix the density to 200.
The problem is when you use a hardware configuration (devices.xml) where the device specifies 200 for the display density Android Studio refuses to create the AVD with that density. The config.ini ends up with a different value written for the display density than what was in devices.xml.
The other missing densities (140 and 180) have the same problem.
go...@gmail.com <go...@gmail.com> #6
It looks like the path to this error is: Device Manager -> Virtual -> Create Device -> Import Hardware Profiles -> (provide a device.xml file as described above).
Given that the emulator has been updated to support these values, it makes sense that we should allow them as well.
wo...@gmail.com <wo...@gmail.com> #7
(Also the error handling is pretty abysmal here... there's no feedback to the user when the file fails validation, just the SAXParseExecption goes to the IDE error log.)
Description
Build: AI-203.7717.56.2031.7935034, 202111210535,
AI-203.7717.56.2031.7935034, JRE 11.0.10+0-b96-7249189x64 JetBrains s.r.o., OS Linux(amd64) v5.10.0-10-amd64, screens 2880.0x1620.0
AS: Arctic Fox | 2020.3.1 Patch 4; Kotlin plugin: 203-1.6.10-release-923-AS7717.8; Android Gradle Plugin: 7.0.4; Gradle: 7.0.2; Gradle JDK: version 11.0.10; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: LLDB 3.1 (revision: 3.1.4508709); CMake: from local.properties: (not specified), latest from SDK: 3.18.1-g262b901, from PATH: 3.18.4
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply all required information.
Reproducability
Always
Steps reproduce
Make
/tmp
a symlink to some directoryStart Android Studio
Open *Appearance & Behavior > System Settings > Android SDK
Click SDK Update Sites
Actual result
Manifests cannot be downloaded stating: "IO exception while downloading manifest"
SDK Update stops working.
Log contains: