-
Notifications
You must be signed in to change notification settings - Fork 632
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
Android build failed #6695
Comments
The file should have been written by the build.rs of the slint-backend-android-activity crate. Do the file actually exist? (D:\Code\slint-android\target\aarch64-linux-android\debug\build\i-slint-backend-android-activity-428af7b7875a6db3\out\classes.dex) I notice there is a Also strange that the error line is repeated several times. |
The file does not exist. File tree:
|
Is there maybe something in the |
I've built it successfully with JDK 17, build tools 33.0.2, platform android-30. Can you provide such information? I'm not sure if this is a clue: #4973 |
It's a bit strange, I didn't make any changes to the configuration, but it compiled and ran successfully now. I used jdk21 |
Would you like to provide Android SDK version information to help resolve <#4973>?
Are you sure `JAVA_HOME` is the JDK 21 path?
|
I’m happy to do this, but I have multiple versions of the Android SDK installed. How can I determine which one is being used by cargo apk? |
I have confirmed that the JDK version being used is 21.
|
The |
Platforms android-34, build-tools 35.0.0 |
Could you try again with Slint 1.9.2? #7204 might have solved it. |
android build failed:
NDK version:
lib.rs
Cargo.toml
The text was updated successfully, but these errors were encountered: