android studio编译器无法识别GraphicOverlay类

时间:2018-05-18 07:51:25

标签: java android ocr google-vision text-recognition

我最近一直在与Ocr合作进行文本识别并尝试实现GraphicOverlay对象,但编译器无法识别它。 我需要做什么?

1 个答案:

答案 0 :(得分:1)

First you need to register your application details like name and package name on firebase console, after creating you can download google-services.json file, keep the file inside your app folder.

add below libraries on app build.gradle file
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.firebase:firebase-ml-vision:16.0.0'

Go to Tools -> click on Firebase, please connect your project with firebase via Firebase Assistant. 

Try to clean and build project once. 

that's it.