リリースターゲットを組み立てながら、lintは致命的なエラーを検出しました

Jerg:

私は解放のために私のアプリをコンパイルして、私はこれを言って、エラーを受け取った:リリースターゲットを組み立てながら、lintが致命的なエラーを発見しました。

<issue
    id="UnknownId"
    severity="Fatal"
    message="The id &quot;`_dynamic`&quot; 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=&quot;@+id/_dynamic&quot;"
    errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
    <location
        file="C:\Users\Jackson\Desktop\SafetyNet\app\src\main\res\layout\activity_mock.xml"
        line="35"
        column="9"/>
</issue>

Nupdhyy:

あなたはそれを掘る場合logcatで、より具体的なエラーがあります。あなたはlogcatには何も表示されない場合は、にアクセスしてください

/build/reports/lint-results-release-fatal.xml

あなたはそこにログを見つけるでしょう。あなたはまだそれを解決できない場合は、あなたの質問にそれを投稿。

おすすめ

転載: http://43.154.161.224:23101/article/api/json?id=195983&siteId=1