Java Lint在组装发布目标时发现一个致命错误
我正在编译我的应用程序以供发布,但我收到一个错误,上面写着: Lint在组装发布目标时发现了致命错误Java Lint在组装发布目标时发现一个致命错误,java,android-studio,Java,Android Studio,我正在编译我的应用程序以供发布,但我收到一个错误,上面写着: Lint在组装发布目标时发现了致命错误 如果您仔细查看,logcat中将出现更具体的错误。如果在日志中看不到任何内容,请转到 /build/reports/lint results release fatal.xml 你会在那里找到日志。如果您仍然无法解决问题,请将其发布到您的问题中。如果您正在使用macbook,请转到项目目录并打开“生成文件夹” 搜索:lint结果发布致命“ 使用safari/chrome和 在正
如果您仔细查看,logcat中将出现更具体的错误。如果在日志中看不到任何内容,请转到
/build/reports/lint results release fatal.xml
你会在那里找到日志。如果您仍然无法解决问题,请将其发布到您的问题中。如果您正在使用macbook,请转到项目目录并打开“生成文件夹”
搜索:lint结果发布致命“
使用safari/chrome和
在正确性上单击,它将准确显示错误
修复错误 然后再次尝试释放
祝各位开发人员好运对不起,这是错误吗?如果是这样的话,恐怕我迷路了。你能发布你的应用程序//build/reports/lint-results-release-fatal.xml文件吗?它通常很小。。你的应用程序中有翻译吗?在你的项目导航中,点击显示为
android
的下拉列表,然后选择project
。然后按照路径进入app//build/reports/lint results release fatal.xml
你能发布它吗你有id
问题;如果确定已定义了id
,请清理项目并重新生成
<issue
id="UnknownId"
severity="Fatal"
message="The id "`_dynamic`" is not defined anywhere."
category="Correctness"
priority="8"
summary="Reference to an unknown id"
explanation="The `@+id/` syntax refers to an existing id, or creates a new one if it has not already been defined elsewhere. However, this means that if you have a typo in your reference, or if the referred view no longer exists, you do not get a warning since the id will be created on demand. This check catches errors where you have renamed an id without updating all of the references to it."
errorLine1=" app:layout_constraintBottom_toTopOf="@+id/_dynamic""
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="C:\Users\Jackson\Desktop\SafetyNet\app\src\main\res\layout\activity_mock.xml"
line="35"
column="9"/>
</issue>