Skip to content

Commit 90164b7

Browse files
authored
[camerax] Add Kotlin duplicate classes known error to README.md (flutter#3957)
Adds warning about Kotlin duplicate class error to `README.md`.
1 parent 6328cfb commit 90164b7

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

packages/camera/camera_android_camerax/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.0+1
2+
3+
* Update `README.md` to include known duplicate Kotlin classes issue.
4+
15
## 0.5.0
26

37
* Initial release of this `camera` implementation that supports:

packages/camera/camera_android_camerax/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ Any specified `ResolutionPreset` wll go unused in favor of CameraX defaults and
4949

5050
`setZoomLevel` is unimplemented.
5151

52+
## Known Issues
53+
54+
### Receiving `Duplicate class kotlin.*` error
55+
56+
If you receive a `Duplicate class kotlin.*` error when using this plugin
57+
implementation, you may need to update your app's Kotlin version. You can do
58+
this by finding your app's `android/build.gradle` file and updating the
59+
`org.jetbrains.kotlin:kotlin-stdlib-jdk7` dependency to at least version 1.18.10.
60+
5261
## Contributing
5362

5463
For more information on contributing to this plugin, see [`CONTRIBUTING.md`](CONTRIBUTING.md).

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Android implementation of the camera plugin using the CameraX libra
33
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
55

6-
version: 0.5.0
6+
version: 0.5.0+1
77

88
environment:
99
sdk: ">=2.19.0 <4.0.0"

0 commit comments

Comments
 (0)