Skip to content

blaze-native-debug="true" triggers build errors (empty quote in bazel Command) #7957

@marcushultman

Description

@marcushultman

Description of the bug:

Using Bazel for Android Studio version 14217341

In Run/Debug Configurations, check "Enable native debugging" (which sets blaze-native-debug="true" on the configuration.blaze-settings xml element) the resulting bazel build command will get an empty quote between the parameters --output_groups=+android_deploy_info "" --build_event_binary_file=/var/..., triggering:

WARNING: Target pattern parsing failed.
ERROR: Skipping '': invalid target name '': empty target name
ERROR: invalid target name '': empty target name
INFO: Elapsed time: 9.014s
INFO: 0 processes.
ERROR: Build did NOT complete successfully

Which category does this issue belong to?

Android Studio

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

No response

Which Intellij IDE are you using? Please provide the specific version.

Android Studio Narwhal 4 Feature Drop | 2025.1.4

What programming languages and tools are you using? Please provide specific versions.

Kotlin/C++

What Bazel plugin version are you using?

Bazel for Android Studio version 14217341

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions