Android and Google client API NetHttptransport Class not found

前端 未结 4 1251
北恋
北恋 2020-12-10 10:15

I am trying to use the Google generated API library for the first time for Android. I have taken code from the the Sample Program provided by Google. My code looks like

4条回答
  •  [愿得一人]
    2020-12-10 10:42

    You must explicit add library reference of google-http-client-1.5.0-beta.jar(right click project->Properties->Java Build Path->Add External JARs), don't believe class path. If you do not do this, in the apk file does not contain the required data。
    You can download Google plus library from here google-plus-java-starter_v5.zip enter image description here

提交回复
热议问题