Replies: 1 comment 2 replies
-
This looks like Android's build toolchain complaining about a JDK package ( |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys.
I'm running the command .\gradlew build publishToMaveLocal, to generate a local artifact to be used in another project. But I'm having the following error in android studio
C:\Users\MyUser.gradle\caches\modules-2\files-2.1\com.squareup\kotlinpoet\1.7.1\f0ff54549f263166dcc76ffde5a724a17aaa0d0\kotlinpoet-1.7.1.jar: Error: Invalid package reference in library; not included in Android: javax.tools. Referenced from com.squareup.kotlinpoet.FileSpec. [InvalidPackage]
Can you help me please?
I'm using the following version
com.squareup:kotlinpoet:1.7.1
Beta Was this translation helpful? Give feedback.
All reactions