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
I have an issue, building this project on my local machine. When I clone this repository with the version 2.0.0, I got the following error:
-----------
* What went wrong:
Execution failed for task ':conscrypt-api-doclet:compileJava'.
> java.lang.ClassNotFoundException: com.google.errorprone.ErrorProneCompiler$Builder
Another error is appearing, when I use the master branch with the same specs:
* What went wrong:
A problem occurred configuring root project 'conscrypt'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:7.4.0.
Required by:
project :
> No matching variant of com.android.tools.build:gradle:7.4.0 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5' but:
- Variant 'apiElements' capability com.android.tools.build:gradle:7.4.0 declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.5')
- Variant 'javadocElements' capability com.android.tools.build:gradle:7.4.0 declares a runtime of a component, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 8)
- Doesn't say anything about its elements (required them packaged as a jar)
- Doesn't say anything about org.gradle.plugin.api-version (required '7.5')
- Variant 'runtimeElements' capability com.android.tools.build:gradle:7.4.0 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.5')
- Variant 'sourcesElements' capability com.android.tools.build:gradle:7.4.0 declares a runtime of a component, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 8)
- Doesn't say anything about its elements (required them packaged as a jar)
- Doesn't say anything about org.gradle.plugin.api-version (required '7.
Here are my versions, that I used for the rebuild this error messages:
JDK 8
SDK 34.0.0
NDK 21.0.6113669
CMake 3.6.4111459
C++ 11.3.0
Maybe is use the wrong versions to build this project via "./gradlew assemble". In the BUILDING.md file I cannot see any version hints for these building tools.
Maybe you guys can help me with this issue. Thanks a lot!
The text was updated successfully, but these errors were encountered:
As per the pre-reqs, Gradle needs JDK 11 to build this project. And currently it also needs JDK 8 for the actual compilation (we'll fix that). So you'll need your JAVA_HOME to point at JDK11 but also to have JDK 8 available somewhere that Gradle can find it.
I have an issue, building this project on my local machine. When I clone this repository with the version 2.0.0, I got the following error:
Another error is appearing, when I use the master branch with the same specs:
Here are my versions, that I used for the rebuild this error messages:
Maybe is use the wrong versions to build this project via "./gradlew assemble". In the BUILDING.md file I cannot see any version hints for these building tools.
Maybe you guys can help me with this issue. Thanks a lot!
The text was updated successfully, but these errors were encountered: