Jerg:
Eu estava compilando meu aplicativo para ser lançado e eu recebi um erro dizer isso: Lint encontrou erros fatais durante a montagem um alvo de liberação.
<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>
Nupdhyy:
Haverá um erro mais específica na logcat se você cavar através dele. Se você não pode ver nada na logcat, ir para
/build/reports/lint-results-release-fatal.xml
.
Você vai encontrar os logs lá. Postá-lo na sua pergunta, se você ainda não pode resolvê-lo.