Skip to content

Commit

Permalink
[camerax] Add Kotlin duplicate classes known error to README.md (flut…
Browse files Browse the repository at this point in the history
…ter#3957)

Adds warning about Kotlin duplicate class error to `README.md`.
  • Loading branch information
camsim99 authored and nploi committed Jul 16, 2023
1 parent 507a1db commit 92bf6fe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/camera/camera_android_camerax/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.0+1

* Update `README.md` to include known duplicate Kotlin classes issue.

## 0.5.0

* Initial release of this `camera` implementation that supports:
Expand Down
9 changes: 9 additions & 0 deletions packages/camera/camera_android_camerax/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ Any specified `ResolutionPreset` wll go unused in favor of CameraX defaults and

`setZoomLevel` is unimplemented.

## Known Issues

### Receiving `Duplicate class kotlin.*` error

If you receive a `Duplicate class kotlin.*` error when using this plugin
implementation, you may need to update your app's Kotlin version. You can do
this by finding your app's `android/build.gradle` file and updating the
`org.jetbrains.kotlin:kotlin-stdlib-jdk7` dependency to at least version 1.18.10.

## Contributing

For more information on contributing to this plugin, see [`CONTRIBUTING.md`](CONTRIBUTING.md).
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_android_camerax/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Android implementation of the camera plugin using the CameraX libra
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22

version: 0.5.0
version: 0.5.0+1

environment:
sdk: ">=2.19.0 <4.0.0"
Expand Down

0 comments on commit 92bf6fe

Please sign in to comment.