The build scripts does not work on Windows
Note: This issue tracker is for reporting bugs in the Android Reference Design only.
Describe the bug The build scripts works on Linux, but not working on Windows
To Reproduce Steps to reproduce the behavior:
- checkout the repo from Android Studio
- build the debug APK
Expected behavior A debug APK is built
Device (if relevant):
- Device: N/A
- OS: Windows 10
Additional context I also tried on Linux, it is working properly. So it seems the build script is not working on Windows. It shows the following error messages.
Cause: error when building with cmake using C:\Users\USER\AndroidStudioProjects\apollo\exposure-notifications-android\third_party\CMakeLists.txt: Build command failed. Error while executing java process with main class com.google.prefab.cli.AppKt with arguments {--build-system cmake --platform android --abi arm64-v8a --os-version 21 --stl c++_static --ndk-version 21 --output C:\Users\USER\AndroidStudioProjects\apollo\exposure-notifications-android\prioclient.cxx\cmake\debug\prefab\arm64-v8a\prefab} Usage: prefab [OPTIONS] [PACKAGE_PATH]... Error: Missing argument "PACKAGE_PATH".