asked    Alexia     2018-07-08       android       184 view        1 Answer

[SOLVED] After updating of HAXM, emulator with Android API 28 doesn't start up

I have the next issue. After updated HAXM up to 7.2.0 android emulator in android studio with version API 28 dont start up. I cant run the emulator. I am using laptop on Intel processor, i7. Virtualization is on. Before updating it worked. After updating, I can run emulator just if Turned On Software acceleration. If Hardware - impossible to run. If use x86_64 instead x86 I get black screen on emulator and errors in logcat:

06-18 08:13:42.256 1632-1632/? E/SurfaceFlinger: Error while linking shaders:
06-18 08:13:42.529 1632-1632/? E/SurfaceFlinger: Error while compiling

 shader: 
    attribute vec4 position;
    uniform mat4 projection;
    uniform mat4 texture;
    void main(void) {
        gl_Position = projection * position;
    }

    `�
06-18 08:13:42.531 1632-1632/? E/SurfaceFlinger: Error while compiling shader: 
    precision mediump float;
    uniform vec4 color;
    void main(void) {
        gl_FragColor.rgb = color.rgb;
        gl_FragColor.a = 1.0;
        gl_FragColor.a = 1.0;
    }

    ����

If use x86 then emulator is stuck on the place: Emulator stuck screen

With error in logcat.

06-18 08:18:06.429 1712-1750/? E/storaged: getService package_native failed
06-18 08:19:06.431 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:20:06.432 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:21:06.433 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:22:06.434 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:23:06.436 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:24:06.437 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:25:06.437 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:26:06.438 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:27:06.439 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:28:06.439 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:29:06.441 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
06-18 08:30:06.442 1712-1750/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0

Ask you to help me with this, if someone knows how to fix it, please.

  1 Answer  

        answered    Marlon     2018-07-08      

The issue was fixed by updating Android Emulator to lower version, in my case that was 27.1.12 version. After that, all works fine. As I said above, all tools are updated to recent, and just AE was restored to lower. I copied folder "emulator" from one AndroidSDK folder, and replaced it another.





Your Answer





 2018-07-08         Jodie

Find and Replace Inside a Text File from a Bash Command

What's the simplest way to do a find and replace for a given input string, say abc, and replace with another string, say XYZ in file /tmp/file.txt?I am writting an app and using IronPython to execute commands through SSH — but I don't know Unix that well and don't know what to look for.I have heard that Bash, apart from being a command line interface, can be a very powerful scripting language. So, if this is true, I assume you can perform actions like these.Can I do it with bash, and what's the simplest (one line) script to achieve my goal? The easiest way is to us...
 bash                     15 answers                     102 view
 2018-07-08         Judy

Regular expression search replace in Sublime Text 2

I'm looking to do search replace with regular expressions in Sublime Text 2. The documentation on this is rather anemic. Specifically, I want to do a replace on groups, so something like converting this text:Hello my name is bobAnd this search term:Find what: my name is (\w)+Replace with: my name used to be $(1)The search term works just fine but I can't figure out a way to actually do a replace using the regexp group. Usually a back-reference is either $1 or \1 (backslash one) for the first capture group (the first match of a pattern in parentheses). So maybe try:my nam...
 regex                     5 answers                     98 view
 2018-07-08         Elliot

Copy XLS values into text file which contains content

I have an existing text file created in a certain format, so that my VBS program can read it and use the file as a data store to validate the similar values in my application.I now wish to update this text file, from an XLS sheet, so that the text (which is tab separated), is not disturbed, but the individual values within it can be changed as corresponding to the XLS sheet. Is there a way to accomplish this with VBS itself or using powershell / python on windows systems? I do not have access to a UNIX box, hence unable to use the sed-awk tools for doing this and also the *...
 powershell                     1 answers                     99 view