cfc icon indicating copy to clipboard operation
cfc copied to clipboard

App crashing in Android 13 (failing to load libcfc shared library)

Open be4zad opened this issue 2 years ago • 12 comments

ROM: CrDroid 9.0

Logs:

time: 1703228651524
msg: java.lang.UnsatisfiedLinkError: No implementation found for void org.cimbar.camerafilecopy.MainActivity.shutdownJNI() (tried Java_org_cimbar_camerafilecopy_MainActivity_shutdownJNI and Java_org_cimbar_camerafilecopy_MainActivity_shutdownJNI__)
stacktrace: java.lang.UnsatisfiedLinkError: No implementation found for void org.cimbar.camerafilecopy.MainActivity.shutdownJNI() (tried Java_org_cimbar_camerafilecopy_MainActivity_shutdownJNI and Java_org_cimbar_camerafilecopy_MainActivity_shutdownJNI__)
	at org.cimbar.camerafilecopy.MainActivity.shutdownJNI(Native Method)
	at org.cimbar.camerafilecopy.MainActivity.onPause(MainActivity.java:118)
	at android.app.Activity.performPause(Activity.java:8466)
	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1591)
	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5078)
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:5039)
	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4991)
	at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:47)
	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7898)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:946)

be4zad avatar Dec 22 '23 07:12 be4zad

Thanks for reporting this.

It looks like the shared library (C++/NDK) component isn't getting loaded. I'm wondering if there's something interesting/different I need to worry about with CrDroid specifically...

Did you install from fDroid, or the Play Store (or the apk on github?)

sz3 avatar Dec 22 '23 08:12 sz3

f-droid

be4zad avatar Dec 22 '23 08:12 be4zad

Same issue, I also downloaded from f-droid

BurningButter avatar Mar 11 '24 21:03 BurningButter

I tried to install the APK from github and it said it was incompatible with my phone

BurningButter avatar Mar 11 '24 21:03 BurningButter

If either of you are up to run a test, I can produce an experimental build (or two) that might help.

Fair warning: it's a shot in the dark, and might not help. But I do have a couple ideas. :thinking:

sz3 avatar Mar 12 '24 01:03 sz3

I wouldn't mind

BurningButter avatar Mar 12 '24 02:03 BurningButter

The simplest theory is that arm7a libraries are needed, so I made a build of 0.6.1 that supports both v7 (32bit) and v8... theoretically.

Anyway, if you try it, let me know if it installs for you. If it works, even better. :slightly_smiling_face:

edit: fixing link https://cimbar.org/beta/cfc_arm32_0.6.1_cv4.8.apk

sz3 avatar Mar 13 '24 05:03 sz3

@sz3 url not found

be4zad avatar Mar 13 '24 05:03 be4zad

Sorry about that, github lied to me. This link should work: https://cimbar.org/beta/cfc_arm32_0.6.1_cv4.8.apk

sz3 avatar Mar 13 '24 05:03 sz3

@sz3 It works.

be4zad avatar Mar 13 '24 05:03 be4zad

\o/

sz3 avatar Mar 13 '24 06:03 sz3

Worked for me too!

BurningButter avatar Mar 13 '24 11:03 BurningButter