Baseflow / Baseflow/flutter-permission-handler

Execution failed for task ':permission_handler_android:extractDebugAnnotations'.

Open
#1,424 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.2k
Forks
970
Avg merge
14h 22m
Merged PRs (30d)
2

Description

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).
- [X] I have carefully [read the documentation](https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler/README.md) and verified I have added the required platform specific configuration.

### Please select affected platform(s)

- [X] Android
- [ ] iOS
- [ ] Windows

### Steps to reproduce

1. upgraded gradle
- id("com.android.application") version "8.2.1" apply false
- id("com.android.library") version "8.2.1" apply false
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip

2. tried to build the application:

### Expected results

The application should build

### Actual results

```

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':permission_handler_android:extractDebugAnnotations'.
> A failure occurred while executing com.android.build.gradle.internal.lint.AndroidLintWorkAction

2: Task failed with an exception.
-----------
* What went wrong:
org/jetbrains/kotlin/config/CompilerConfiguration
> org.jetbrains.kotlin.config.CompilerConfiguration
```

### Code sample

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id("com.android.application") version "8.2.1" apply false
id("com.android.library") version "8.2.1" apply false
id "org.jetbrains.kotlin.android" version "2.0.0" apply false
}
----------------------------------------------------------------
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip

### Screenshots or video

_No response_

### Version

11.3.1

### Flutter Doctor output

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.22635.4660], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.3)
[√] Android Studio (version 2024.2)
[√] VS Code (version 1.96.2)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.