-
-
Notifications
You must be signed in to change notification settings - Fork 353
Closed
Description
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
Output of node -v && npm -v && npm ls --prod --depth=0
v8.0.0
5.8.0
/Users/...
└── (empty)
Config:
Sentry.config('https://...@sentry.io/...', {
....
}).install()
I have following issue:
when i want to build the project by ./gradlew build
it fails with exception
Steps to reproduce:
./gradlew build
Actual result:
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
}
}
...
The first 3 errors (out of 4) were:
/Users/x/.gradle/caches/modules-2/files-2.1/io.sentry/sentry/1.6.1/59f1d2484fed6478bd454dbe2470b2015172c656/sentry-1.6.1.jar: Error: Invalid package reference in library; not included in Android: javax.naming. Referenced from io.sentry.config.JndiLookup. [InvalidPackage]
/Users/x/.gradle/caches/modules-2/files-2.1/io.sentry/sentry/1.6.1/59f1d2484fed6478bd454dbe2470b2015172c656/sentry-1.6.1.jar: Error: Invalid package reference in library; not included in Android: javax.servlet.http. Referenced from io.sentry.event.helper.BasicRemoteAddressResolver. [InvalidPackage]
/Users/x/.gradle/caches/modules-2/files-2.1/io.sentry/sentry/1.6.1/59f1d2484fed6478bd454dbe2470b2015172c656/sentry-1.6.1.jar: Error: Invalid package reference in library; not included in Android: javax.servlet. Referenced from io.sentry.servlet.SentryServletContainerInitializer. [InvalidPackage]
Expected result:
being built
Metadata
Metadata
Assignees
Labels
No labels