How to import a specific version of fabric in android












2














I am building an android app using Bazel build, and I am not able to send crash logs to fabric.io after the Bazel build.
I'm thinking the main problem may be the sync between the module version in android build.gradle and BUILD file.



I have a 1.4.0 version of fabric in BUILD file, my doubt now is how and from where (repo) do I import a specific version of fabric?



My dependecies have classpath 'io.fabric.tools:gradle:1.+' in them when I change the 1.+ to 1.4.0.
I'm getting an error telling that there's no such fabric 1.4.0.
This is my code:



buildscript{
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'io.fabric'

repositories {
maven {
url 'https://google.bintray.com/tensorflow'
}
maven { url 'https://maven.fabric.io/public' }
}


project gradle file:



buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}

}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'io.fabric.tools:gradle:1.26.1'
}
}

allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
}
}
}


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


Is there a way to import a specific package of fabric in android?










share|improve this question



























    2














    I am building an android app using Bazel build, and I am not able to send crash logs to fabric.io after the Bazel build.
    I'm thinking the main problem may be the sync between the module version in android build.gradle and BUILD file.



    I have a 1.4.0 version of fabric in BUILD file, my doubt now is how and from where (repo) do I import a specific version of fabric?



    My dependecies have classpath 'io.fabric.tools:gradle:1.+' in them when I change the 1.+ to 1.4.0.
    I'm getting an error telling that there's no such fabric 1.4.0.
    This is my code:



    buildscript{
    repositories {
    maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
    classpath 'io.fabric.tools:gradle:1.+'
    }
    }
    apply plugin: 'io.fabric'

    repositories {
    maven {
    url 'https://google.bintray.com/tensorflow'
    }
    maven { url 'https://maven.fabric.io/public' }
    }


    project gradle file:



    buildscript {
    repositories {
    google()
    jcenter()
    maven {
    url 'https://maven.fabric.io/public'
    }

    }
    dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
    classpath 'com.google.gms:google-services:4.2.0'
    classpath 'io.fabric.tools:gradle:1.26.1'
    }
    }

    allprojects {
    repositories {
    google()
    jcenter()
    maven {
    url 'https://maven.google.com/'
    }
    }
    }


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


    Is there a way to import a specific package of fabric in android?










    share|improve this question

























      2












      2








      2







      I am building an android app using Bazel build, and I am not able to send crash logs to fabric.io after the Bazel build.
      I'm thinking the main problem may be the sync between the module version in android build.gradle and BUILD file.



      I have a 1.4.0 version of fabric in BUILD file, my doubt now is how and from where (repo) do I import a specific version of fabric?



      My dependecies have classpath 'io.fabric.tools:gradle:1.+' in them when I change the 1.+ to 1.4.0.
      I'm getting an error telling that there's no such fabric 1.4.0.
      This is my code:



      buildscript{
      repositories {
      maven { url 'https://maven.fabric.io/public' }
      }
      dependencies {
      classpath 'io.fabric.tools:gradle:1.+'
      }
      }
      apply plugin: 'io.fabric'

      repositories {
      maven {
      url 'https://google.bintray.com/tensorflow'
      }
      maven { url 'https://maven.fabric.io/public' }
      }


      project gradle file:



      buildscript {
      repositories {
      google()
      jcenter()
      maven {
      url 'https://maven.fabric.io/public'
      }

      }
      dependencies {
      classpath 'com.android.tools.build:gradle:3.0.1'
      classpath 'com.google.gms:google-services:4.2.0'
      classpath 'io.fabric.tools:gradle:1.26.1'
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      maven {
      url 'https://maven.google.com/'
      }
      }
      }


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


      Is there a way to import a specific package of fabric in android?










      share|improve this question













      I am building an android app using Bazel build, and I am not able to send crash logs to fabric.io after the Bazel build.
      I'm thinking the main problem may be the sync between the module version in android build.gradle and BUILD file.



      I have a 1.4.0 version of fabric in BUILD file, my doubt now is how and from where (repo) do I import a specific version of fabric?



      My dependecies have classpath 'io.fabric.tools:gradle:1.+' in them when I change the 1.+ to 1.4.0.
      I'm getting an error telling that there's no such fabric 1.4.0.
      This is my code:



      buildscript{
      repositories {
      maven { url 'https://maven.fabric.io/public' }
      }
      dependencies {
      classpath 'io.fabric.tools:gradle:1.+'
      }
      }
      apply plugin: 'io.fabric'

      repositories {
      maven {
      url 'https://google.bintray.com/tensorflow'
      }
      maven { url 'https://maven.fabric.io/public' }
      }


      project gradle file:



      buildscript {
      repositories {
      google()
      jcenter()
      maven {
      url 'https://maven.fabric.io/public'
      }

      }
      dependencies {
      classpath 'com.android.tools.build:gradle:3.0.1'
      classpath 'com.google.gms:google-services:4.2.0'
      classpath 'io.fabric.tools:gradle:1.26.1'
      }
      }

      allprojects {
      repositories {
      google()
      jcenter()
      maven {
      url 'https://maven.google.com/'
      }
      }
      }


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


      Is there a way to import a specific package of fabric in android?







      java android crashlytics bazel crashlytics-android






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 28 '18 at 9:17









      Sonic_Sonic_

      216




      216
























          4 Answers
          4






          active

          oldest

          votes


















          0














          Yes you can add specific version in your code
          Fabric current version is



          1.27.0
          For more details, you can check the latest version here






          share|improve this answer





























            0














            Please check this gradle code.



            apply plugin: 'io.fabric'

            buildscript {
            repositories {
            maven { url 'https://maven.fabric.io/public' }
            }

            dependencies {
            classpath 'io.fabric.tools:gradle:1.27.0'
            }
            }

            repositories {
            jcenter()
            maven { url 'https://maven.fabric.io/public' }
            }


            Please check This link.






            share|improve this answer





























              0














              Yes you can add the specific version.



              Here is the official list of all versions of Fabric Gradle plugin including the latest release i.e. 1.27.0. As you can see in the list there is no version 1.4, hence it gives you that error.



              To add the latest version you need to add this line in dependency:



               classpath 'io.fabric.tools:gradle:1.27.0'


              Always read the comments in official documentation, this link is already in the comments :)






              share|improve this answer































                0














                Just Installed fabric plugin and follow the instruction



                https://fabric.io/home



                after installed the plugin see in android studio at Right Top corner fabric button.



                click this and login and proceed as show steps






                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%2f53956134%2fhow-to-import-a-specific-version-of-fabric-in-android%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  4 Answers
                  4






                  active

                  oldest

                  votes








                  4 Answers
                  4






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  0














                  Yes you can add specific version in your code
                  Fabric current version is



                  1.27.0
                  For more details, you can check the latest version here






                  share|improve this answer


























                    0














                    Yes you can add specific version in your code
                    Fabric current version is



                    1.27.0
                    For more details, you can check the latest version here






                    share|improve this answer
























                      0












                      0








                      0






                      Yes you can add specific version in your code
                      Fabric current version is



                      1.27.0
                      For more details, you can check the latest version here






                      share|improve this answer












                      Yes you can add specific version in your code
                      Fabric current version is



                      1.27.0
                      For more details, you can check the latest version here







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Dec 28 '18 at 9:22









                      Milan PansuriyaMilan Pansuriya

                      1,6251719




                      1,6251719

























                          0














                          Please check this gradle code.



                          apply plugin: 'io.fabric'

                          buildscript {
                          repositories {
                          maven { url 'https://maven.fabric.io/public' }
                          }

                          dependencies {
                          classpath 'io.fabric.tools:gradle:1.27.0'
                          }
                          }

                          repositories {
                          jcenter()
                          maven { url 'https://maven.fabric.io/public' }
                          }


                          Please check This link.






                          share|improve this answer


























                            0














                            Please check this gradle code.



                            apply plugin: 'io.fabric'

                            buildscript {
                            repositories {
                            maven { url 'https://maven.fabric.io/public' }
                            }

                            dependencies {
                            classpath 'io.fabric.tools:gradle:1.27.0'
                            }
                            }

                            repositories {
                            jcenter()
                            maven { url 'https://maven.fabric.io/public' }
                            }


                            Please check This link.






                            share|improve this answer
























                              0












                              0








                              0






                              Please check this gradle code.



                              apply plugin: 'io.fabric'

                              buildscript {
                              repositories {
                              maven { url 'https://maven.fabric.io/public' }
                              }

                              dependencies {
                              classpath 'io.fabric.tools:gradle:1.27.0'
                              }
                              }

                              repositories {
                              jcenter()
                              maven { url 'https://maven.fabric.io/public' }
                              }


                              Please check This link.






                              share|improve this answer












                              Please check this gradle code.



                              apply plugin: 'io.fabric'

                              buildscript {
                              repositories {
                              maven { url 'https://maven.fabric.io/public' }
                              }

                              dependencies {
                              classpath 'io.fabric.tools:gradle:1.27.0'
                              }
                              }

                              repositories {
                              jcenter()
                              maven { url 'https://maven.fabric.io/public' }
                              }


                              Please check This link.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Dec 28 '18 at 9:27









                              Ajay - RlogicalAjay - Rlogical

                              1267




                              1267























                                  0














                                  Yes you can add the specific version.



                                  Here is the official list of all versions of Fabric Gradle plugin including the latest release i.e. 1.27.0. As you can see in the list there is no version 1.4, hence it gives you that error.



                                  To add the latest version you need to add this line in dependency:



                                   classpath 'io.fabric.tools:gradle:1.27.0'


                                  Always read the comments in official documentation, this link is already in the comments :)






                                  share|improve this answer




























                                    0














                                    Yes you can add the specific version.



                                    Here is the official list of all versions of Fabric Gradle plugin including the latest release i.e. 1.27.0. As you can see in the list there is no version 1.4, hence it gives you that error.



                                    To add the latest version you need to add this line in dependency:



                                     classpath 'io.fabric.tools:gradle:1.27.0'


                                    Always read the comments in official documentation, this link is already in the comments :)






                                    share|improve this answer


























                                      0












                                      0








                                      0






                                      Yes you can add the specific version.



                                      Here is the official list of all versions of Fabric Gradle plugin including the latest release i.e. 1.27.0. As you can see in the list there is no version 1.4, hence it gives you that error.



                                      To add the latest version you need to add this line in dependency:



                                       classpath 'io.fabric.tools:gradle:1.27.0'


                                      Always read the comments in official documentation, this link is already in the comments :)






                                      share|improve this answer














                                      Yes you can add the specific version.



                                      Here is the official list of all versions of Fabric Gradle plugin including the latest release i.e. 1.27.0. As you can see in the list there is no version 1.4, hence it gives you that error.



                                      To add the latest version you need to add this line in dependency:



                                       classpath 'io.fabric.tools:gradle:1.27.0'


                                      Always read the comments in official documentation, this link is already in the comments :)







                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Dec 28 '18 at 9:52

























                                      answered Dec 28 '18 at 9:24









                                      Iffat FatimaIffat Fatima

                                      3721519




                                      3721519























                                          0














                                          Just Installed fabric plugin and follow the instruction



                                          https://fabric.io/home



                                          after installed the plugin see in android studio at Right Top corner fabric button.



                                          click this and login and proceed as show steps






                                          share|improve this answer


























                                            0














                                            Just Installed fabric plugin and follow the instruction



                                            https://fabric.io/home



                                            after installed the plugin see in android studio at Right Top corner fabric button.



                                            click this and login and proceed as show steps






                                            share|improve this answer
























                                              0












                                              0








                                              0






                                              Just Installed fabric plugin and follow the instruction



                                              https://fabric.io/home



                                              after installed the plugin see in android studio at Right Top corner fabric button.



                                              click this and login and proceed as show steps






                                              share|improve this answer












                                              Just Installed fabric plugin and follow the instruction



                                              https://fabric.io/home



                                              after installed the plugin see in android studio at Right Top corner fabric button.



                                              click this and login and proceed as show steps







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Dec 28 '18 at 11:16









                                              Imran khanImran khan

                                              168




                                              168






























                                                  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.





                                                  Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                  Please pay close attention to the following guidance:


                                                  • 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%2f53956134%2fhow-to-import-a-specific-version-of-fabric-in-android%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

                                                  Mossoró

                                                  Error while reading .h5 file using the rhdf5 package in R

                                                  Pushsharp Apns notification error: 'InvalidToken'