the dependency
implementation 'com.hzy:libp7zip:1.7.0'
is now
implementation 'com.github.hzy3774:AndroidUn7zip:1.6.0'
Refer to the author's library:
https://jitpack.io/p/hzy3774/AndroidUn7zip