question

leenah avatar image
leenah asked

Help needed with adding Ads to Android app

Hello everyone, According to "Quick Start Guide https://developer.amazon.com/public/apis/earn/mobile-ads/docs/quick-start " I finished step 1,2 and 3. but I facing problems with step 4 "Add the Amazon Ad to Your App" . So could you please help me figuring out how to modify Java and xml files in order to adding the Ads? because I see many resources related to this issue and I feel lost Knowing that I use Android Studio and I new in android app development. Thanks in advance, Leenah
amazon appstore
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Ross@Amazon avatar image
Ross@Amazon answered
Make sure that you have correctly added the Amazon Mobile Ads jar file to your project's library in Android Studio. This process is different than the one described in the documentation which is for Eclipse. Instructions can be found here: http://stackoverflow.com/questions/16608135/android-studio-add-jar-as-library. There are also mobile ads sample apps included with the SDK. They are fully functioning demos of all Amazon Mobile Ad types. These samples should help you better understand how Amazon Mobile Ads are implemented. Code can be copied directly from these projects and modified as needed to quickly place ads in your app. More information regarding these sample apps can be found here: https://developer.amazon.com/public/apis/earn/mobile-ads/docs/sample-apps.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.