我在Xamarin Visual Studio中添加admob时出现错误 我在stackoverflow中找到答案,但我无法理解如何做到这一点 error: No resource identifier found for attribute 'adSize' in package 'com.google.example' \t main.xml 例如这个答案: 在您的自定义布局nampespace中将/res/
替换为/lib/
。Android错误:找不到包含'com.google.example'包的属性'adSize'的资源标识符
xmlns:android="http://schemas.android.com/apk/res/android" in your case, would be:
xmlns:yourApp="http://schemas.android.com/apk/lib/com.yourAppPackege.yourClass"
我希望它有帮助。
我不知道该怎么做?
Bro这是githup中的项目,可以下载它并解决问题并上传项目egain以了解? https://github.com/IhabZaidi/XamarinAdmob –