I'm trying to include Google Mobile Ads into my app (AdMob) so i followed the Google documentation
我正在尝试将Google移动广告添加到我的应用(AdMob)中,因此我按照Google文档进行操作
but I am stuck at the first step "Add and reference the Google Play services library project"
但我坚持第一步“添加并引用Google Play服务库项目”
I can't find the google-play-services_lib, in the properties of my project even when I installed the "Google Play Services" thank you
我在项目的属性中找不到google-play-services_lib,即使我安装了“Google Play服务”谢谢
2 个解决方案
#1
2
"Add and reference the Google Play services library project"
“添加并引用Google Play服务库项目”
To do this step do as said below..
要执行此步骤,请执行以下说明..
-
Add the Google Play Services project into your Eclipse workspace. ie
将Google Play Services项目添加到Eclipse工作区。即
Click File -> Import..., select Android -> Existing Android Code into Workspace Browse to and select <android-sdk-folder>/extras/google/google_play_services/libproject/google-play-services_lib
单击文件 - >导入...,选择Android - >现有Android代码进入工作区浏览并选择
/ extras / google / google_play_services / libproject / google-play-services_lib -
To add the dependency to Google Play Services into your project Project -> Properties -> Android -> Library, Add -> google-play-services_lib
要将依赖关系添加到Google Play服务项目 - >属性 - > Android - >库,添加 - > google-play-services_lib
#2
0
this problem is coused by Google Play Services v30 and above, try using v28 it works fine. here's the link :https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip
这个问题是由Google Play Services v30及更高版本推动的,尝试使用v28它运行正常。这是链接:https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip
#1
2
"Add and reference the Google Play services library project"
“添加并引用Google Play服务库项目”
To do this step do as said below..
要执行此步骤,请执行以下说明..
-
Add the Google Play Services project into your Eclipse workspace. ie
将Google Play Services项目添加到Eclipse工作区。即
Click File -> Import..., select Android -> Existing Android Code into Workspace Browse to and select <android-sdk-folder>/extras/google/google_play_services/libproject/google-play-services_lib
单击文件 - >导入...,选择Android - >现有Android代码进入工作区浏览并选择
/ extras / google / google_play_services / libproject / google-play-services_lib -
To add the dependency to Google Play Services into your project Project -> Properties -> Android -> Library, Add -> google-play-services_lib
要将依赖关系添加到Google Play服务项目 - >属性 - > Android - >库,添加 - > google-play-services_lib
#2
0
this problem is coused by Google Play Services v30 and above, try using v28 it works fine. here's the link :https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip
这个问题是由Google Play Services v30及更高版本推动的,尝试使用v28它运行正常。这是链接:https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip