Is there any solution to run Google Plus Posting(Share interactive post) in emulator (Android)

微笑、不失礼 提交于 2019-12-01 12:01:56

问题


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.

来源:https://stackoverflow.com/questions/18276682/is-there-any-solution-to-run-google-plus-postingshare-interactive-post-in-emul

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!