Hello all, I instantiate `AndroidSqliteDriver` i...
# squarelibraries
a
Hello all, I instantiate
AndroidSqliteDriver
in androidMain instead of application module. It works fine until i enable progaurd and throws `java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/sqldelight/android/AndroidSqliteDriver`;. And also i could notice that mapping.tx file has no entry of this class. Can someone be able to help on this?
c
Odd that it's getting minified. This really won't solve why it's getting minified, but you can always just add a rule in
<http://proguard-rules.pro|proguard-rules.pro>
:
Copy code
-keep class com.squareup.sqldelight.android.AndroidSqliteDriver { *;}
a
👍