mbruel / ClementineRemote

Remote for Clementine Music Player developped in C++/QT5/QML to be available on any OS. Its main goal is to add the Files View missing in the Android Remote.
GNU General Public License v3.0
16 stars 5 forks source link

opening the app on Android 10 fails #5

Closed spoo333 closed 3 years ago

spoo333 commented 3 years ago

Hello, thanks for making this app. I installed it via the playstore. Unfortunately when I try to launch it, it aborts straight away. This is the error log:

time: 1613179407005 msg: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_Resume" referenced by "/data/app/fr.mbruel.ClementineRemote-jQAs4geznuNvWT4eBMQkxQ==/lib/arm64/libprotobuf.so"... stacktrace: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_Unwind_Resume" referenced by "/data/app/fr.mbruel.ClementineRemote-jQAs4geznuNvWT4eBMQkxQ==/lib/arm64/libprotobuf.so"... at java.lang.Runtime.load0(Runtime.java:938) at java.lang.System.load(System.java:1631) at org.qtproject.qt5.android.QtNative$3.run(QtNative.java:348) at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87) at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61) at java.lang.Thread.run(Thread.java:919)

Is the library libprotobuf.so missing? If so, how can I install it on my phone ... thank you

mbruel commented 3 years ago

Hi, hum, that's strange. libptotobuf.so should be included for both armv7 and arm64. Google Play forces to create an package with both versions. I've never tried the 64 bit version, but I compiled libprotobuf for it so it should work... You can find here 2 apks, one for arm64, another one for armv7. Normally both should run on a 64 bit architecture. Could you please give it a try. First the arm64 version but I expect you'd have the same crash... Then the armv7 version, normally it should work. I'll try to find some time next week to dig this issue a little bit. I'll probably also release the v1.1 by the end of the month.

spoo333 commented 3 years ago

Hi Mattieu, thanks for getting back to me. As you expected, the arm64 version doesn't work, just like the version on GoogePlay. The armv7 version installs ok and I can run it. Thanks for the software. Nice to see a new remote. Is it possible that downloads don't work yet? When I try to change the download folder to [root folder]/Music (and select overwrite files, just like in the old ClementineRemote), it tells me "error creating download folder...". When I check the download setting, the download folder has reverted to the previous/default /storage/emulated/0/Download. In another window the software tells me that the feature has not been implemented yet. I'll attach the screenshots. Anway, thanks for all your work and effort. Looking forward to v1.1. All the best, David

On Sat, Feb 13, 2021 at 11:02 AM Matthieu notifications@github.com wrote:

Hi, hum, that's strange. libptotobuf.so should be included for both armv7 and arm64. Google Play forces to create an package with both versions. I've never tried the 64 bit version, but I compiled libprotobuf for it so it should work... You can find here 2 apks, one for arm64, another one for armv7 https://files.fm/u/5przm4pqx. Normally both should run on a 64 bit architecture. Could you please give it a try. First the arm64 version but I expect you'd have the same crash... Then the armv7 version, normally it should work. I'll try to find some time next week to dig this issue a little bit. I'll probably also release the v1.1 by the end of the month.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mbruel/ClementineRemote/issues/5#issuecomment-778600307, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRAUCL5BP7M3OXQHKZYWT3S6ZL5BANCNFSM4XRTOZLA .

mbruel commented 3 years ago

It was a problem with the android ndk... After lots of headache, I've updated to android-ndk-r21e, rebuilt protobuf lib for arm64 and it seems to work \o/ The new version will arrive soon, I'm kind of finishing it :)

spoo333 commented 3 years ago

Thanks for all your work. Looking forward to the new version

On Fri, 21 May 2021, 17:36 Matthieu, @.***> wrote:

Closed #5 https://github.com/mbruel/ClementineRemote/issues/5.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mbruel/ClementineRemote/issues/5#event-4780326067, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRAUCLKXM3WHYWVYGKZULTTO2DY7ANCNFSM4XRTOZLA .