error: No resource identifier found for attribute 'adUnitId' in package (package name of the game)

588 views
Skip to first unread message

My Best Adams

unread,
Aug 17, 2016, 3:14:26 PM8/17/16
to Google Mobile Ads SDK Developers
Hi
when I tried to replace the old google play service lib with the new one, 2 problem display on : Main at Layout file

error: No resource identifier found for attribute 'adUnitId' in package (package name of the game)
error: No resource identifier found for attribute 'adSize' in package (package name of the game)

Thank you for your help


Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Aug 17, 2016, 4:48:39 PM8/17/16
to Google Mobile Ads SDK Developers
Hi there,

Either there was an import issue or it could be the name space. Would you mind trying the workarounds as per this post in StackOverflow? Also, check if you are missing any updates from your Android SDK Manager including Google Play Services. Let us know if that helps.

Thanks,
Veer Busani
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages