You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a dependency on Exposed to my Android project. I'm getting the following error during build time:
/home/piotr/.gradle/caches/modules-2/files-2.1/org.jetbrains.exposed/exposed/0.16.3/8a67e9a777d1b59b84aa435ef2ffc8c817f0966b/exposed-0.16.3.jar:
Error: Invalid package reference in library; not included in Android:
javax.sql.rowset.serial. Referenced from org.jetbrains.exposed.sql.BlobColumnType. [InvalidPackage]
TODO: check if/why it works for other projects that use both Android and Exposed. So far I just found some of such repositories on GitHub, but the fact that they exist doesn't mean that they build and work fine. E.g. this issue NoClassDefFoundError when creating table on Android #461 is about using Exposed with Android, and the project doesn't build straight away
If the above behavior is a bug in Exposed, would it be somehow possible to avoid using javax.sql.rowset.serial.SerialBlob on Android or altogether?
I'm a beginner regarding Android development, so there can be a simple explanation and solution to this issue. In such case, I think that at least Exposed docs should address this issue somehow, to make using Exposed with Android more straightforward.
The text was updated successfully, but these errors were encountered:
I'm trying to add a dependency on Exposed to my Android project. I'm getting the following error during build time:
How to reproduce: clone my project from this branch: https://github.com/krzema12/Time9/tree/exposed-issue . The latest commit adds a dependency on Exposed and it breaks the build.
Trying to understand the issue:
SerialBlob
class referenced here:Exposed/exposed/src/main/kotlin/org/jetbrains/exposed/sql/ColumnType.kt
Line 21 in 4c7a9a4
javax.sql.rowset
package exists in Oracle's API (https://docs.oracle.com/javase/8/docs/api/javax/sql/rowset/serial/SerialBlob.html) and indeed doesn't exist in Android SDK (https://developer.android.com/reference/javax/sql/package-summary)If the above behavior is a bug in Exposed, would it be somehow possible to avoid using
javax.sql.rowset.serial.SerialBlob
on Android or altogether?I'm a beginner regarding Android development, so there can be a simple explanation and solution to this issue. In such case, I think that at least Exposed docs should address this issue somehow, to make using Exposed with Android more straightforward.
The text was updated successfully, but these errors were encountered: