问题
I'm trying to integrate Google's In-app Review feature into my Unity application and getting the following runtime error message on logcat console. Anyone knows the solution to this problem?
AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.play.core.review.ReviewManagerFactory (Filename: currently not available on il2cpp Line: -1)
回答1:
It turned out that the problem was introduced by a proguard obfuscation. In order to keep the symbols I had to add the following to the proguard definition file:
-keep class com.google.android.play.core.** { *; }
来源:https://stackoverflow.com/questions/63534316/unitys-google-in-app-review-plugin-error-java-lang-classnotfoundexception-com