Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved 'net.lingala.zip4j:zip4j:2.11.5' which is not part of the dependency lock state #554

Open
Arif-Shahriar028 opened this issue Jul 8, 2024 · 5 comments
Labels

Comments

@Arif-Shahriar028
Copy link

Arif-Shahriar028 commented Jul 8, 2024

I have added implementation 'net.lingala.zip4j:zip4j:2.11.5' in dependency in build.gradle file. Then when I rebuild the project an error occured:

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Resolved 'net.lingala.zip4j:zip4j:2.11.5' which is not part of the dependency lock state

build.gradle file:

image

error output:

image

Can anyone give any idea whats going wrong? I cannot understand the issues in the error.

Note: I am using react-native-zip-archive in a react-native project. After adding the react-native-zip-archive in my react-native project and when I rebuild the android app, the above mentioned error occurred. Then I added implementation 'net.lingala.zip4j:zip4j:2.11.5' to the gradle.build. But error is still occurring.

@srikanth-lingala
Copy link
Owner

Maybe this helps?

@Skaff02
Copy link

Skaff02 commented Dec 11, 2024

Was this resolved? I am facing the same issue.

@anand-bijliride
Copy link

I am facing the same issue, is it resolved?

@Arif-Shahriar028
Copy link
Author

Arif-Shahriar028 commented Dec 11, 2024

I couldn't solve this issue at that time, then I tried to write my own module for zip unzip.
You can try deleting the lock file located under the /android directory or if you are using gradle wrapper, then you can try :
cd android
./gradlew build --refresh-dependencies

@Skaff02
Copy link

Skaff02 commented Dec 11, 2024

I am facing the same issue, is it resolved?

I think your issue is similar to mine
You can find the solution for it in this thread.

mockingbot/react-native-zip-archive#324 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants