google play services - Plus One Button not working in Android -
i need add +1 button android app. try describe problem:
- i installed google-play-services through sdk manager
- i copied file google-play-services.jar libs folder placed in project.
- i don't use eclipse use android studio building of project, therefore have manually write gradle file linkig google play services library.
- i put dependency gradle file
compile files('libs/google-play-services.jar')
i used relevant things integrate +1 button according sites: https://developers.google.com/+/mobile/android/getting-started
https://developers.google.com/+/mobile/android/recommendfirst problem rendering problem , occured in develope layout of app. android studio writes me in design builder in design mode: "rendering problems: following classes not instantiated: com.google.android.gms.plus.plusonebutton ...", in text mode no problem.
second problem when build project , run him on mobile device android 2.3.1. compilation successful when running on mobile device applicatin turns off suddenly.
i suspect problem in non correct installation or make dependecy google play services libs. don't how make correctly.
Comments
Post a Comment