【发布时间】:2018-11-20 02:58:59
【问题描述】:
我是 Android Studio 和 Gradle 的新手,所以请具体说明您的建议。
我下载了this git 存储库,因为我需要一个集成了 OCR 的应用程序模板。该项目是在 Eclipse 中构建的,因此我使用 Android Studio 导入工具将其转换为 Android Studio 项目。在尝试构建项目并通过单击错误内的链接解决前几个错误后,我得到了“找不到方法实现()”错误,我似乎无法解决。 注意 - 我今天刚刚安装了 Android Studio,所以我已经更新了所有内容。 这是我的 build.gradle 文件的样子:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
implementation 'com.rmtheis:tess-two:9.0.0'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
【问题讨论】:
标签: java android android-studio android-gradle-plugin ocr