Code Monkey home page Code Monkey logo

analytics-android-integration-localytics's People

Contributors

brennan avatar f2prateek avatar wcjohnson11 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

analytics-android-integration-localytics's Issues

Migration to AndroidX

To whom this may concern:

I know this issue is similar to #11 ; however, that one is closed.

I have been working on migrating a project to AndroidX and it was held up by an issue like this: Unable to resolve dependency for <The consumer module>@debug/compileClasspath: Failed to transform artifact <The aar file> to match attributes {artifactType=jar}.

I resolved the issue, by doing the following:

  1. Clone the repository.
  2. Update the analytics-android-integration-localytics project to the latest Android updates, including AndroidX.
  3. Generate a jar file instead of an aar file. (This is the winning item here. It must be me jar file for it to work. An aar file isn't needed anyway since there aren't any resources in this project's aar file.)
  4. Remove the existing maven dependencies in the consuming project.
  5. Import the jar file as new module in the consuming project.
  6. Rebuild the consuming project.

Now that the consuming project is using a new module, which houses the new jar file, the Gradle transform steps works just fine. It will not work with the aar file at all.

I recommend that the project be updated to the latest versions of Android, Android libraries, etc, and that a jar file be distributed along with the aar file to enable dependent projects to consume the jar artifact.

If it helps, I've uploaded a Git patch file with the Android updates for this project.

Best,

Gregory

androidx_migration.patch.zip

Migrate to AndroidX

I'm trying to migrate to AndroidX and we use this library in our project. However, this is currently causing an issue in our project:

Unable to resolve dependency for ':module@buildType/compileClasspath': Failed to transform file 'localytics-1.3.0.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform

Removing the library makes this issue disappear.
Is there any workaround that would allow me to migrate to AndroidX til this library is migrated?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.