AI Migration Agent Instructions for the Google Mobile Ads SDK
Migration Workflow
Use this checklist to track your migration progress:
Configure Gradle
:
Replace
com.google.android.gms:play-services-ads
with the latest
stable version of
com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk
. If you
cannot access Maven directly, run the following command to fetch the
latest version. The version returned in the
latest
tag is the latest
version of the GMA Next-Gen SDK:
curl
-sS
https://dl.google.com/dl/android/maven2/com/google/android/libraries/ads/mobile/sdk/ads-mobile-sdk/maven-metadata.xml
|
sed
-n
's/.
google-mobile-ads-android-migrate-to-next-gen
安装
npx skills add https://github.com/google/skills --skill google-mobile-ads-android-migrate-to-next-gen