亲问下身份证识别,有没有可以用的demo?
wonrowl 发布于2020-08-07 浏览:816 回复:0
0
收藏

下载的sdk是2018年的,里面的OCRDemo这个文件夹里说的是有完整android studio的demo

 

可是导入后 各种错误

 

我的android studio的版本是3.6.3,

 

所需要的gradle buildtool等都已经根据demo下载安装完成

Caused by: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':ocr_ui'.

Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':app:_debugCompile'.

Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener.

Caused by: java.lang.NoSuchMethodError: org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V

ERROR: Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

 

收藏
点赞
0
个赞
TOP
切换版块