flet icon indicating copy to clipboard operation
flet copied to clipboard

ver 0.23.1 flet build apk fails instantly with "../serious_python_platform_interface" is a relative path, but this isn't a local pubspec.

Open abussinan opened this issue 8 months ago • 3 comments

Duplicate Check

  • [X] I have searched the opened issues and there are no duplicates

Describe the bug

I created a simple demo by flet create and then tried to build it but build process instantly fails with Error: Error on line 16, column 11: Invalid description in the "serious_python_android" pubspec on the "serious_python_platform_interface" dependency: "../serious_python_platform_interface" is a relative path, but this isn't a local pubspec.

flet build apk -vv: [15:07:49] Flutter executable: C:\flutter\bin\flutter.BAT Dart executable: C:\flutter\bin\dart.BAT Flutter bootstrap directory: C:\Users\BYM\AppData\Local\Temp\flet_flutter_build_2waqwank6x Additional Flutter dependencies: [15:07:52] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.23.1 ✅
Copying C:\Users\BYM\Desktop\Projects\demo\assets\icon.png to C:\Users\BYM\AppData\Local\Temp\flet_flutter_build_2waqwank6x\images Customized app icons and splash images ✅
Run subprocess: ['C:\flutter\bin\dart.BAT', 'run', 'flutter_launcher_icons'] ( ● ) Generating app icons ⏳... (10.9s) Error on line 16, column 11: Invalid description in the "serious_python_android" pubspec on the "serious_python_platform_interface" dependency: "../serious_python_platform_interface" is a relative path, but this isn't a local pubspec.
╷ 16 │ path: ../serious_python_platform_interface │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ [15:08:09] Deleting Flutter bootstrap directory C:\Users\BYM\AppData\Local\Temp\flet_flutter_build_2waqwank6x Run subprocess: ['C:\flutter\bin\flutter.BAT', '--version'] [15:08:10] Error building Flet app - see the log of failed command above.

Flutter doctor -v: Flutter (Channel stable, 3.19.1, on Microsoft Windows [Version 10.0.19045.4529], locale tr-TR) • Flutter version 3.19.1 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision abb292a07e (4 months ago), 2024-02-20 14:35:05 -0800 • Engine revision 04817c99c9 • Dart version 3.3.0 • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\BYM\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.9.34728.123 • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.90.0) • VS Code at C:\Users\BYM\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.90.0

[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4529] • Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.176 • Edge (web) • edge • web-javascript • Microsoft Edge 126.0.2592.61

[√] Network resources • All expected network resources are available.

Code

No response

To reproduce

Flet create demo flet build apk -vv

Expected behavior

No response

Screenshots

No response

Operating System

Windows

Operating system details

10

Flet version

0.23.1

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Additional details

No response

abussinan avatar Jun 20 '24 12:06 abussinan