Obsolete
Status Update
Comments
gc...@gmail.com <gc...@gmail.com> #2
Random suggestion: Could you try editing the hardware properties of the AVD and use a lower Device RAM Size? E.g. try 512 or 768 instead of 1024.
If you're editing the .android/avd/*/config.ini directly, it's the line hw.ramSize=1024
If you're editing the .android/avd/*/config.ini directly, it's the line hw.ramSize=1024
ss...@gmail.com <ss...@gmail.com> #3
I'm seeing exactly the same issue Windows 7 Enterprise 64 bit. I've tried taking hw.ramSize all the way down to 128 with no effect. However I am only seeing this issue for the WXGA* skins. WVGA* skins work fine with Android 4.1 for me.
al...@google.com <al...@google.com> #4
Same issue, regardless of memory size. Windows 7 x64 Ultimate. Just upgraded the SDK to version 20 from 19.
I solved this issue by manually setting the resolution, so instead of selecting the WXGA* (in my case WXGA800) set the resolution to the equivalent value (1280x800 for example). The AVD then starts normally.
I solved this issue by manually setting the resolution, so instead of selecting the WXGA* (in my case WXGA800) set the resolution to the equivalent value (1280x800 for example). The AVD then starts normally.
ss...@gmail.com <ss...@gmail.com> #5
I experienced the same issue. Setting resolution manually works!
Would love to downgrade the SDK because I also have a probably related issue with WVGA800 on Android 4.0 - emulator runs but app does not even launch due to out of memory error (there is no problem with 4.0.3 and WVGA800 however). Again - if I set resolution manually - the app launches without out of memory error.
On SDK 18 I did not have any problems with these skins.
Would love to downgrade the SDK because I also have a probably related issue with WVGA800 on Android 4.0 - emulator runs but app does not even launch due to out of memory error (there is no problem with 4.0.3 and WVGA800 however). Again - if I set resolution manually - the app launches without out of memory error.
On SDK 18 I did not have any problems with these skins.
ss...@gmail.com <ss...@gmail.com> #6
I downgraded my tools to get around this problem for now. As noted above, I am able to work with tools version 19 and platform-tool version 11. I do not know what version of platform-tools goes with tools version 18, for those that need this version, so I have listed both versions 10 and 11 of platform-tools. Make sure that adb.exe is not running when you replace the files manually.
https://dl-ssl.google.com/android/repository/tools_r19-windows.zip
https://dl-ssl.google.com/android/repository/tools_r19-linux.zip
https://dl-ssl.google.com/android/repository/tools_r19-macosx.zip
https://dl-ssl.google.com/android/repository/tools_r18-windows.zip
https://dl-ssl.google.com/android/repository/tools_r18-linux.zip
https://dl-ssl.google.com/android/repository/tools_r18-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r11-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r11-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r11-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r10-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r10-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r10-macosx.zip
ss...@gmail.com <ss...@gmail.com> #7
This problem still happens with tools version 20.0.1 and platform-tools version 13. It still appears to be caused by starting up OpenGLES emulation even when "GPU emulation" is set to no (as noted in log provided in the initial post). I see the same error when I take tools version 19 and platform-tools version 11, which work for me with their default settings of "GPU emulation" set to no, and set "GPU emulation" to yes.
Description
OS version: Windows 8 x64
Java JRE/JDK version: 1.7.55 x64
If settings.gradle contains a conditional like
---8<---
include ':FunkyApp'
if (properties['exclude.demo'] == 'false') {
include ':DemoApp'
}
---8<---
and "exclude.demo" is set to "false" (either via gradle.properties or "-Pexclude.demo=false") then "DemoApp" is not available as an "Android Application" in the "Run/Debug Configurations".
The use-case can be minimized to the conditional saying just "if (true)", still "DemoApp" is not available.
From the command line, e.g. "./gradlew -Pexclude.demo=false DemoApp:assembleDebug" works just fine.