android - google play services 7.3.0 causes crash -


i using google play services 6.5.87 until wanted use android place picker in app. requires play services version 7.0.0 , above.

i changed google play services version 7.3.0(latest, tried 7.0.0 well), started causing crash on kit kat , below devices. following errors came up:

  1. the google play services resources not found. check project configuration ensure resources included.
  2. noclassdeffounderror
  3. java.lang.verfiyerror

i tried googling solution. suggested changing jdk 1.8 1.7(tried didn't work). when change play services version 7.x.x 6.5.87 works fine.

somewhere read wear doesn't support 7.3.0 reason. tried specifying screen sizes, , didn't help.

any lead of immense help.

i think have found root cause it, in build.gradle(app) file

  1. inside defaultconfig, set multidexenabled flag true (multidex)
  2. put compile dependency compile 'com.android.support:multidex:1.0.0' under dependencies

now, in application class, add

@override protected void attachbasecontext(context base) { super.attachbasecontext(base); multidex.install(this); }

this works.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -