AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] Execution failed for task ':keyboard_height_plugin:parseDebugLocalResources'.

Offen
#1,036 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
684
Forks
329
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Bug Description

```
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':keyboard_height_plugin:parseDebugLocalResources'.
> Could not resolve all files for configuration ':keyboard_height_plugin:androidApis'.
> Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for PlatformAttrTransform: /Users/jonathan/Library/Android/sdk/platforms/android-31/android.jar.
> /Users/jonathan/Library/Android/sdk/platforms/android-31/android.jar

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 3s
Error: Gradle task assembleDebug failed with exit code 1
```

### How to Reproduce
Create a blank project, add the lib as a dependency and try to build it for Android.

I'm running the new 3.29 version

```
[✓] Flutter (Channel stable, 3.29.0, on macOS 15.1 24B83 darwin-arm64, locale en-GB) [1,280ms]
• Flutter version 3.29.0 on channel stable at /Users/***/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 35c388afb5 (4 days ago), 2025-02-10 12:48:41 -0800
• Engine revision f73bfc4522
• Dart version 3.7.0
• DevTools version 2.42.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.8s]
• Android SDK at /Users/jonathan/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
```

### Expected Behavior

Pass build

### Operating System

MacOS

### AppFlowy Editor Version(s)

appflowy_editor: ^5.0.0

### Screenshots

_No response_

### Additional Context

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.