Giter Club home page Giter Club logo

Comments (5)

i1E avatar i1E commented on July 17, 2024 1

Hi @vladop,
in new release v3.7.1, the attribute which caused name collision is renamed. Please check the latest release.

from blinkid-android.

DoDoENT avatar DoDoENT commented on July 17, 2024

Hi @Imperat0r !

BlinkID SDK depends on appcompat, so when you reference BlinkID transitively, you will get appcompat library and its dependencies.

So, if you are referencing appcompat yourself, you can try referencing BlinkID non-transitively (i.e. omit the transitive=true statement). Check if that will solve your issue.

from blinkid-android.

vladop avatar vladop commented on July 17, 2024

I ommited them. I have this compile'com.microblink:blinkid:3.7.0@aar' in my gradle file now.
Error still remains.

from blinkid-android.

DoDoENT avatar DoDoENT commented on July 17, 2024

It appears that the problem is after all not related to dependency conflict. It is caused by BlinkID defining attribute animationDuration inside AAR which defines the duration of rotation animation of rotatable views in CameraViewGroup (check this article to see why this is required).

Currently, the only way to avoid that problem is to rename the attribute to something unique. We will do that in the next release, however, on your side, you can do that by unzipping LibBlinkID.aar, renaming field animationDuration in res/values/values.xml and zipping the folder again into new AAR, which you then must use in your app instead of pulling the BlinkID from maven.

from blinkid-android.

vladop avatar vladop commented on July 17, 2024

Seems easy to do but whatever I do android studio does not recognize the library. Hopefully you will release new version soon.

from blinkid-android.

Related Issues (20)

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.