android-manifest - 安卓错误 :Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one

标签 android-manifest

我想调试我正在开发的应用程序,它是我的第一个应用程序。我关注了一个视频,它显示在 androidmanifest 文件中将 debuggable 设置为 true,我这样做了。我在代码行 android:debuggable= "true" 处的 androidmanifest.xml 文件中收到此特定错误错误是

Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one



请有人帮我解决这个问题。

最佳答案

删除此行 android:debuggable= "true">
或者

转到“工具”>“构建清理”以解决您的问题

关于android-manifest - 安卓错误 :Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23284451/

相关文章:

list 文件中列出的权限的 Android 安全异常

android - 在 list 上声明接收器和服务

android - 应用请求未声明的权限 - "Test access to protected storage"

android - 应用程序未安装 android 错误

android - 位于 Android Studio 1.5.1 中的 Android Manifest 文件的图形编辑器在哪里?

android - 如何在保持向后兼容性的同时将 foregroundServiceType 添加到库 list ?

java - 如何解决 "Failed to parse XML in AndroidManifest.xml"?

android - manifest.xml 中的 uses-feature required=false 未在 android 1.6 上编译

Android list <使用配置>

android - 在 AndroidManifest.xml 中单独使用 intent.category.HOME 与同时使用 intent.category.DEFAULT 之间的区别