question

Karlyle G avatar image
Karlyle G asked

Amazon Adds

build crashes when trying to integrate amazon ad banner in android eclipse application with following errors Unable to start activity ComponentInfo{com.practice.practiceApplication/com.practice.practiceApplication.MainActivity}: Android View InflateException: Binary XML file line 42:Error Inflation class com.amazon.device.ads.adLayout
mobile ads
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

DougM@Amazon avatar image
DougM@Amazon answered
Hello Karlyle G, Please make sure that in your Activity's manifest file that you are including the Amazon MobileAds XML schema within your root layout which should go immediately under the xmlns:android entry in the layout file. xmlns:Amazon=" http://schemas.android.com/apk/lib/com.amazon.device.ads" For more information, please look at our Amazon MobileAds Quick Start Guide at : https://developer.amazon.com/public/apis/earn/mobile-ads/docs/quick-start
10 |5000

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