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

Android NDK path issue in bin/app/build.gradle on 8.1.0 #1722

Closed
KarimAkra opened this issue Nov 3, 2023 · 1 comment
Closed

Android NDK path issue in bin/app/build.gradle on 8.1.0 #1722

KarimAkra opened this issue Nov 3, 2023 · 1 comment

Comments

@KarimAkra
Copy link

KarimAkra commented Nov 3, 2023

for some reason lime 8.1.0 messes up the ndk path in bin/app/build.gradle

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\User\Project\export\release\android\bin\app\build.gradle' line: 18

* What went wrong:
Could not compile build file 'C:\Users\User\Project\export\release\android\bin\app\build.gradle'.
> startup failed:
  build file 'C:\Users\User\Project\export\release\android\bin\app\build.gradle': 18: Unexpected character: '\'' @ line 18, column 10.
        ndkPath 'c \ : \ \android-ndk-r11c'
  1 error
* 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.       

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s

bin\app\build.gradle has the NDK path as c\ : \ \android-ndk-r11c(with no spaces ofc) whenever i run lime build android

if i change the path to c:\android-ndk-r11c in build.gradle while it's compiling it goes just fine with no errors

I'm compiling on windows 11 so idk if other platforms have this issue

@player-03
Copy link
Contributor

Thanks for reporting and sorry for the trouble, but this was already fixed in #1721.

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

No branches or pull requests

2 participants