Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
be4zad opened this issue Dec 22, 2023 · 12 comments
Open

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

be4zad opened this issue Dec 22, 2023 · 12 comments
Labels
bug Something isn't working working on it It's on the roadmap

Comments

@be4zad
Copy link

be4zad commented Dec 22, 2023

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 be4zad changed the title App is crashing in Android 13 App crashing in Android 13 Dec 22, 2023
@sz3
Copy link
Owner

sz3 commented Dec 22, 2023

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?)

@be4zad
Copy link
Author

be4zad commented Dec 22, 2023

f-droid

@sz3 sz3 changed the title App crashing in Android 13 App crashing in Android 13 (failing to load libcfc shared library) Feb 8, 2024
@sz3 sz3 added the bug Something isn't working label Feb 8, 2024
@BurningButter
Copy link

Same issue, I also downloaded from f-droid

@BurningButter
Copy link

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

@sz3
Copy link
Owner

sz3 commented Mar 12, 2024

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. 🤔

@BurningButter
Copy link

I wouldn't mind

@sz3
Copy link
Owner

sz3 commented Mar 13, 2024

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. 🙂

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

@be4zad
Copy link
Author

be4zad commented Mar 13, 2024

@sz3 url not found

@sz3
Copy link
Owner

sz3 commented Mar 13, 2024

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

@be4zad
Copy link
Author

be4zad commented Mar 13, 2024

@sz3 It works.

@sz3
Copy link
Owner

sz3 commented Mar 13, 2024

\o/

@BurningButter
Copy link

Worked for me too!

@sz3 sz3 added the working on it It's on the roadmap label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working working on it It's on the roadmap
Projects
None yet
Development

No branches or pull requests

3 participants