Skip to content

[Bug] Build error with API version 28 or 30 #242

@haan823

Description

@haan823

Is there an existing issue for this?

  • I have searched the existing issues.

Would you like to work on the issue?

  • Assign this issue to me.

Describe the bug

When I tried to build the project with API version 28 or 30, I ran into some errors.

I failed to build and faced message ninja: build stopped: subcommand failed. even though test cases were all passed.

image

image

image

What I've tried as far is as follows, but they didn't work.

  1. Change API version 30 to 28.
  2. Reduce test cases.
  3. Delete /.cxx directory and rebuild.
  4. Delete euphony repository in my local storage and clone again

Expected Behavior

This is what I expected to happen.

image

Environment

- OS: Windows 10
- API level: 28, 30

Steps to reproduce

  1. Run Android Studio.
  2. Create device using API version 28 or 30.
  3. Run 'java-sample'.
  4. See all test cases are passed.
  5. See build errors.

Anything else?

I refered to these issues and discussions.

When I used Pixel XL API 32, the project completely succeed to build.

image

Proposal

I think it is good to notice users who try to build with API version 28 or 30 that the API versions can make build errors. And also, how about do not run gtest with the API versions?

Metadata

Metadata

Assignees

Labels

bugosca-22Contribution From Open Source Academy 2022

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions