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
The plug-in which depends on theta-plugin-library v2.1.0 always fails to build for release.
v2.1.0 depends on sanselan-0.97-incubator.jar, and The sanselan references AWT. That causes lint-error because Android system does not contain AWT.
There is abortOnError false option as a workaround, but that is not a good idea.
Error Message
> Task :app:transformClassesWithDexBuilderForRelease
> Task :app:lint
Ran lint on variant release: 3 issues found
Ran lint on variant debug: 3 issues found
Wrote HTML report to ***
Wrote XML report to ***
> Task :app:lint FAILED
> Task :app:mergeExtDexDebug
> Task :app:mergeDexRelease
> Task :app:mergeReleaseJavaResource
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:lint'.
> Lint found errors in the project; aborting build.
Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
lintOptions {
abortOnError false
}
}
...
Errors found:
***/.gradle/caches/modules-2/files-2.1/org.apache.sanselan/sanselan/0.97-incubator/***/sanselan-0.97-incubator.jar: Error: Invalid package reference in library; not included in Android: java.awt.color. Referenced from org.apache.sanselan.ColorTools. [InvalidPackage]
***/.gradle/caches/modules-2/files-2.1/org.apache.sanselan/sanselan/0.97-incubator/***/sanselan-0.97-incubator.jar: Error: Invalid package reference in library; not included in Android: java.awt.image. Referenced from org.apache.sanselan.ColorTools. [InvalidPackage]
***/.gradle/caches/modules-2/files-2.1/org.apache.sanselan/sanselan/0.97-incubator/***/sanselan-0.97-incubator.jar: Error: Invalid package reference in library; not included in Android: java.awt. Referenced from org.apache.sanselan.ColorTools. [InvalidPackage]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 11s
98 actionable tasks: 47 executed, 51 up-to-date
23:06:03: Task execution finished 'build'.
The text was updated successfully, but these errors were encountered:
The plug-in which depends on theta-plugin-library v2.1.0 always fails to build for release.
v2.1.0 depends on
sanselan-0.97-incubator.jar
, and The sanselan references AWT. That causes lint-error because Android system does not contain AWT.There is
abortOnError false
option as a workaround, but that is not a good idea.Error Message
The text was updated successfully, but these errors were encountered: