Is there any solution to run Google Plus Posting(S

2019-02-20 05:57发布

问题:

I am integrating Google Plus in Android App,But I encountered problem during Sharing Post on Google Plus in emulator Because It requires Google Plus installed on Emulator. But We can't add Google Plus App on Emulator.

I know that it run only in device but still searching for solution.

Any help will be appreciated.

回答1:

Google Play Services is available on AVDs as long as you're using a new enough version, see http://developer.android.com/google/play-services/setup.html

[To test your app you can use...] The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.



回答2:

Download Google+ apk from here

copy and paste it to your (adt...\sdk\platform-tools) directory
open command prompt and expand upto your "\sdk\platform-tools" then write command

adb install com.google.android.apps.plus-1.apk

and press enter

see pictures below for your help


its succesfully installed on Emulator.