The Google Play In-app Review Plugin for Unity lets you prompt users to submit Play Store ratings and reviews without the inconvenience of leaving your game.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':unityLibrary:generateReleaseRFile'.
> Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
> Failed to transform com.android.support.support-v4-26.1.0-.aar (:com.android.support.support-v4-26.1.0:) to match attributes {artifactType=android-symbol-with-package-name, org.gradle.status=integration}.
> Execution failed for JetifyTransform: K:\Green Sauce Games\Tales of the Orient - TRS\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\com.android.support.support-v4-26.1.0.aar.
> Failed to transform 'K:\Green Sauce Games\Tales of the Orient - TRS\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\com.android.support.support-v4-26.1.0.aar' using Jetifier. Reason: AmbiguousStringJetifierException, message: The given artifact contains a string literal with a package reference 'android.support.v4' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.. (Run with --stacktrace for more details.)
This is a known exception, and Jetifier won't be able to jetify this library.
Suggestions:
- If you believe this library doesn't need to be jetified (e.g., if it already supports AndroidX, or if it doesn't use support libraries/AndroidX at all), add android.jetifier.ignorelist = {comma-separated list of regular expressions (or simply names) of the libraries that you don't want to be jetified} to the gradle.properties file.
- If you believe this library needs to be jetified (e.g., if it uses old support libraries and breaks your app if it isn't jetified), contact the library's authors to update this library to support AndroidX and use the supported version once it is released.
If you need further help, please leave a comment at https://issuetracker.google.com/issues/140747218.
Build fails with error