楼主:
May555R (may)
2021-03-24 22:30:47使用模拟器
都没问题
但是要打包成apk出现错误
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
Error: @+id/txtLocation is not a sibling in the same RelativeLayout
[NotSibling]
android:layout_below="@+id/txtLocation"
Explanation for issues of type "NotSibling":
Layout constraints in a given ConstraintLayout or RelativeLayout should
reference other views within the same relative layout (but not itself!)
这个是说这行XML code是错误的
删掉就行了吗?
我觉得奇怪的是
使用模拟器测试时,都没报错
打包成apk就是一直不过