ChatSDK activation fails with version 4.7.2-7
See original GitHub issueChatSDK activation fails
-
**Is the bug present in the demo Chat SDK project? no
-
**What modifications have you made to the Chat SDK? nothing
-
**Android Version: 8.0 , Chat sdk : 4.7.2-7
-
**Steps taken to reproduce the problem:
Context context = getApplicationContext();
try { Configuration.Builder builder = new Configuration.Builder(context);
builder.firebaseRootPath("testnownow");
ChatSDK.initialize(builder.build(), new FirebaseNetworkAdapter(), new BaseInterfaceAdapter(context));
-
**Expected result: chat sdk activation success
-
**Actual result:
I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<org.greenrobot.greendao.database.DatabaseOpenHelper$EncryptedHelper>: java.lang.NoClassDefFoundError: Failed resolution of: Lnet/sqlcipher/database/SQLiteOpenHelper;
at void co.chatsdk.core.dao.DaoCore.openDB() (DaoCore.java:81)
at void co.chatsdk.core.dao.DaoCore.init(android.content.Context) (DaoCore.java:65)
at co.chatsdk.core.session.ChatSDK co.chatsdk.core.session.ChatSDK.initialize(co.chatsdk.core.session.Configuration, co.chatsdk.core.base.BaseNetworkAdapter, co.chatsdk.core.interfaces.InterfaceAdapter) (ChatSDK.java:88)
at void com.adam.nownow.screens.MainActivity.chatSDKactivation()
...
Caused by: java.lang.ClassNotFoundException: Didn't find class "net.sqlcipher.database.SQLiteOpenHelper" on path: DexPathList[[zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/base.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_dependencies_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_resources_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_0_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_1_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_2_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_3_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_4_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_5_apk.apk", zip file "/data/app/com.adam.nownow-IWyygazDq0HkH-_xVoQiyQ==/split_lib_slice_6_apk.apk", zip file "/data/
at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
If you can't turn on or sign in to iMessage or FaceTime
If you see an error message during activation, follow these steps. When activating iMessage or FaceTime, you might see one of these messages:....
Read more >Mobile App Messaging SDK for Android — Release Notes
Failed to detect email address in a message. SDK fails to display link preview for some of the valid links. Android Messaging SDK...
Read more >iMessage Waiting for Activation? 4 Ways to Fix ... - YouTube
Are you experiencing an iMessage activation unsuccessful or FaceTime activation error message? I will teach you how to activate iMessage and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What I did is to disable instant run. Because even with my dex parameters which I tweaked in every possible aspects I always had a problem. see screenshot: https://ibb.co/gj2Zh3M
I still had other dex issues but with a material library , not a blocking one
@aymenhs could you post your solution? I also experienced this issue but the only solution I could find was to add a dependency to the encryption library.