Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

The build scripts does not work on Windows #63

@seventhmoon

Description

@seventhmoon

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:

  1. checkout the repo from Android Studio
  2. 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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions