【问题标题】:using circular seekbar in android studio在 android studio 中使用圆形搜索栏
【发布时间】:2017-05-22 22:22:13
【问题描述】:

我尝试在android studio中使用圆形搜索栏,我发现this

我执行他说的每件事 毕业典礼是:

buildscript {
repositories {
    jcenter()
    maven { url "https://jitpack.io" }
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.3.1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
 }
}

allprojects {
repositories {
    jcenter()
    maven { url "https://jitpack.io" }
 }
}

 task clean(type: Delete) {
  delete rootProject.buildDir
}

build.gradle(Module app) 是:

apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
    applicationId "com.abdelfattha.mohamed.hamai"
    minSdkVersion 16
    targetSdkVersion 25
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner 
 "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
     }
  }
}

   dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-
    core:2.2.2', 
    {
    exclude group: 'com.android.support', module: 'support-annotations'
     })
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    testCompile 'junit:junit:4.12'
    compile 'com.github.Triggertrap:SeekArc:v1.1'

  }

问题是它给了我错误:

Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@icon value=
(@mipmap/ic_launcher) from AndroidManifest.xml:11:9-43
is also present at [com.github.Triggertrap:SeekArc:v1.1] AndroidManifest.xml:36:9-45 value=(@drawable/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:9:5-25:19 to override.

我希望有人帮我找出错误,因为我是这个领域的新手

【问题讨论】:

    标签: android seekbar


    【解决方案1】:

    你在错误信息中有一个答案:

    Suggestion: add 'tools:replace="android:icon"' to &lt;application&gt; element at AndroidManifest.xml:9:5-25:19 to override.

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-03
    • 2018-03-14
    • 1970-01-01
    • 1970-01-01
    • 2021-05-26
    相关资源
    最近更新 更多