-
Notifications
You must be signed in to change notification settings - Fork 585
Closed
Description
Unity version: 2022.2.0f1c1 on Windows 11
android/local.properties
sdk.dir=C:\\Installed\\Scoop\\apps\\android-sdk\\current
flutter.sdk=C:\\Installed\\flutter
ndk.dir=C:\\Installed\\UnityEditor\\2022.2.0f1c1\\Editor\\Data\\PlaybackEngines\\AndroidPlayer\\NDKWhere the above ndk path is what I directly copied from Unity's preference settings.
Despite having done this, after using Flutter run, I keep receiving the error below:
[CXX1100] Both android.ndkPath and ndk.dir in local.properties are set
FAILURE: Build failed with an exception.
* Where:
Build file 'F:\Files\Codes\Projects\sports-training\sports_training\android\unityLibrary\build.gradle' line: 69
* What went wrong:
Execution failed for task ':unityLibrary:BuildIl2CppTask'.
> NDK is not installed
* 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
BUILD FAILED in 2s
Running Gradle task 'assembleDebug'... 3.4s
Exception: Gradle task assembleDebug failed with exit code 1This is kind of frustrating, since I have done exactly what the instructions from the README dictates. Is there anything I can do to solve this?
Metadata
Metadata
Assignees
Labels
No labels