dokar3 / quickjs-kt

A QuickJS binding for idiomatic Kotlin, with Async/DSL/ES Modules support.
Apache License 2.0
31 stars 3 forks source link

2 files found with path 'lib/arm64-v8a/libquickjs.so' from inputs: #99

Closed TelephoneTan closed 4 weeks ago

TelephoneTan commented 1 month ago

I try to run my project on my Android phone, but it fails with error:

2 files found with path 'lib/arm64-v8a/libquickjs.so' from inputs:
 - C:\Users\Terry\.gradle\caches\8.8\transforms\d815028faf901d4d4975b34335a30e4f\transformed\quickjs-release\jni\arm64-v8a\libquickjs.so
 - C:\Users\Terry\.gradle\caches\8.8\transforms\c5c5b7415d5b142347150f6c559b9ab3\transformed\zipline-release\jni\arm64-v8a\libquickjs.so
If you are using jniLibs and CMake IMPORTED targets, see
https://developer.android.com/r/tools/jniLibs-vs-imported-targets
dokar3 commented 4 weeks ago

Yes, It uses the same name 'libquickjs' as Zipline, so it's incompatible with Zipline, this can't be avoided IMO.

If there is a solution please let me know.

TelephoneTan commented 4 weeks ago

I clear all built caches, and it works now.

I have been using ZiplineJS in my project until I can't stand its weird StackOverflow exceptions anymore. ZiplineJS has few documents, and it doesn't support Windows as well.

So I am on this library now.

dokar3 commented 4 weeks ago

I see, Zipline is great and it inspired this library, but I can't set it up without Kotlin/JS, so I gave it up😥.