Android Emulator Build errors

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Android Emulator Build errors

GOHIL VARUN 16110059

Hello,

I downloaded the Android emulator source code from emu-master-dev branch.

I attempted to build it by running the emu-master-dev/external/qemu/android/rebuild.sh script.

I am getting the following error:

Configuring build.
Building sources.
Running tests
ERROR: Failed to run unit tests, run make tests to see why.

On running make tests I get:

make: Nothing to be done for `tests'.

So I decided to run ./rebuild.sh --verbose. The last lines are as follows:

[----------] Global test environment tear-down
[==========] 822 tests from 159 test cases ran. (4960 ms total)
[  PASSED  ] 818 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] StringParse.SscanfWithCLocale
[  FAILED  ] StringParse.SscanfWithCLocaleThreads
[  FAILED  ] GpxParser.ParseValidLocationCommaLocale
[  FAILED  ] KmlParser.ParseLocationNormalCommaLocale

 4 FAILED TESTS
  YOU HAVE 15 DISABLED TESTS

make: *** [objs/tests/objs/android_emu64_unittests.success] Error 1
ERROR: Failed to run unit tests, run make tests to see why.

How do I resolve this error?

Thanks
Varun

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Android Emulator Build errors

Saurabh Kumar
Download thw code from platform/external/qemu, this contains stable code. Also there is a qemu-android as well, which contains latest code of android emulator. 

On Fri 22 Jun, 2018, 8:09 PM GOHIL VARUN 16110059, <[hidden email]> wrote:

Hello,

I downloaded the Android emulator source code from emu-master-dev branch.

I attempted to build it by running the emu-master-dev/external/qemu/android/rebuild.sh script.

I am getting the following error:

Configuring build.
Building sources.
Running tests
ERROR: Failed to run unit tests, run make tests to see why.

On running make tests I get:

make: Nothing to be done for `tests'.

So I decided to run ./rebuild.sh --verbose. The last lines are as follows:

[----------] Global test environment tear-down
[==========] 822 tests from 159 test cases ran. (4960 ms total)
[  PASSED  ] 818 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] StringParse.SscanfWithCLocale
[  FAILED  ] StringParse.SscanfWithCLocaleThreads
[  FAILED  ] GpxParser.ParseValidLocationCommaLocale
[  FAILED  ] KmlParser.ParseLocationNormalCommaLocale

 4 FAILED TESTS
  YOU HAVE 15 DISABLED TESTS

make: *** [objs/tests/objs/android_emu64_unittests.success] Error 1
ERROR: Failed to run unit tests, run make tests to see why.

How do I resolve this error?

Thanks
Varun

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Android Emulator Build errors

GOHIL VARUN 16110059
Hello, 

Can I emulate Android Oreo in the emulator by using the code in platform/external/qemu?

Thanks

On Friday, June 22, 2018 at 10:02:19 PM UTC+5:30, Saurabh Kumar wrote:
Download thw code from platform/external/qemu, this contains stable code. Also there is a qemu-android as well, which contains latest code of android emulator. 

On Fri 22 Jun, 2018, 8:09 PM GOHIL VARUN 16110059, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="GwLw5t09BwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">gohil...@...> wrote:

Hello,

I downloaded the Android emulator source code from emu-master-dev branch.

I attempted to build it by running the emu-master-dev/external/qemu/android/rebuild.sh script.

I am getting the following error:

Configuring build.
Building sources.
Running tests
ERROR: Failed to run unit tests, run make tests to see why.

On running make tests I get:

make: Nothing to be done for `tests'.

So I decided to run ./rebuild.sh --verbose. The last lines are as follows:

[----------] Global test environment tear-down
[==========] 822 tests from 159 test cases ran. (4960 ms total)
[  PASSED  ] 818 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] StringParse.SscanfWithCLocale
[  FAILED  ] StringParse.SscanfWithCLocaleThreads
[  FAILED  ] GpxParser.ParseValidLocationCommaLocale
[  FAILED  ] KmlParser.ParseLocationNormalCommaLocale

 4 FAILED TESTS
  YOU HAVE 15 DISABLED TESTS

make: *** [objs/tests/objs/android_emu64_unittests.success] Error 1
ERROR: Failed to run unit tests, run make tests to see why.

How do I resolve this error?

Thanks
Varun

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="GwLw5t09BwAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-platfo...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="GwLw5t09BwAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">android-...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/android-platform" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/android-platform&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/android-platform&#39;;return true;">https://groups.google.com/group/android-platform.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.