Closed MichaelJokAr closed 8 years ago
compile 'com.alibaba:fastjson:1.2.6'
导入.jar app目录build.gradle dependencies { implementation files('libs/fastjson-1.2.7.jar') }
@zuoyi001 Build file 'F:\jack\2022\aip-ocr-android-sdk-2.0.0\aip-ocr-android-sdk-2.0.0\OCRDemo\build.gradle' line: 45
A problem occurred evaluating root project 'OCRDemo'.
Could not find method implementation() for arguments [file collection] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
androidStudio 的build.gradle 里怎么引用fastjson