Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Can't configure version 1.1.0 of this library in my android project #20

Open

Description

@goemic

Hi,

I get include this library properly. When I add the "1.1.0" to my project I get the following error. The version "1.0.0" can be added without this error.

Could not find gradle.plugin.com.flurry:symbol-upload:1.1.0.
Searched in the following locations:
  - https://maven.google.com/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.pom
  - https://maven.google.com/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.jar
  - https://jcenter.bintray.com/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.pom
  - https://jcenter.bintray.com/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.jar
  - https://dl.google.com/dl/android/maven2/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.pom
  - https://dl.google.com/dl/android/maven2/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.jar
  - https://plugins.gradle.org/m2/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.pom
  - https://plugins.gradle.org/m2/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.jar
  - https://yahoo.bintray.com/maven/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.pom
  - https://yahoo.bintray.com/maven/gradle/plugin/com/flurry/symbol-upload/1.1.0/symbol-upload-1.1.0.jar
Required by:
    project:

My root build.gradle file looks like this :

buildscript {
    repositories {
        maven { url 'https://maven.google.com' }
        jcenter()
        google()
        // flurry repositories..
        maven { url "https://plugins.gradle.org/m2/" }
        maven { url "https://yahoo.bintray.com/maven" }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.2'
       ...

        classpath "gradle.plugin.com.flurry:symbol-upload:1.1.0"
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

Please update your README to ease the setup (there are infos which are out of date -> manual file upload, which is not supported anymore). I still have no idea where I have to add the config you mention in your README:

flurryCrash {
  <configuration>
}

Activity

  1. changed the title [-]Can't configure this library in m android project[/-] [+]Can't configure version 1.1.0 of this library in my android project[/+] on Nov 5, 2019
  2. goemic commented on Nov 5, 2019

    @goemic
    Author

    When I use the following configuration in my root build.gradle I can access the 1.1.0 version:

    buildscript {
        repositories {
            ..
            // flurry repository..
            maven { url "https://yahoo.bintray.com/maven" }
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:3.3.2'
           ...
    
            classpath 'com.flurry:symbol-upload:1.1.0'
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
    

    At the end of my app level build.gradle file I added the following:
    apply plugin:

    "com.flurry.android.symbols"
    flurryCrash {
        configPath "app/flurry.config"
    }
    

    With this configuration I see this warning on every build:

    WARNING: API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'.
    It will be removed at the end of 2019.
    For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
    To determine what is calling variant.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
    Variant=release UUID={MY_BUILD_UUID..}
    
    

    Is there a possibility to view the uploaded mapping files in flurry? I just want to make sure everything works properly..

  3. suriyasundar92 commented on Dec 17, 2019

    @suriyasundar92
    Contributor

    Hi @goemic,
    We have updated the plugin and published a new version which fixes the warnings.
    Please follow the steps in the following link to use the latest plugin.
    https://plugins.gradle.org/plugin/com.flurry.android.symbols
    Please note that you have to specify classpath "gradle.plugin.com.flurry:symbol-upload:1.2.0" and not classpath "com.flurry:symbol-upload:1.2.0" in build.gradle.

  4. goemic commented on Dec 23, 2020

    @goemic
    Author

    Hi @suriyasundar92,

    your update introduced a new warning:
    WARNING: API 'variant.getMappingFile()' is obsolete and has been replaced with 'variant.getMappingFileProvider()'. It will be removed in version 5.0 of the Android Gradle plugin.

  5. samsonpaul87 commented on May 10, 2021

    @samsonpaul87

    Hi @suriyasundar92,

    your update introduced a new warning:
    WARNING: API 'variant.getMappingFile()' is obsolete and has been replaced with 'variant.getMappingFileProvider()'. It will be removed in version 5.0 of the Android Gradle plugin.

    @suriyasundar92, I am also seeing this new warning. Can somebody help me fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions