Skip to content

GaiaXAndroidDemo Android Studio 编译报错 #495

@jiyun-hu

Description

@jiyun-hu

描述这个问题

GaiaXAndroidDemo Android Studio 编译报错

A problem occurred configuring project ':GXAnalyzeAndroid'.

Failed to notify project evaluation listener.
java.lang.NullPointerException (no error message)
Could not get unknown property 'debug' for SoftwareComponentInternal set of type org.gradle.api.internal.component.DefaultSoftwareComponentContainer.

复现步骤

可通过分步复现该问题:

  1. git clone 项目
  2. Android Studio 打开编译 GaiaXAndroidDemo 项目
  3. gradle 报错

预期正确的结果

GaiaXAndroidDemo 项目能正确编译、运行

截图

客户端 (请填写如下信息) :
Android Studio 版本:
Android Studio Koala | 2024.1.1 Patch 1
Build #AI-241.18034.62.2411.12071903, built on July 11, 2024
Runtime version: 17.0.11+0-17.0.11b1207.24-11852314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.4
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
ASM Bytecode Viewer (9.7)

崩溃日志
在这里添加崩溃日志

附加信息
在这里添加有关该问题的任何其他信息。

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