0

我正在尝试将 Vosk 集成到我的项目中。我需要修改 vosk 代码,所以理想情况下我需要引用模块本身。

这是我正在处理的提交 - 集成 vosk - vosktest 分支 https://github.com/dewijones92/VoskIntegrate/commit/d6e1c75ee6ddba4d66c79f6bd641d90b53c7ff2b
的代码/home/dewi/code/vosk-api/android/libhttps://github.com/alphacep/vosk-api/tree/ e6bd200c856346ff745d77eafc75d63528398833/android

我没有运气建立这个项目。这是我收到的错误消息:

dewi@pop-os:~/AndroidStudioProjects/VoskIntegrate$ ./gradlew build --info
Initialized native services in: /home/dewi/.gradle/native
The client will now receive all logging from the daemon (pid: 471328). The daemon log file: /home/dewi/.gradle/daemon/6.7.1/daemon-471328.out.log
Starting 29th build in daemon [uptime: 8 hrs 22 mins 57.882 secs, performance: 99%]
Using 16 worker leases.
Watching the file system is disabled
Starting Build
Settings evaluated using settings file '/home/dewi/AndroidStudioProjects/VoskIntegrate/settings.gradle'.
Projects loaded. Root project using build file '/home/dewi/AndroidStudioProjects/VoskIntegrate/build.gradle'.
Included projects: [root project 'VoskIntegrate', project ':app', project ':dewivosk']

> Configure project :
Evaluating root project 'VoskIntegrate' using build file '/home/dewi/AndroidStudioProjects/VoskIntegrate/build.gradle'.

> Configure project :app
Evaluating project ':app' using build file '/home/dewi/AndroidStudioProjects/VoskIntegrate/app/build.gradle'.

FAILURE: Build failed with an exception.

* Where:
Build file '/home/dewi/AndroidStudioProjects/VoskIntegrate/app/build.gradle' line: 5

* What went wrong:
A problem occurred evaluating project ':app'.
> No signature of method: build_2lftnk1fkmxdcgxzctfemzlev.android() is applicable for argument types: (build_2lftnk1fkmxdcgxzctfemzlev$_run_closure1) values: [build_2lftnk1fkmxdcgxzctfemzlev$_run_closure1@eb5394e]

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 358ms

任何想法?非常感谢

4

0 回答 0