我想在我的应用程序中集成AdMob但是第3天,我无法解决此错误:
这是堆栈:
C:\Users\myuser\Desktop\xxxxxx\app\build\intermediates\res\merged\debug\values\values.xml
Error:(175) Attribute "adSize" already defined with incompatible format.
Error:(142) Original attribute defined here.
Error:Execution failed for task ':app:processDebugResources'.
>com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\myuser\AppData\Local\Android\Sdk\build-tools\25.0.2\aapt.exe'' finished with non-zero exit value 1
如何在我的应用中集成AdMob?
我通过从我的xml中删除重复的“adSize”属性来解决自己。