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:
- the google play services resources not found. check project configuration ensure resources included.
- noclassdeffounderror
- 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
- inside defaultconfig, set multidexenabled flag true (multidex)
- 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
Post a Comment