Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build in Android Studio #63

Open
liudas-stonys opened this issue Feb 4, 2024 · 2 comments
Open

Unable to build in Android Studio #63

liudas-stonys opened this issue Feb 4, 2024 · 2 comments

Comments

@liudas-stonys
Copy link

liudas-stonys commented Feb 4, 2024

Hello, I'm not able to build the app in Android studio. I've tried many versions of JDK, including ver 8, 11, 17 and different version of Gradle, including the latest, which was the only one successful, but then the App failed to start in the emulator.. Could you please help?

JDK 8, Gradle 4.1, Androind Gradle plugin 3.0.1 gives "cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}' is expected."
JDK 11, Gradle 5.0, Androind Gradle plugin 3.2.1 gives the same.
JDK 17, Gradle 7.3, Androind Gradle plugin 4.2.2 gives "Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @1409eec6".

JDK 17, Gradle 8.2, Androind Gradle plugin 8.2.2 compiles successfully, but does not start in emulator saying: "PockectSpinxDemo keeps stopping".

image

I've spent the whole day unable to figure out what I'm doing wrong. Am I forced to use the latest Gradle plugin by Google?

@zkar
Copy link

zkar commented Feb 10, 2024

same problem here

@liudas-stonys
Copy link
Author

liudas-stonys commented Feb 10, 2024

zkar

The creator of pocketsphinx respondend in Telegram channel Speech Recognition, that it's a very old software and we need to use something newer, like vosk or sherpa-onx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants