[Solved] How to add google play services lib to qt for android
-
ok i've found solution.
may be this will help somebody
first i did all what in this guide https://developers.google.com/mobile-ads-sdk/docs/
then to add reference to library project i added project.properties file
with@android.library.reference.1=../../../android/adt-bundle-mac-x86_64-20131030/sdk/extras/google/google_play_services/libproject/google-play-services_lib@
path must be relative not absolute
next what i need is to prepare google-play-services_lib
i go to google-play-services_lib folder in sdk
and runandroid update lib-project --path .
ant clean
ant releaseafter that all i need is just run my project in qt creator
-
Thanks for posting your solution.
-
Hi thanks for sharing your solution. I tried it to use Google+ Api and it works fine.
-
Good! I am trying to find a way to put ads in a specific view...
-
Hi,
which views are you speaking of? In case you're using QML for developing your app you can also have a look at our V-Play AdMob plugin here: http://plugins.v-play.net/doc/plugin-admob/
Best,
Alex -
Hi,
thanks it seems interesting. -
V-Play is commercial
here is my blog post how to add adMob on Android
http://xanm.blogspot.ru/2014/03/admob-in-qt.html -
I think so this app has been worked on real device (not terminal)
-
What do you mean by that?
[quote author="sanchkart" date="1400506924"]I think so this app has been worked on real device (not terminal)[/quote] -
Today I can't test my program on emulator (Google Services exist)
-
xanm, thank you for you solution