0

I recently integrated Playscape SDK and android play services into my Unity (4.5.5) project. Build process for android run without any errors, however when I try to run the app on a device, black screen is shown (no Unity splash screen) and app is closed after few seconds.

Using android DDMS I get this error on top:

E/CRASH(24508): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/analytics/GoogleAnalytics;

What could the cause be?

user3071284
  • 6,955
  • 6
  • 43
  • 57
ralpF
  • 1
  • 1

2 Answers2

0

your IDE is not able to find the class in the GoogleAnalytics make sure you include the libraries

Rishabh Agrawal
  • 1,998
  • 2
  • 25
  • 40
0

If you're using Android Studio, you should check the build.gradle file and see the dependencies list to ensure all the libraries you're using are declared there. After that sync gradle. Then Clean Build your project. See if that works.

zulkarnain shah
  • 971
  • 9
  • 20