aliyun / aliyun-log-android-sdk

MIT License
180 stars 40 forks source link

更新2.1出现NoClassDefFoundError #24

Closed piitw closed 5 years ago

piitw commented 5 years ago

使用2.1jar 初始化SLSDatabaseManager.getInstance().setupDB(getApplicationContext()); 出现 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/aliyun/sls/android/sdk/DaoMaster$DevOpenHelper; at com.aliyun.sls.android.sdk.SLSDatabaseManager.setupDB(SourceFile:51)

是使用方式有问题吗

L1uj1awe1 commented 5 years ago

使用2.1jar 初始化SLSDatabaseManager.getInstance().setupDB(getApplicationContext()); 出现 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/aliyun/sls/android/sdk/DaoMaster$DevOpenHelper; at com.aliyun.sls.android.sdk.SLSDatabaseManager.setupDB(SourceFile:51)

是使用方式有问题吗

需要另外引用 FastJson 、GreenDAO

piitw commented 5 years ago

使用2.1jar 初始化SLSDatabaseManager.getInstance().setupDB(getApplicationContext()); 出现 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/aliyun/sls/android/sdk/DaoMaster$DevOpenHelper; at com.aliyun.sls.android.sdk.SLSDatabaseManager.setupDB(SourceFile:51) 是使用方式有问题吗

需要另外引用 FastJson 、GreenDAO

已经解决,感谢!