googlesamples / googlesamples/mlkit
[Bug report] Unable to sync and run the `vision-quickstart` examples out of the box
- Dominant language
- Kotlin
- Stars
- 4.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
With environment:
Android Studio Iguana | 2023.2.1
Build #AI-232.10227.8.2321.11479570, built on February 21, 2024
Runtime version: 17.0.9+0-17.0.9b1087.7-11185874 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 8192M
Cores: 10
Metal Rendering is ON
Registry:
ide.experimental.ui=true
**To Reproduce**
Trying to sync the app on folder vision-quickstart, I'm getting this error:
```
Cause: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
```
[This](https://stackoverflow.com/a/74114754/5332110) is how I fixed it.
Please add this to the `Readme.md` somewhere, or modify `build.gradle` to prevent this from happening.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.