Closed frenic closed 2 years ago
Thanks for the report, I'll look into this tomorrow and get back to you.
Hi @frenic,
Spent some time today looking into this issue.
Unfortunately, I wasn't able to reproduce the exact problem you encountered.
On a positive note, from my investigation it appears this error is caused by some unused tasks for generating javadocs. To that end, I've created a PR to remove these tasks, and we're aiming to test and release that tomorrow.
In the meantime, if you want to test this fix in your local development environment, you can remove these lines from node_modules/raygun4reactnative/android/build.gradle
:
afterEvaluate { project ->
// some Gradle build hooks ref:
// https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
- task androidJavadoc(type: Javadoc) {
- source = android.sourceSets.main.java.srcDirs
- classpath += files(android.bootClasspath)
- classpath += files(project.getConfigurations().getByName('compile').asList())
- include '**/*.java'
- }
-
- task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
- archiveClassifier = 'javadoc'
- from androidJavadoc.destinationDir
- }
-
task androidSourcesJar(type: Jar) {
archiveClassifier = 'sources'
from android.sourceSets.main.java.srcDirs
Thanks, Nick
@Widdershin Thank you, that change makes it all work again 👍
Hi @frenic, a new version of the provider has been published with the changes mentioned above. Thanks for reporting this issue.
With version 1.2.0 and React Native 0.67 I get this error when trying to build the Android app. Is there something I'm missing?