How to import a specific version of fabric in android
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
add a comment |
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
add a comment |
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
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
java
asked Dec 28 '18 at 9:17
Sonic_Sonic_
216
216
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
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
add a comment |
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.
add a comment |
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 :)
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Dec 28 '18 at 9:22
Milan PansuriyaMilan Pansuriya
1,6251719
1,6251719
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 28 '18 at 9:27
Ajay - RlogicalAjay - Rlogical
1267
1267
add a comment |
add a comment |
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 :)
add a comment |
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 :)
add a comment |
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 :)
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 :)
edited Dec 28 '18 at 9:52
answered Dec 28 '18 at 9:24
Iffat FatimaIffat Fatima
3721519
3721519
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Dec 28 '18 at 11:16
Imran khanImran khan
168
168
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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