导入“google-play-services_lib”进入Eclipse崩溃libgdx项目 [英] Importing "google-play-services_lib" into Eclipse crashes libgdx project
问题描述
我正在为我的libgdx android游戏添加谷歌广告横幅。遵循指南 https:/ /github.com/libgdx/libgdx/wiki/Google-Mobile-Ads-in-Libgdx-(replaces-deprecated-AdMob),并导入google-play-services_lib,游戏无法启动。我正在使用Eclipse Luna。 Eclipse继续加载直到死亡。
正确导入如下:
文件 - >导入 - >现有的Android项目 - >浏览google-play-services_lib文件夹,然后确保已经选中将项目复制到工作区框。 p>
导入google-play-services_lib后:
右键单击您的项目 - >属性 - > Android,然后在底部添加google-play-services_lib到您的项目。
本教程帮助我实施广告: http://www.androidbegin.com/tutorial/集成新的google-admob-banner-interstitial-ads /
I am trying to add google ad banners for my libgdx android game. After following the guide https://github.com/libgdx/libgdx/wiki/Google-Mobile-Ads-in-Libgdx-(replaces-deprecated-AdMob) and importing "google-play-services_lib" the game can't be started anymore. I am using Eclipse Luna. Eclipse keeps loading until death.
For the proper import do it this way:
File -> Import -> Existing Android Project -> Browse the "google-play-services_lib" folder then make sure you have checked the "Copy project into workspace" box.
After you have imported the google-play-services_lib:
Right click to your project -> Properties -> Android , and then the bottom add the google-play-services_lib to your project.
This tutorial helped me with implementing the ads: http://www.androidbegin.com/tutorial/integrating-new-google-admob-banner-interstitial-ads/
这篇关于导入“google-play-services_lib”进入Eclipse崩溃libgdx项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!