Android SDK没有模拟器的日志

发布于 2025-01-23 23:44:06 字数 1171 浏览 0 评论 0原文

我想在Android SDK中创建我的第一个应用程序。

但是,当我想启动模拟器时,我会有此错误消息:“ AVD Pixel_5_API_15的模拟器进程已终止。”

我尝试了很少的Android手机版本,但我总是有同样的问题:“ [...]的模拟过程已经终止。”

但是真正的问题是:我没有日志!

在“事件日志”窗口中,模拟器过程中有任何消息。

我正在查看事件日志的设置,但是在通知中启用了Android模拟器。

所以我不知道我的问题是什么...

我如何看到仿真器的日志?

谢谢 !

编辑:

感谢阿迪尼亚,有了您的链接,我找到了日志,这就是我得到的:

2022-04-25 14:25:51,315 [1658570]   INFO - manager.EmulatorProcessHandler - Emulator: E:\Android_SDK\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_5_API_15 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300 
2022-04-25 14:25:51,614 [1658869]   INFO - manager.EmulatorProcessHandler - Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT 
2022-04-25 14:25:51,614 [1658869]   INFO - manager.EmulatorProcessHandler - Emulator: INFO    | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A) 
2022-04-25 14:25:51,614 [1658869]   INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1 
2022-04-25 14:25:51,614 [1658869]   WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1 

I want to create my first application in Android SDK.

But when I want to start the emulator, I have this error message : "The emulator process for AVD Pixel_5_API_15 has terminated."

I tried few android phones version but I have always the same issue : "The emulator process for [...] has terminated."

But the real probleme is : I have no logs !!

In the "Event log" window, there is any message from the emulator process.

I was looking in the settings of the event log, but the Android Emulator is enabled in the notifications.

So I don't know what's my problem ...

How can I see the log of my emulator ?

Thanks !

EDIT :

Thanks Adinia, with your link, I find the log, and here is what I get :

2022-04-25 14:25:51,315 [1658570]   INFO - manager.EmulatorProcessHandler - Emulator: E:\Android_SDK\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_5_API_15 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300 
2022-04-25 14:25:51,614 [1658869]   INFO - manager.EmulatorProcessHandler - Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT 
2022-04-25 14:25:51,614 [1658869]   INFO - manager.EmulatorProcessHandler - Emulator: INFO    | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A) 
2022-04-25 14:25:51,614 [1658869]   INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1 
2022-04-25 14:25:51,614 [1658869]   WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文