Groupie Library Not Installing












0















So i am trying to add the groupie libray to my project but I keep getting this error:



Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-33:19 to override.



I have no idea what is going I am importing it in my manifest file like this:






apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.dbzfan200gmail.firebasemessenger"
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'

implementation 'de.hdodenhof:circleimageview:2.2.0'

implementation 'com.xwray:groupie:2.3.0'

implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support:recyclerview-v7:28.0.0'


testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

}

apply plugin: 'com.google.gms.google-services'





I have tried this answer:
https://github.com/material-components/material-components-android/issues/193



But to no avail and now I am completely lost as to why this is not working.










share|improve this question





























    0















    So i am trying to add the groupie libray to my project but I keep getting this error:



    Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
    is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
    Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-33:19 to override.



    I have no idea what is going I am importing it in my manifest file like this:






    apply plugin: 'com.android.application'

    apply plugin: 'kotlin-android'

    apply plugin: 'kotlin-android-extensions'

    android {
    compileSdkVersion 28
    defaultConfig {
    applicationId "com.dbzfan200gmail.firebasemessenger"
    minSdkVersion 19
    targetSdkVersion 28
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
    release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    }

    }

    dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.google.firebase:firebase-core:16.0.5'
    implementation 'com.google.firebase:firebase-auth:16.0.5'
    implementation 'com.google.firebase:firebase-storage:16.0.5'
    implementation 'com.google.firebase:firebase-database:16.0.5'

    implementation 'de.hdodenhof:circleimageview:2.2.0'

    implementation 'com.xwray:groupie:2.3.0'

    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.android.support:recyclerview-v7:28.0.0'


    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    }

    apply plugin: 'com.google.gms.google-services'





    I have tried this answer:
    https://github.com/material-components/material-components-android/issues/193



    But to no avail and now I am completely lost as to why this is not working.










    share|improve this question



























      0












      0








      0








      So i am trying to add the groupie libray to my project but I keep getting this error:



      Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
      is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
      Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-33:19 to override.



      I have no idea what is going I am importing it in my manifest file like this:






      apply plugin: 'com.android.application'

      apply plugin: 'kotlin-android'

      apply plugin: 'kotlin-android-extensions'

      android {
      compileSdkVersion 28
      defaultConfig {
      applicationId "com.dbzfan200gmail.firebasemessenger"
      minSdkVersion 19
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
      release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
      }

      }

      dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.google.firebase:firebase-core:16.0.5'
      implementation 'com.google.firebase:firebase-auth:16.0.5'
      implementation 'com.google.firebase:firebase-storage:16.0.5'
      implementation 'com.google.firebase:firebase-database:16.0.5'

      implementation 'de.hdodenhof:circleimageview:2.2.0'

      implementation 'com.xwray:groupie:2.3.0'

      implementation 'com.squareup.picasso:picasso:2.71828'
      implementation 'com.android.support:recyclerview-v7:28.0.0'


      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

      }

      apply plugin: 'com.google.gms.google-services'





      I have tried this answer:
      https://github.com/material-components/material-components-android/issues/193



      But to no avail and now I am completely lost as to why this is not working.










      share|improve this question
















      So i am trying to add the groupie libray to my project but I keep getting this error:



      Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
      is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
      Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-33:19 to override.



      I have no idea what is going I am importing it in my manifest file like this:






      apply plugin: 'com.android.application'

      apply plugin: 'kotlin-android'

      apply plugin: 'kotlin-android-extensions'

      android {
      compileSdkVersion 28
      defaultConfig {
      applicationId "com.dbzfan200gmail.firebasemessenger"
      minSdkVersion 19
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
      release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
      }

      }

      dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.google.firebase:firebase-core:16.0.5'
      implementation 'com.google.firebase:firebase-auth:16.0.5'
      implementation 'com.google.firebase:firebase-storage:16.0.5'
      implementation 'com.google.firebase:firebase-database:16.0.5'

      implementation 'de.hdodenhof:circleimageview:2.2.0'

      implementation 'com.xwray:groupie:2.3.0'

      implementation 'com.squareup.picasso:picasso:2.71828'
      implementation 'com.android.support:recyclerview-v7:28.0.0'


      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

      }

      apply plugin: 'com.google.gms.google-services'





      I have tried this answer:
      https://github.com/material-components/material-components-android/issues/193



      But to no avail and now I am completely lost as to why this is not working.






      apply plugin: 'com.android.application'

      apply plugin: 'kotlin-android'

      apply plugin: 'kotlin-android-extensions'

      android {
      compileSdkVersion 28
      defaultConfig {
      applicationId "com.dbzfan200gmail.firebasemessenger"
      minSdkVersion 19
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
      release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
      }

      }

      dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.google.firebase:firebase-core:16.0.5'
      implementation 'com.google.firebase:firebase-auth:16.0.5'
      implementation 'com.google.firebase:firebase-storage:16.0.5'
      implementation 'com.google.firebase:firebase-database:16.0.5'

      implementation 'de.hdodenhof:circleimageview:2.2.0'

      implementation 'com.xwray:groupie:2.3.0'

      implementation 'com.squareup.picasso:picasso:2.71828'
      implementation 'com.android.support:recyclerview-v7:28.0.0'


      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

      }

      apply plugin: 'com.google.gms.google-services'





      apply plugin: 'com.android.application'

      apply plugin: 'kotlin-android'

      apply plugin: 'kotlin-android-extensions'

      android {
      compileSdkVersion 28
      defaultConfig {
      applicationId "com.dbzfan200gmail.firebasemessenger"
      minSdkVersion 19
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
      release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
      }

      }

      dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
      implementation 'com.android.support:appcompat-v7:28.0.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.google.firebase:firebase-core:16.0.5'
      implementation 'com.google.firebase:firebase-auth:16.0.5'
      implementation 'com.google.firebase:firebase-storage:16.0.5'
      implementation 'com.google.firebase:firebase-database:16.0.5'

      implementation 'de.hdodenhof:circleimageview:2.2.0'

      implementation 'com.xwray:groupie:2.3.0'

      implementation 'com.squareup.picasso:picasso:2.71828'
      implementation 'com.android.support:recyclerview-v7:28.0.0'


      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

      }

      apply plugin: 'com.google.gms.google-services'






      android gradle






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 '18 at 14:24









      Jayson Minard

      40.3k17113174




      40.3k17113174










      asked Nov 24 '18 at 8:30









      Zubair AmjadZubair Amjad

      627




      627
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Please try adding this to your build.gradle file.It worked for me.



          implementation 'com.xwray:groupie:2.0.3'



          implementation 'com.xwray:groupie-kotlin-android-extensions:2.0.3'






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53456495%2fgroupie-library-not-installing%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Please try adding this to your build.gradle file.It worked for me.



            implementation 'com.xwray:groupie:2.0.3'



            implementation 'com.xwray:groupie-kotlin-android-extensions:2.0.3'






            share|improve this answer




























              0














              Please try adding this to your build.gradle file.It worked for me.



              implementation 'com.xwray:groupie:2.0.3'



              implementation 'com.xwray:groupie-kotlin-android-extensions:2.0.3'






              share|improve this answer


























                0












                0








                0







                Please try adding this to your build.gradle file.It worked for me.



                implementation 'com.xwray:groupie:2.0.3'



                implementation 'com.xwray:groupie-kotlin-android-extensions:2.0.3'






                share|improve this answer













                Please try adding this to your build.gradle file.It worked for me.



                implementation 'com.xwray:groupie:2.0.3'



                implementation 'com.xwray:groupie-kotlin-android-extensions:2.0.3'







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 8 '18 at 6:37









                AADAAD

                11




                11
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53456495%2fgroupie-library-not-installing%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wiesbaden

                    To store a contact into the json file from server.js file using a class in NodeJS

                    Marschland