Closed lianbingbing closed 1 year ago
That means that you don't have the spice native library built into the APK binary and when the method is invoked over JNI it fails with a runtime exception.
You need to look at README.md and follow the instructions to prepare the project for deploying aSPICE. Look for the invocations of
prepare_project.sh
Let me know if that helps
On Thu, Apr 20, 2023 at 7:13 AM lianbingbing @.***> wrote:
No implementation found for void com.undatech.opaque.SpiceCommunicator.SpiceClientCutText(java.lang.String) [image: image] https://user-images.githubusercontent.com/16917954/233349226-13ca6d37-cd3b-4ef0-8832-82da8d8cfaec.png
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV5H5TMTCBVNDKMLWRTXCEK6PANCNFSM6AAAAAAXFK66M4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- The conscious mind has only one thread of execution.
First of all, thank you for your reply. I compiled according to the docs, I can run successfully on other devices, the device with the exception is the contact iPad is Lenovo's savior y700, Android12
At 2023-04-24 01:02:06, "iiordanov" @.***> wrote:
That means that you don't have the spice native library built into the APK binary and when the method is invoked over JNI it fails with a runtime exception.
You need to look at README.md and follow the instructions to prepare the project for deploying aSPICE. Look for the invocations of
prepare_project.sh
Let me know if that helps
On Thu, Apr 20, 2023 at 7:13 AM lianbingbing @.***> wrote:
No implementation found for void com.undatech.opaque.SpiceCommunicator.SpiceClientCutText(java.lang.String) [image: image] https://user-images.githubusercontent.com/16917954/233349226-13ca6d37-cd3b-4ef0-8832-82da8d8cfaec.png
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV5H5TMTCBVNDKMLWRTXCEK6PANCNFSM6AAAAAAXFK66M4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- The conscious mind has only one thread of execution.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
So I don't understand, you are saying the app works on certain devices but not on others.
Could you please list devices it works on?
Could you please list devices it doesn't work on?
Does the version from Google Play and from the /releases apks work where your locally built one does not?
On Thu, May 4, 2023, 2:37 a.m. lianbingbing @.***> wrote:
First of all, thank you for your reply. I compiled according to the docs, I can run successfully on other devices, the device with the exception is the contact iPad is Lenovo's savior y700, Android12
At 2023-04-24 01:02:06, "iiordanov" @.***> wrote:
That means that you don't have the spice native library built into the APK binary and when the method is invoked over JNI it fails with a runtime exception.
You need to look at README.md and follow the instructions to prepare the project for deploying aSPICE. Look for the invocations of
prepare_project.sh
Let me know if that helps
On Thu, Apr 20, 2023 at 7:13 AM lianbingbing @.***> wrote:
No implementation found for void
com.undatech.opaque.SpiceCommunicator.SpiceClientCutText(java.lang.String) [image: image] < https://user-images.githubusercontent.com/16917954/233349226-13ca6d37-cd3b-4ef0-8832-82da8d8cfaec.png
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/451, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAK3EV5H5TMTCBVNDKMLWRTXCEK6PANCNFSM6AAAAAAXFK66M4
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- The conscious mind has only one thread of execution.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/451#issuecomment-1534162202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV6UFUGX3RWMJCL5DK3XENFDNANCNFSM6AAAAAAXFK66M4 . You are receiving this because you commented.Message ID: @.***>
Closing due to inactivity, please let me know if you still need help.
I am having the same problem running in emulator. This is a build from source using prebuild dependencies. The apk contains libspice.
[rejap@zet remote-desktop-clients]$ unzip -l ./aSPICE-app/build/outputs/apk/debug/aSPICE-app-debug.apk | grep libspice
1784216 1981-01-01 01:01 lib/x86_64/libspice.so
1685168 1981-01-01 01:01 lib/x86/libspice.so
1357600 1981-01-01 01:01 lib/armeabi-v7a/libspice.so
1739120 1981-01-01 01:01 lib/arm64-v8a/libspice.so
When the line 295 in SpiceCommunicator.java is commented out the spice client appears to works.
Further investigation hints at possibility that the prebuild library is missing the symbol, probably out of date.
[rejap@zet remote-desktop-clients]$ unzip ./aSPICE-app/build/outputs/apk/debug/aSPICE-app-debug.apk lib/x86_64/libspice.so
Archive: ./aSPICE-app/build/outputs/apk/debug/aSPICE-app-debug.apk
inflating: lib/x86_64/libspice.so
[rejap@zet remote-desktop-clients]$ nm -D lib/x86_64/libspice.so | grep -i SpiceCommunicator
000000000002c350 T Java_com_undatech_opaque_SpiceCommunicator_CreateOvirtSession
000000000002d010 T Java_com_undatech_opaque_SpiceCommunicator_FetchVmNames
000000000002d4e0 T Java_com_undatech_opaque_SpiceCommunicator_SpiceAttachUsbDeviceByFileDescriptor
00000000000300c0 T Java_com_undatech_opaque_SpiceCommunicator_SpiceButtonEvent
000000000002b600 T Java_com_undatech_opaque_SpiceCommunicator_SpiceClientConnect
000000000002b460 T Java_com_undatech_opaque_SpiceCommunicator_SpiceClientDisconnect
000000000002d7a0 T Java_com_undatech_opaque_SpiceCommunicator_SpiceDetachUsbDeviceByFileDescriptor
0000000000030020 T Java_com_undatech_opaque_SpiceCommunicator_SpiceKeyEvent
000000000002ff80 T Java_com_undatech_opaque_SpiceCommunicator_SpiceRequestResolution
000000000002c200 T Java_com_undatech_opaque_SpiceCommunicator_StartSessionFromVvFile
000000000002fe30 T Java_com_undatech_opaque_SpiceCommunicator_UpdateBitmap
I have taken the release apk from play store and the Java_com_undatech_opaque_SpiceCommunicator_SpiceClientCutText is inside of the libspice.so.
Hey Pawel,
I had a chance to look into this, and indeed, since I implemented copy/paste integration i had not uploaded a new version of the prebuilt dependencies. The latest commit in master contains a fix and I've uploaded the current dependencies (15) that should work for you.
Thanks again!
On Sun, Jun 18, 2023 at 4:58 PM Pawel Jasinski @.***> wrote:
I have taken the release apk from play store and the Java_com_undatech_opaque_SpiceCommunicator_SpiceClientCutText is inside of the libspice.so.
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/451#issuecomment-1596268221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV6QXE5D7R5A5RJVFO3XL5TX7ANCNFSM6AAAAAAXFK66M4 . You are receiving this because you modified the open/close state.Message ID: @.***>
-- The conscious mind has only one thread of execution.
No implementation found for void com.undatech.opaque.SpiceCommunicator.SpiceClientCutText(java.lang.String)