alibaba / alibaba/flutter_boost

[Bug]: AGP在 8.0 以上,Android Api 设置34以上,强制要求 设置namespace 的问题

Open
#2,220 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### 请描述遇到的问题,以及您所期望的正确的结果

Android 使用 AGP 8.11.0 运行报错

### 请说明如何操作会遇到上述问题

from https://developer.android.com/build/configure-app-module#set-namespace

Image

### 在下面填入关键复现代码

```
```

### 复现的平台

Both

### Flutter SDK版本

3.24.2

### FlutterBoost版本

4.6.5

### 是否延迟初始化FlutterBoost

No

### 解决方案

需在build.gradle 里面加上namespace

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Android build.gradle file for FlutterBoost's Android module and review the reported namespace requirement for AGP 8.11.0 and Android API 34 or higher. Reproduce the reported Android build, then verify that the project builds without the namespace error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart
Domain
build-system, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.