Resolve error ':react-native-camera-kit:compileDebugKotlin'
This commit is contained in:
parent
f288d5bf83
commit
7ffb6095be
@ -8,7 +8,7 @@ Add the `kotlin_version` to `buildscript.ext`
|
||||
buildscript {
|
||||
ext {
|
||||
...
|
||||
kotlin_version = '1.4.10'
|
||||
kotlin_version = '1.5.10'
|
||||
}
|
||||
```
|
||||
|
||||
@ -35,6 +35,7 @@ Add the Kotlin classpath to `buildscript.dependencies`
|
||||
```
|
||||
dependencies {
|
||||
...
|
||||
classpath("com.android.tools.build:gradle:7.0.2") // or recent
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
||||
}
|
||||
```
|
||||
@ -47,3 +48,9 @@ Add Kotlin imports
|
||||
apply plugin: "kotlin-android"
|
||||
apply plugin: "kotlin-android-extensions"
|
||||
```
|
||||
|
||||
3, Open AndroidManifest.xml and add the following line activity:
|
||||
|
||||
```
|
||||
android:exported="true"
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user