I got an error as below recently on the Instant App compilation
[2018-09-24T04:42:32Z] FAILURE: Build failed with an exception.
[2018-09-24T04:42:32Z]
[2018-09-24T04:42:32Z] * What went wrong:
[2018-09-24T04:42:32Z] Execution failed for task ':base-feature:processProductionReleaseFeatureResources'.
[2018-09-24T04:42:32Z] > Android resource linking failed
[2018-09-24T04:42:32Z] Output: /project/base-feature/build/intermediates/incremental/mergeProductionReleaseFeatureResources/merged.dir/values/values.xml:630: error: resource android:attr/fontVariationSettings not found.
[2018-09-24T04:42:32Z] /project/base-feature/build/intermediates/incremental/mergeProductionReleaseFeatureResources/merged.dir/values/values.xml:631: error: resource android:attr/ttcIndex not found.
[2018-09-24T04:42:32Z] error: failed linking references.
It was all the while compile good, and nothing change. Then suddenly the compile now fail with this. What could cause this issue, and how to resolve?