diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index a67ad95c..9a43b82d 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -19,3 +19,18 @@ You recently downloaded or updated XCode. 2. Choose `Legacy Build System` 3. Remove `node_modules/react-native/third-party` and `node_modules/react-native/third-party-podspecs` + +## I get Android crashes when using the Reader SDK + +### The problem + +When there are different versions of Google Play Services, crashes can occur like +`java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/Api$zzf;` + +### Likely cause + +You are using other libraries that use `googlePlayServicesVersion` at something other than "12.0.1" + +### Solution + +Set `googlePlayServicesVersion = "12.0.1"` in your `android/build.gradle` file.