Giter Club home page Giter Club logo

Comments (46)

awxkee avatar awxkee commented on July 30, 2024 1

1.0.23 still fails (

I think it will be at least ten more fails :)

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024 1

24 built fine :)

Try out I think it's done

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024 1

Surpringly but jitpack doesn't work this way. It squashes all projects that provides publishing into one. After you added avif-coder all classes from coil framework should be visible too

:)))))))))) gradle gonna kill me soon

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Maybe that's because i suddenly removed publishing plugin from gradle script...

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

1.0.23 still fails (

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

24 built fine :)

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

24 built fine :)

Try out I think it's done

will check now

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Works, but i have this error
image

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

That's the reason why i copied the source and added this to avif-coder build gradle

 packaging {
        jniLibs {
            excludes.add("lib/*/liblog.so")
            useLegacyPackaging = false
            keepDebugSymbols.clear()
        }
    }

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

I think it's your local problem

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Try clean gradle cache. Have a look on your paths, your project accidently imports two same named libraries from different paths

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Make pickFirst / pickLatest strategy or find out why you importing one library two times simultaneously

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Try clean gradle cache. Have a look on your paths, your project accidently imports two same named libraries from different paths

Nothing helps, only this packaging block, because gpuimage local module creates it too (

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Make pickFirst / pickLatest strategy or find out why you importing one library two times simultaneously

ll try now

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

You're definitely mixing up something. GPU image produces libyuv-decoder.so library

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

If you has cloned my avif and have a sub project then you imports somewhere remote avif-coder and local avif-coder at the same time: They producing the same files and it fails

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

I build lib locally from jitpack. It absolutely your local problem

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

If you has cloned my avif and have a sub project then you imports somewhere remote avif-coder and local avif-coder at the same time: They producing the same files and it fails

Let me explain, i have different product flavors, on is FOSS and there i need your remote dependency, and i has market flavor where i use modified cloned module

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Make pickFirst / pickLatest strategy or find out why you importing one library two times simultaneously

this one helped!
image
thanks :)

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Fine, why don't do 'fossImplementation 'remote avif' 'debugImpleementation 'local-avif' 'releaseImplementation ?

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Make pickFirst / pickLatest strategy or find out why you importing one library two times simultaneously

this one helped! image thanks :)

Better do the right imports because it' quite gold hammer strategy for your case

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Fine, why don't do 'fossImplementation 'remote avif' 'debugImpleementation 'local-avif' 'releaseImplementation ?

image

using that way

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Okay. Then double check that you don't have cycling deps because this one should works well if you didn't do the cycle

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Maybe one more project exporting same project?

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Definitely no, because they are not rely on each other, but maybe i didn't get something :(

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Definitely no, because they are not rely on each other, but maybe i didn't get something :(

If you cloned the project it this possible that avif-coil depends on avif-coder?

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Also, can i request only one addition to heif coder please?

image

Could you add this dummy check? Because my app uses api 21 and on older than 24 i close avif using on client side, so all is fine, but if this check not here app crashes :(

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

If you cloned the project it this possible that avif-coil depends on avif-coder?

Yes, it is, i will exlude now

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Also, can i request only one addition to heif coder please?

image

Could you add this dummy check? Because my app uses api 21 and on older than 24 i close avif using on client side, so all is fine, but if this check not here app crashes :(

I may give you the general recommendation never do this way :)

But if it is necessary your app should handle as I remember not an ancestor of Exception but an ancestor of Error.
Generally speaking you should be able to intercept this error you will catch the right ancestor of error.

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Also, can i request only one addition to heif coder please?
image
Could you add this dummy check? Because my app uses api 21 and on older than 24 i close avif using on client side, so all is fine, but if this check not here app crashes :(

I may give you the general recommendation never do this way :)

But if it is necessary your app should handle as I remember not an ancestor of Exception but an ancestor of Error. Generally speaking you should be able to intercept this error you will catch the right ancestor of error.

But if i use your remote dependency i can't handle system crash if user has lower api, because init block just happens

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Ok. But actually I don't remember why I chose 24 as a minimum give me some time to check maybe I may just compile for 21 all the libs

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Ok. But actually I don't remember why I chose 24 as a minimum give me some time to check maybe I may just compile for 21 all the libs

i'll wait for the updares then :)

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Ok. But actually I don't remember why I chose 24 as a minimum give me some time to check maybe I may just compile for 21 all the libs

i'll wait for the updares then :)

No, no way. Only if remove heic with heif support then possible.
But check is already added. It should be in 1.0.24 release. Is it not enough?

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Also, can i request only one addition to heif coder please?
image
Could you add this dummy check? Because my app uses api 21 and on older than 24 i close avif using on client side, so all is fine, but if this check not here app crashes :(

I may give you the general recommendation never do this way :)

But if it is necessary your app should handle as I remember not an ancestor of Exception but an ancestor of Error. Generally speaking you should be able to intercept this error you will catch the right ancestor of error.

But if i use your remote dependency i can't handle system crash if user has lower api, because init block just happens

You mean this one?

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Also, can i request only one addition to heif coder please?
image
Could you add this dummy check? Because my app uses api 21 and on older than 24 i close avif using on client side, so all is fine, but if this check not here app crashes :(

I may give you the general recommendation never do this way :)
But if it is necessary your app should handle as I remember not an ancestor of Exception but an ancestor of Error. Generally speaking you should be able to intercept this error you will catch the right ancestor of error.

But if i use your remote dependency i can't handle system crash if user has lower api, because init block just happens

You mean this one?

Yes, that one
image

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Also, can i request only one addition to heif coder please?
image
Could you add this dummy check? Because my app uses api 21 and on older than 24 i close avif using on client side, so all is fine, but if this check not here app crashes :(

I may give you the general recommendation never do this way :)
But if it is necessary your app should handle as I remember not an ancestor of Exception but an ancestor of Error. Generally speaking you should be able to intercept this error you will catch the right ancestor of error.

But if i use your remote dependency i can't handle system crash if user has lower api, because init block just happens

You mean this one?

Yes, that one
image

Yup, it is enough, thanks!

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

I have another problem, again...

when trying to exclude transitive copy of avif-coder i get this error

implementation(project(":avif-coder-coil")) {
        isTransitive = false
    }
Cannot change dependencies of dependency configuration ':avif-coder-coil:api' after it has been included in dependency resolution.

but when i try to not exclude i get duplicate classes packaged into jar (

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

It won't work this way. You have to do related Flavors as in main project for you subproject too. But this is quite annoying and in fact I recommend you just delete avif-coder-coil and copy this one file from it to the root.

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

It won't work this way. You have to do related Flavors as in main project for you subproject too. But this is quite annoying and in fact I recommend you just delete avif-coder-coil and copy this one file from it to the root.

Okay, and also there is problem with coil remote dependency:
Could not GET 'https://jitpack.io/com/github/awxkee/avif-coder-coil/1.0.24/avif-coder-coil-1.0.24.pom'. Received status code 401 from server: Unauthorized

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Surpringly but jitpack doesn't work this way. It squashes all projects that provides publishing into one. After you added avif-coder all classes from coil framework should be visible too

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

It won't work this way. You have to do related Flavors as in main project for you subproject too. But this is quite annoying and in fact I recommend you just delete avif-coder-coil and copy this one file from it to the root.

Okay, and also there is problem with coil remote dependency: Could not GET 'https://jitpack.io/com/github/awxkee/avif-coder-coil/1.0.24/avif-coder-coil-1.0.24.pom'. Received status code 401 from server: Unauthorized

and what is it also?

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

It won't work this way. You have to do related Flavors as in main project for you subproject too. But this is quite annoying and in fact I recommend you just delete avif-coder-coil and copy this one file from it to the root.

Okay, and also there is problem with coil remote dependency: Could not GET 'https://jitpack.io/com/github/awxkee/avif-coder-coil/1.0.24/avif-coder-coil-1.0.24.pom'. Received status code 401 from server: Unauthorized

and what is it also?

Jitpack provides only one source of truth - the main packaga name that correlates to github proj name so for avif-coder it is implementation 'com.github.awxkee:avif-coder:Tag where all projects from avif-coder squashed into it.
And other endpoint means unexisting or "you have no rights" for privacy reasons.

For existing this endpoint I must created project name avif-coder-coil and do all the stuff there...

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Got it, i removed coil dependency for foss
image
now it builds :)

from avif-coder.

awxkee avatar awxkee commented on July 30, 2024

Well done

from avif-coder.

T8RIN avatar T8RIN commented on July 30, 2024

Thanks for your support and answers!!

from avif-coder.

Related Issues (17)

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.