Android SDK没有模拟器的日志
我想在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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论