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

Getiing following error when launching salesforce mobile sdk based hybrid app on android platform #2619

Open
hemantsumanmetacube opened this issue Sep 24, 2024 · 2 comments

Comments

@hemantsumanmetacube
Copy link

Please fill out the following details:

  1. Version of Mobile SDK Used: 12.0.1
  2. Issue found in Native App or Hybrid App: Hybrid
  3. OS Version: MacOS sequioa and windows 11
  4. Device: Android API 35
  5. Steps to reproduce: Login into the salesforce mobile based hybrid application and after entering the device password the app crashes
  6. Actual behavior: app crashed
  7. Expected Behavior: app should not get crashed
  8. Error Log:
    java.lang.UnsatisfiedLinkError: No implementation found for long net.zetetic.database.sqlcipher.SQLiteConnection.nativeOpen(java.lang.String, int, java.lang.String, boolean, boolean) (tried Java_net_zetetic_database_sqlcipher_SQLiteConnection_nativeOpen and Java_net_zetetic_database_sqlcipher_SQLiteConnection_nativeOpen__Ljava_lang_String_2ILjava_lang_String_2ZZ) - is the library loaded, e.g. System.loadLibrary?
    at net.zetetic.database.sqlcipher.SQLiteConnection.nativeOpen(Native Method)
    at net.zetetic.database.sqlcipher.SQLiteConnection.open(SQLiteConnection.java:226)
    at net.zetetic.database.sqlcipher.SQLiteConnection.open(SQLiteConnection.java:202)
    at net.zetetic.database.sqlcipher.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:475)
    at net.zetetic.database.sqlcipher.SQLiteConnectionPool.open(SQLiteConnectionPool.java:189)
    at net.zetetic.database.sqlcipher.SQLiteConnectionPool.open(SQLiteConnectionPool.java:181)
    at net.zetetic.database.sqlcipher.SQLiteDatabase.openInner(SQLiteDatabase.java:1028)
    at net.zetetic.database.sqlcipher.SQLiteDatabase.open(SQLiteDatabase.java:1013)
    at net.zetetic.database.sqlcipher.SQLiteDatabase.openDatabase(SQLiteDatabase.java:840)
    at net.zetetic.database.sqlcipher.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:359)
    at net.zetetic.database.sqlcipher.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:278)
    at com.salesforce.androidsdk.smartstore.store.SmartStore.getDatabase(SmartStore.java:207)
    at com.salesforce.androidsdk.smartstore.store.SmartStore.clearSoup(SmartStore.java:614)
    at com.salesforce.androidsdk.phonegap.plugin.SmartStorePlugin.clearSoup(SmartStorePlugin.java:559)
    at com.salesforce.androidsdk.phonegap.plugin.SmartStorePlugin.-$$Nest$mclearSoup(Unknown Source:0)
    at com.salesforce.androidsdk.phonegap.plugin.SmartStorePlugin$1.run(SmartStorePlugin.java:150)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
    at java.lang.Thread.run(Thread.java:1012)
    2024-09-24 15:57:07.081 5415-5543 AndroidRuntime com.tier1crm.tier1mobilenow E FATAL EXCEPTION: pool-5-thread-4
    Process: com.tier1crm.tier1mobilenow, PID: 5415
    java.lang.UnsatisfiedLinkError: No implementation found for long net.zetetic.database.sqlcipher.SQLiteConnection.nativeOpen(java.lang.String, int, java.lang.String, boolean, boolean) (tried Java_net_zetetic_database_sqlcipher_SQLiteConnection_nativeOpen and Java_net_zetetic_database_sqlcipher_SQLiteConnection_nativeOpen__Ljava_lang_String_2ILjava_lang_String_2ZZ) - is the library loaded, e.g. System.loadLibrary?
    at net.zetetic.database.sqlcipher.SQLiteConnection.nativeOpen(Native Method)
    at net.zetetic.database.sqlcipher.SQLiteConnection.open(SQLiteConnection.java:226)
    at net.zetetic.database.sqlcipher.SQLiteConnection.open(SQLiteConnection.java:202)
    at net.zetetic.database.sqlcipher.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:475)
    at net.zetetic.database.sqlcipher.SQLiteConnectionPool.open(SQLiteConnectionPool.java:189)
    at net.zetetic.database.sqlcipher.SQLiteConnectionPool.open(SQLiteConnectionPool.java:181)
    at net.zetetic.database.sqlcipher.SQLiteDatabase.openInner(SQLiteDatabase.java:1028)
    at net.zetetic.database.sqlcipher.SQLiteDatabase.open(SQLiteDatabase.java:1013)
    at net.zetetic.database.sqlcipher.SQLiteDatabase.openDatabase(SQLiteDatabase.java:840)
    at net.zetetic.database.sqlcipher.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:359)
    at net.zetetic.database.sqlcipher.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:278)
    at com.salesforce.androidsdk.smartstore.store.SmartStore.getDatabase(SmartStore.java:207)
    at com.salesforce.androidsdk.smartstore.store.SmartStore.clearSoup(SmartStore.java:614)
    at com.salesforce.androidsdk.phonegap.plugin.SmartStorePlugin.clearSoup(SmartStorePlugin.java:559)
    at com.salesforce.androidsdk.phonegap.plugin.SmartStorePlugin.-$$Nest$mclearSoup(Unknown Source:0)
    at com.salesforce.androidsdk.phonegap.plugin.SmartStorePlugin$1.run(SmartStorePlugin.java:150)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
    at java.lang.Thread.run(Thread.java:1012)
@wmathurin
Copy link
Contributor

Is it happening only on Android 35?
Could you try the latest Mobile SDK (12.1.1) ?

@hemantsumanmetacube
Copy link
Author

it's happening on Android 34 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants