Packaging for Android on 4.26.0 fails with Gradle error

What the hell is this?
Z:\permission_library\src\main\java\com\google\vr\sdk\samples\permission\ uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Full details:

any luck with this?

change graddle version to 6.5 from 6.1.1 in
do not change in your project intermediate folder as it is created during build