我正在尝试基于 ODK Collect 构建一个 android 应用程序。ODK Collect 应用程序是用 Java 编写的。我想使用 Kotlin 进行开发。我使用 android studio 新活动向导添加了一个基于 Kotlin 的空活动。当我尝试编译时,出现以下错误;Executing tasks: [:collect_app:assembleDebug]> Configure project :collect_appCould not find google-services.json while looking in [src/nullnull/odkCollectRelease, src/odkCollectRelease/nullnull, src/nullnull, src/odkCollectRelease, src/nullnullOdkCollectRelease]registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)collect_app: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.google.dagger:dagger-android-processor:2.16', 'com.google.dagger:dagger-compiler:2.16', 'com.jakewharton:butterknife-compiler:8.8.1', 'com.google.dagger:dagger-compiler:2.16'.'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' plugin'kapt.generateStubs' is not used by the 'kotlin-kapt' pluginODK 收集应用程序:https : //github.com/opendatakit/collect
添加回答
举报
0/150
提交
取消