File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ OpenCV二维码扫码:有了上面的OpenCV二维码识别功能,基本的
143
143
144
144
#### 初始化OpenCV
145
145
146
- 使用版本 >= v2.1.0时 ,初始化OpenCV方式
146
+ 使用版本 >= ` v2.1.0 ` 时 ,初始化OpenCV方式
147
147
``` kotlin
148
148
// 初始化OpenCV
149
149
OpenCV .initOpenCV()
150
150
```
151
151
152
- 使用版本 < v2.1.0时 ,初始化OpenCV方式
152
+ 使用版本 < ` v2.1.0 ` 时 ,初始化OpenCV方式
153
153
``` kotlin
154
154
// 初始化OpenCV
155
155
OpenCV .initAsync(context)
Original file line number Diff line number Diff line change @@ -128,14 +128,13 @@ android {
128
128
129
129
buildFeatures {
130
130
aidl true
131
- prefabPublishing true
132
131
buildConfig true
133
132
}
134
- prefab {
135
- opencv_jni_shared {
136
- headers " native/jni/include"
137
- }
138
- }
133
+ // prefab {
134
+ // opencv_jni_shared {
135
+ // headers "native/jni/include"
136
+ // }
137
+ // }
139
138
140
139
sourceSets {
141
140
main {
@@ -147,13 +146,13 @@ android {
147
146
}
148
147
}
149
148
150
- externalNativeBuild {
151
- cmake {
152
- path (project. projectDir. toString() + ' /libcxx_helper/CMakeLists.txt' )
153
- }
154
- }
155
-
156
- ndkVersion ' 26.0.10792818'
149
+ // externalNativeBuild {
150
+ // cmake {
151
+ // path (project.projectDir.toString() + '/libcxx_helper/CMakeLists.txt')
152
+ // }
153
+ // }
154
+ //
155
+ // ndkVersion '26.0.10792818'
157
156
158
157
compileOptions {
159
158
sourceCompatibility JavaVersion . VERSION_11
You can’t perform that action at this time.
0 commit comments