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

"javax.sql.rowset.serial" not found when using on Android #625

Closed
krzema12 opened this issue Aug 15, 2019 · 1 comment
Closed

"javax.sql.rowset.serial" not found when using on Android #625

krzema12 opened this issue Aug 15, 2019 · 1 comment

Comments

@krzema12
Copy link

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]

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:

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.

@Tapac
Copy link
Contributor

Tapac commented Nov 16, 2019

Should be fixed in 0.18.1. Please check

@Tapac Tapac closed this as completed Nov 16, 2019
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