Giter VIP home page Giter VIP logo

Comments (4)

nshmyrev avatar nshmyrev commented on May 18, 2024

You have the same problem with wget as before, remove the first wget and use just the second one.

from vosk-api.

liuyibox avatar liuyibox commented on May 18, 2024

Thanks. I tried to make some changes. Now the compilation error comes to be about java itself. Before this error, gradle build just went through Build kaldi_jni_armeabi-v7a, Build kaldi_jni_arm64-v8a and Build kaldi_jni_x86_64

Task :compileDebugJavaWithJavac FAILED
Fatal Error: Unable to find package java.lang in classpath or bootclasspath

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileDebugJavaWithJavac'.
    Compilation failed; see the compiler error output for details.

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

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 36m 59s
25 actionable tasks: 25 executed

Is this only related to my java configuration on ubuntu? I do believe that I have not update any java-related thing. I am using the default java configuration on ubuntu. After the java -version command, the output is:

openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-0ubuntu1~18.04.1-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

from vosk-api.

liuyibox avatar liuyibox commented on May 18, 2024

This error is due to Ubuntu open-jdk itself. I removed every default Ubuntu java configuration and reinstalled oracle jdk. It works now. This repo produces both debug and release kaldi android archives.

from vosk-api.

nshmyrev avatar nshmyrev commented on May 18, 2024

@liuyibox Congratulations!

from vosk-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.