Error: No Resource Identifier Found for Attribute 'Adsize' in Package 'Com.Google.Example' Main.Xml

Getting No resource identifier found for attribute 'adSize' in package right after adding compile com.google.android.gms:play-services:3.1.+

I think you'll find that Admob was part of Google play Services 3.1. Try a more recent version.

It was definitely part of GPS 6.5

No resource identifier found for attribute '...' in package 'com.app....'

I just changed:

xmlns:app="http://schemas.android.com/apk/res-auto" 

to:

xmlns:app="http://schemas.android.com/apk/lib/com.app.chasebank"

and it stopped generating the errors, com.app.chasebank is the name of the package. It should work according to this Stack Overflow : No resource identifier found for attribute 'adSize' in package 'com.google.example' main.xml

No resource identifier found for attribute 'layout_width' in package 'android' / new pacakge

change

    <EditText
android:layout_height="wrap_content"
android:layout_widht="match_parent"
android:hint="Email"
android:inputType="textEmailAddress"
/>

to

   <EditText
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:hint="Email"
android:inputType="textEmailAddress"
/>

credit to @laalto



Related Topics



Leave a reply



Submit