错误日志
Android resource linking failed Output: error: unexpected element <queries> found in <manifest>.
解决
升级 Gradle plugin,之前的版本是 3.2.0
升级为 3.3.3
延续,升级之后又遇到一个问题:
> Android resource linking failed error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.hstechsz.ttzlz:style/Theme.AppCompat.Light.NoActionBar) not found. error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.hstechsz.ttzlz:style/Theme.AppCompat.Light.NoActionBar) not found. error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.hstechsz.ttzlz:style/Theme.AppCompat.Light.NoActionBar) not found. error: resource style/Theme.AppCompat.Light.NoActionBar (aka com.hstechsz.ttzlz:style/Theme.AppCompat.Light.NoActionBar) not found. error: failed linking references.
解决
加入 v7 依赖
implementation "com.android.support:appcompat-v7:26.1.0"