How to test the latest emulator on Windows

61 views
Skip to first unread message

Ye Roger

unread,
Mar 16, 2016, 1:03:19 PM3/16/16
to Android emulator development

I am able to build the latest version on Windows. But I got the below issue, when I test it. It seems I need to setup the correct path so that the DLL files can be loaded correctly. How to do that?



Regards,
Roger

David Turner

unread,
Mar 16, 2016, 1:06:38 PM3/16/16
to Ye Roger, Android emulator development
On Wed, Mar 16, 2016 at 8:43 AM, 'Ye Roger' via Android emulator development <android-em...@googlegroups.com> wrote:

I am able to build the latest version on Windows. But I got the below issue, when I test it. It seems I need to setup the correct path so that the DLL files can be loaded correctly. How to do that?


That's what the 'emulator' launcher program will do for you, it will also setup several environment variables that are necessary to get the emulation engine working properly (e.g. for GPU emulation support).

In other words, you should not try to call qemu-system-<cpu>.exe directly (on Windows or other platforms) anymore.

Can you clarify what you mean by "build on Windows". For now we only support building the emulator on Linux through a cross-toolchain.

Hope this helps,

- Digit 



Regards,
Roger

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

Ye Roger

unread,
Mar 17, 2016, 9:23:38 PM3/17/16
to Android emulator development, shug...@yahoo.com
Just to clarify this a little. I built Windows version emulator on Linux using cross compilation. I copied the compressed file from /tmp folder to Windows machine and launch emulator.exe. Yes, the error message is about qemu-system-<cpu>.exe. That's why I believe something is wrong with the build. I got this message, when I run:
C:\> emulator -version


On Thursday, March 17, 2016 at 1:06:38 AM UTC+8, David Turner wrote:
On Wed, Mar 16, 2016 at 8:43 AM, 'Ye Roger' via Android emulator development <android-em...@googlegroups.com> wrote:

I am able to build the latest version on Windows. But I got the below issue, when I test it. It seems I need to setup the correct path so that the DLL files can be loaded correctly. How to do that?


That's what the 'emulator' launcher program will do for you, it will also setup several environment variables that are necessary to get the emulation engine working properly (e.g. for GPU emulation support).

In other words, you should not try to call qemu-system-<cpu>.exe directly (on Windows or other platforms) anymore.

Can you clarify what you mean by "build on Windows". For now we only support building the emulator on Linux through a cross-toolchain.

Hope this helps,

- Digit 



Regards,
Roger

--
You received this message because you are subscribed to the Google Groups "Android emulator development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-emulator-dev+unsub...@googlegroups.com.

David Turner

unread,
Mar 21, 2016, 4:35:37 AM3/21/16
to Ye Roger, Android emulator development
Hello Roger,

Have you tried this with the latest tip-of-tree of the emu-master-dev branch of the emulator source tree. We fixed some startup crashes recently which may be related to what you're seeing. I can't reproduce your crash on my machine at the moment.

On Fri, Mar 18, 2016 at 2:23 AM, 'Ye Roger' via Android emulator development <android-em...@googlegroups.com> wrote:
Just to clarify this a little. I built Windows version emulator on Linux using cross compilation. I copied the compressed file from /tmp folder to Windows machine and launch emulator.exe. Yes, the error message is about qemu-system-<cpu>.exe. That's why I believe something is wrong with the build. I got this message, when I run:
C:\> emulator -version

On Thursday, March 17, 2016 at 1:06:38 AM UTC+8, David Turner wrote:
On Wed, Mar 16, 2016 at 8:43 AM, 'Ye Roger' via Android emulator development <android-em...@googlegroups.com> wrote:

I am able to build the latest version on Windows. But I got the below issue, when I test it. It seems I need to setup the correct path so that the DLL files can be loaded correctly. How to do that?


That's what the 'emulator' launcher program will do for you, it will also setup several environment variables that are necessary to get the emulation engine working properly (e.g. for GPU emulation support).

In other words, you should not try to call qemu-system-<cpu>.exe directly (on Windows or other platforms) anymore.

Can you clarify what you mean by "build on Windows". For now we only support building the emulator on Linux through a cross-toolchain.

Hope this helps,

- Digit 



Regards,
Roger

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

--
You received this message because you are subscribed to the Google Groups "Android emulator development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-emulator...@googlegroups.com.

Ye Roger

unread,
Mar 21, 2016, 10:33:36 PM3/21/16
to Android emulator development, shug...@yahoo.com
Yes, I updated the code to the latest one and it works fine now.


On Monday, March 21, 2016 at 4:35:37 PM UTC+8, David Turner wrote:
Hello Roger,

Have you tried this with the latest tip-of-tree of the emu-master-dev branch of the emulator source tree. We fixed some startup crashes recently which may be related to what you're seeing. I can't reproduce your crash on my machine at the moment.
On Fri, Mar 18, 2016 at 2:23 AM, 'Ye Roger' via Android emulator development <android-em...@googlegroups.com> wrote:
Just to clarify this a little. I built Windows version emulator on Linux using cross compilation. I copied the compressed file from /tmp folder to Windows machine and launch emulator.exe. Yes, the error message is about qemu-system-<cpu>.exe. That's why I believe something is wrong with the build. I got this message, when I run:
C:\> emulator -version

On Thursday, March 17, 2016 at 1:06:38 AM UTC+8, David Turner wrote:
On Wed, Mar 16, 2016 at 8:43 AM, 'Ye Roger' via Android emulator development <android-em...@googlegroups.com> wrote:

I am able to build the latest version on Windows. But I got the below issue, when I test it. It seems I need to setup the correct path so that the DLL files can be loaded correctly. How to do that?


That's what the 'emulator' launcher program will do for you, it will also setup several environment variables that are necessary to get the emulation engine working properly (e.g. for GPU emulation support).

In other words, you should not try to call qemu-system-<cpu>.exe directly (on Windows or other platforms) anymore.

Can you clarify what you mean by "build on Windows". For now we only support building the emulator on Linux through a cross-toolchain.

Hope this helps,

- Digit 



Regards,
Roger

--
You received this message because you are subscribed to the Google Groups "Android emulator development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-emulator-dev+unsub...@googlegroups.com.
To post to this group, send email to android-em...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-emulator-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Android emulator development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-emulator-dev+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages