【发布时间】:2017-07-12 15:23:56
【问题描述】:
我的程序有问题
当我将此代码放入 build.gradle 时
我收到了这个错误
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@label value=(Liverpool) from AndroidManifest.xml:8:9-34
is also present at [com.github.lguipeng:BubbleView:1.0.1] AndroidManifest.xml:13:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:5:5-38:19 to override.
当我只将此代码放入build.gradle时
maven { url 'https://maven.fabric.io/public' }
我收到了这个错误
Error:(36, 13) Failed to resolve: com.github.lguipeng:BubbleView:1.0.1
<a href="openFile:C:/Users/Bonata/AndroidStudioProjects/MyApplication5/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
【问题讨论】:
-
dependencies { compile 'com.github.lguipeng:BubbleView:1.0.1' } 你在添加依赖吗?