How to debug a kivy app in android?(如何在 android 中调试 kivy 应用程序?)
问题描述
我正在 android 中开发一个 kivy 应用程序.编译应用程序并运行后,如果有崩溃或某种错误,我怎样才能找到具体的错误?
I'm developing a kivy app in android. After compiling the app and running it, if there is a crash or sort of errors, how can I find the specific error?
听说有一个日志程序.
推荐答案
你要的工具叫logcat.
The tool you want is called logcat.
文档是 http://developer.android.com/tools/help/logcat.html
它将显示来自运行 Android 程序的大量日志信息,因此有助于应用程序名称和日志级别等过滤器.
It will display lots of log info from running Android programs, so it helps to apply filters such as the program name and log level.
来自文档:
您可以将 logcat 作为 adb 命令运行,也可以直接在 shell 提示符下运行您的模拟器或连接的设备.要使用 adb 查看日志输出,导航到您的 SDK platform-tools/目录并执行:
You can run logcat as an adb command or directly in a shell prompt of your emulator or connected device. To view log output using adb, navigate to your SDK platform-tools/ directory and execute:
adb logcat
这篇关于如何在 android 中调试 kivy 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 android 中调试 kivy 应用程序?
基础教程推荐
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
