我想在我的应用中集成 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”属性来解决自己的问题。
关于java - 错误 :(175) Attribute "adSize" already defined with incompatible format.(Admob),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43146424/