Skip to content

[flutter_plugin_android_lifecycle] Fails to compile on versions of flutter prior to 3.27.  #164362

@sabarinath-kv

Description

@sabarinath-kv

Steps to reproduce

Take android build (flutter version 3.24.1)

Expected results

Android build should succeed

Actual results

android build is failing

Code sample

Code sample
1.  What went wrong:
A problem occurred evaluating project ':flutter_plugin_android_lifecycle'.
> Could not get unknown property 'flutter' for extension 'android' of type com.android.build.gradle.LibraryExtension.

2. What went wrong:
A problem occurred configuring project ':flutter_plugin_android_lifecycle'.
Failed to notify project evaluation listener.
 Cannot invoke method substring() on null object
 compileSdkVersion is not specified. Please add it to build.gradle

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: regressionIt was better in the past than it is nowp: flutter_plugin_android_lifecycleThe flutter_plugin_android_lifecycle pluginplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions