06oct14 - ANDROiD TUTORiAL: ECLiPSE+PHONEGAP+AdMob
Migrate old AdMobSdk to Google Play Services
If you are reading this tutorial probably you ran into a problem with AdMob banners in your app.
Starting from august 2014 the old GoogleAdMobAdsSdk is no longer working, and so your AdMob app pub ID.
First of all you must re-import your apps into your new AdMob account to receive new pub unit IDs.
The new ID will look like this:
STEP 1: CREATE build.gradle FILE
Google Play Services requires more resources, so it can happens you ran into a Java Heap Space Error.
To avoid this, first of all, go to your Eclipse folder and open eclipse.ini file with a text editor.
Edit the (usually last) line increasing the Xmx memory value to 1GB (-Xmx1024m) and save.