alibaba / alibaba/flutter_boost

flutter下Android app->bulid.gradle 中compileSdkVersion怎么跟Android原生同步

Open
#1,605 1 comment 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

在编译的时候flutter下Android app->build.gradle 中compileSdkVersion=30,而Android原生app->build.gradle中compileSdkVersion=31,导致编译的时候因为版本不一样,部分31的特有的代码编译不通过

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare compileSdkVersion in the Flutter Android app's build.gradle and the native Android app's build.gradle, then reproduce the build with the reported version mismatch. The work is done when both sides use the same SDK version and code requiring Android SDK 31 compiles successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flutter
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.