Tuesday, November 22, 2011 | 10:28 AM
We’ve seen a lot of forum activity about how to migrate from v4.1.1 to v4.3.1 of the Google AdMob Ads SDK for Android, so we’d like to share three easy steps to get you up and running with the latest version.
- The first step to migrating is downloading the AdMob SDK and adding it to your build path.
- You will need to have an Android SDK of 3.2 or higher. Once you have a compatible version, set
target=android-13or higher in your
project.propertiesfile of your application to compile against the version you just downloaded.
Don’t worry, you can still build your apps on all Android devices down to Android 1.5! Just set
<uses-sdk android:minSdkVersion="3"/>in your
AndroidManifest.xmlfile. You can read more about the uses-sdk element to help you configure the appropriate devices for your app.
- Finally, replace the old
com.google.ads.AdActivityelement in your manifest with this new definition:
That’s it! You should now be able to run your application using the latest SDK without any errors. Please post to our forum if you have any questions about the migration.