Assigned
Status Update
Comments
ku...@google.com <ku...@google.com>
an...@google.com <an...@google.com> #2
Thanks for the feedback. I am not able to reproduce the issue based upon the information provided; when adding the specified dependency, the BouncyCastleProvider
type is resolving correctly in the IDE for me.
Can you attach a sample project where you're seeing this error? I'm guessing the bug may depend upon some specific configuration in the project.
Additionally, please share diagnostic logs, which can be found by going to Help
> Collect Logs and Diagnostic Data
.
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
Android Studio gives an error on
import org.bouncycastle.jce.provider.BouncyCastleProvider;
the 'BouncyCastleProvider' is flagged as in error. The gradle.build file has
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
Nevertheless, the project builds successfully. This has to be an IDE problem. When I
mouse over the error, it provides the option 'add library bcprov.jdk15on to classpath'
but clicking on it does nothing. Usually clicking on these options works (like adding
an import)
2. Attach log files from Android Studio
2A. In the IDE, select the Help..Collect Logs and Diagnostic Data menu option.
2B. Create a diagnostic report and save it to your local computer.
2C. Attach the report to this bug using the Add attachments button.
3. If you know what they are, write the steps to reproduce:
3A.
3B.
3C.
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-242.23726.103.2422.12816248, 202412172033
AS: Ladybug Feature Drop | 2024.2.2
AI-242.23726.103.2422.12816248, JRE 21.0.4+-12508038-b607.1x64 JetBrains s.r.o., OS Windows 11(amd64) v10.0 , screens 1920x1080 (100%)
Android Gradle Plugin: 8.8.0
Gradle: 8.10.2
Gradle JDK: JetBrains Runtime 21.0.4
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```