Hello, I’m working in Gradle Tips and Tricks for Android article, but when I was opening the project in Android Studio I had and error:
Someone else has the same error?
I have Android Studio 3.3.1
Thanks so mach
Hello, I’m working in Gradle Tips and Tricks for Android article, but when I was opening the project in Android Studio I had and error:
Someone else has the same error?
I have Android Studio 3.3.1
Thanks so mach
@nisrulz Can you please help with this when you get a chance? Thank you - much appreciated! :]
Hi @jvelez22
If I am correct, then the error you are probably able to see is this (You can scroll your build logs more to find this):
CMake was unable to find a build program corresponding to “Ninja”. CMAKE_MAKE_PROGRAM is not set.
This means you do not have the ninja build system setup in your path.
If you are not sure how to set it up then execute the below command based on your OS to get it set up:
pacman -S ninja
apt-get install ninja-build
dnf install ninja-build
emerge dev-util/ninja
zypper in ninja
apk add ninja
brew install ninja
port install ninja
pkg install ninja
choco install ninja
Let me know if it helps
This topic was automatically closed after 166 days. New replies are no longer allowed.