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

error when building monodroid-samples/android5.0/Camera2VideoSample: Unknown flag -p #320

Open
DavidShukvani opened this issue Aug 27, 2020 · 1 comment

Comments

@DavidShukvani
Copy link

Sample link

Url to sample

Issue description

I have downloaded the zip file from Code samples and when trying to build and deploy the solution to Emulator or real phone it gives this error:

ANDZA0000: ERROR: unknown flag -p
unknown flag -p
ANDZA0000: ERROR: unknown flag -p
ANDZA0000: Zip alignment utility
Zip alignment utility
ANDZA0000: Copyright (C) 2009 The Android Open Source Project
Copyright (C) 2009 The Android Open Source Project
ANDZA0000: 
ANDZA0000: Usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
Usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
ANDZA0000:        zipalign -c [-v] <align> infile.zip
       zipalign -c [-v] <align> infile.zip
ANDZA0000: 
ANDZA0000:   <align>: alignment in bytes, e.g. '4' provides 32-bit alignment
  <align>: alignment in bytes, e.g. '4' provides 32-bit alignment
ANDZA0000:   -c: check alignment only (does not modify file)
  -c: check alignment only (does not modify file)
ANDZA0000:   -f: overwrite existing outfile.zip
  -f: overwrite existing outfile.zip
ANDZA0000:   -v: verbose output
  -v: verbose output
Done building project "Camera2VideoSample.csproj" -- FAILED.

Steps to reproduce the issue

  1. Download the zip file from code samples page
  2. Unzip
  3. Deploy to Android 7.1 version

What's the expected result?

App to be installed and launched

What's the actual result?

Errors in output window

@Alluseri
Copy link

hi almost 3 years later, issue is still here

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