danielgek / nativescript-sentry

Sentry java/cocoa for nativescript
Apache License 2.0
27 stars 30 forks source link

Android error on build: Duplicate Resources #4

Closed lautaroramos closed 6 years ago

lautaroramos commented 6 years ago

Hi i'm trying to test the plugin but when I add it the compiler throws this error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeF0F1DebugAssets'.
> [app/tns_modules/error-stack-parser/dist/error-stack-parser.min.js] /home/lautaro/proyectos/sentry-test/sentry-app/platforms/android/src/main/assets/app/tns_modules/error-stack-parser/dist/error-stack-parser.min.js        [app/tns_modules/error-stack-parser/dist/error-stack-parser.min.js] /home/lautaro/proyectos/sentry-test/sentry-app/platforms/android/src/main/assets/app/tns_modules/error-stack-parser/dist/error-stack-parser.min.js.gz: Error: Duplicate resources

Any Idea?

danielgek commented 6 years ago

hi, @locolauty97 you can run this rm -rf node_modules/error-stack-parser/dist/ and then remove android platform and add it again in the coming days i will release a new version that will fix this

danielgek commented 6 years ago

@locolauty97 just released a new version!! this is fixed, thanks for the report

lautaroramos commented 6 years ago

great!