google play services - Plus One Button not working in Android -


i need add +1 button android app. try describe problem:

  1. i installed google-play-services through sdk manager
  2. i copied file google-play-services.jar libs folder placed in project.
  3. i don't use eclipse use android studio building of project, therefore have manually write gradle file linkig google play services library.
  4. i put dependency gradle file compile files('libs/google-play-services.jar')
  5. i used relevant things integrate +1 button according sites: https://developers.google.com/+/mobile/android/getting-started
    https://developers.google.com/+/mobile/android/recommend

  6. first 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.

  7. 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.

  8. i suspect problem in non correct installation or make dependecy google play services libs. don't how make correctly.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -