Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flet build apk issue #4729

Open
1 task done
Muddassir-Farooq-official opened this issue Jan 17, 2025 · 21 comments
Open
1 task done

Flet build apk issue #4729

Muddassir-Farooq-official opened this issue Jan 17, 2025 · 21 comments

Comments

@Muddassir-Farooq-official

Duplicate Check

Describe the bug

flet build apk is taking so long to build apk specially after new packaging strcuture in which flutter folder is created inside directory during build process and its take sooo long to build pak its take mine 45 minutes but still terminal is running

Code sample

Code
[Paste your code here]

To reproduce

to build apk fast

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

Windows

Operating system details

Windows 11

Flet version

flet==0.26.0.dev3957

Regression

No, it isn't

Suggestions

No response

Logs

Logs
           [        ] Transforming kotlin-stdlib-jdk8-1.8.20.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20) with JetifyTransform
           [        ] Transforming kotlin-stdlib-jdk7-1.8.20.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.20) with JetifyTransform
           [        ] Transforming kotlin-stdlib-1.9.24.jar (org.jetbrains.kotlin:kotlin-stdlib:1.9.24) with JetifyTransform
           [        ] Transforming annotations-23.0.0.jar (org.jetbrains:annotations:23.0.0) with JetifyTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with JetifyTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with ExtractAarTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with AarTransform
           [        ] Transforming listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0) with JetifyTransform
           [        ] Caching disabled for AarTransform: C:\Users\Muddassir Farooq\.gradle\caches\transforms-
[12:08:00] [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with AarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with JetifyTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with ExtractAarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with AarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with JetifyTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with ExtractAarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with AarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with JetifyTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with ExtractAarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with AarTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with AarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with JetifyTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with ExtractAarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with AarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with JetifyTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with ExtractAarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with AarTransform
           [        ] Transforming annotation-experimental-1.4.1.aar (androidx.annotation:annotation-experimental:1.4.1) with JetifyTransform
           [        ] Transforming annotation-experimental-1.4.1.aar (androidx.annotation:annotation-experimental:1.4.1) with ExtractAarTransform
           [        ] Transforming annotation-experimental-1.4.1.aar (androidx.annotation:annotation-experimental:1.4.1) with AarTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with JetifyTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with ExtractAarTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with AarTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with JetifyTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with ExtractAarTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with AarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with JetifyTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with ExtractAarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with AarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with JetifyTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with ExtractAarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with AarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with JetifyTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with ExtractAarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with AarTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with JetifyTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with ExtractAarTransform
           [ +108 ms] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with AarTransform
           [        ] Transforming libs.jar with JetifyTransform
           [        ] Transforming flutter_embedding_release-1.0.0-e672b006cb34c921db85b8e2f482ed3144a4574b.jar
           (io.flutter:flutter_embedding_release:1.0.0-e672b006cb34c921db85b8e2f482ed3144a4574b) with JetifyTransform
           [        ] Transforming preference-1.2.1.aar (androidx.preference:preference:1.2.1) with JetifyTransform
           [        ] Transforming preference-1.2.1.aar (androidx.preference:preference:1.2.1) with ExtractAarTransform
           [        ] Transforming preference-1.2.1.aar (androidx.preference:preference:1.2.1) with AarTransform
           [        ] Transforming browser-1.8.0.aar (androidx.browser:browser:1.8.0) with JetifyTransform
           [        ] Transforming browser-1.8.0.aar (androidx.browser:browser:1.8.0) with ExtractAarTransform
           [        ] Transforming browser-1.8.0.aar (androidx.browser:browser:1.8.0) with AarTransform
           [        ] Transforming webkit-1.12.1.aar (androidx.webkit:webkit:1.12.1) with JetifyTransform
           [        ] Transforming webkit-1.12.1.aar (androidx.webkit:webkit:1.12.1) with ExtractAarTransform
           [        ] Transforming webkit-1.12.1.aar (androidx.webkit:webkit:1.12.1) with AarTransform
           [        ] Transforming recyclerview-1.0.0.aar (androidx.recyclerview:recyclerview:1.0.0) with JetifyTransform
           [        ] Transforming recyclerview-1.0.0.aar (androidx.recyclerview:recyclerview:1.0.0) with ExtractAarTransform
           [        ] Transforming recyclerview-1.0.0.aar (androidx.recyclerview:recyclerview:1.0.0) with AarTransform
           [        ] Transforming legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) with JetifyTransform
           [        ] Transforming legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) with ExtractAarTransform
           [        ] Transforming legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) with AarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with JetifyTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with ExtractAarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with AarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with JetifyTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with ExtractAarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with AarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with JetifyTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with ExtractAarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with AarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with JetifyTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with ExtractAarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with AarTransform
           [        ] Transforming appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) with JetifyTransform
           [        ] Transforming appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) with ExtractAarTransform
           [        ] Transforming appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) with AarTransform
           [        ] Transforming fragment-ktx-1.7.1.aar (androidx.fragment:fragment-ktx:1.7.1) with JetifyTransform
           [        ] Transforming fragment-ktx-1.7.1.aar (androidx.fragment:fragment-ktx:1.7.1) with ExtractAarTransform
           [        ] Transforming fragment-ktx-1.7.1.aar (androidx.fragment:fragment-ktx:1.7.1) with AarTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with JetifyTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with ExtractAarTransform
           [  +92 ms] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with AarTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with JetifyTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with ExtractAarTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with AarTransform
           [        ] Transforming activity-ktx-1.8.1.aar (androidx.activity:activity-ktx:1.8.1) with JetifyTransform
           [        ] Transforming activity-ktx-1.8.1.aar (androidx.activity:activity-ktx:1.8.1) with ExtractAarTransform
           [        ] Transforming activity-ktx-1.8.1.aar (androidx.activity:activity-ktx:1.8.1) with AarTransform
           [        ] Transforming activity-1.8.1.aar (androidx.activity:activity:1.8.1) with JetifyTransform
           [        ] Transforming activity-1.8.1.aar (androidx.activity:activity:1.8.1) with ExtractAarTransform
           [        ] Transforming activity-1.8.1.aar (androidx.activity:activity:1.8.1) with AarTransform
           [        ] Transforming legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) with JetifyTransform
           [        ] Transforming legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) with ExtractAarTransform
           [        ] Transforming legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) with AarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with JetifyTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with ExtractAarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with AarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with JetifyTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with ExtractAarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with AarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with JetifyTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with ExtractAarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with AarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with JetifyTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with ExtractAarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with AarTransform
           [        ] Transforming appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) with JetifyTransform
           [        ] Transforming appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) with ExtractAarTransform
           [        ] Transforming appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) with AarTransform
           [        ] Transforming drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) with JetifyTransform
           [        ] Transforming drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) with ExtractAarTransform
           [        ] Transforming drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) with AarTransform
           [        ] Transforming coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) with JetifyTransform
           [        ] Transforming coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) with ExtractAarTransform
           [        ] Transforming coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) with AarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with JetifyTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with ExtractAarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with AarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with JetifyTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with ExtractAarTransform
           [ +155 ms] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with AarTransform
           [        ] Transforming transition-1.4.1.aar (androidx.transition:transition:1.4.1) with JetifyTransform
           [        ] Transforming transition-1.4.1.aar (androidx.transition:transition:1.4.1) with ExtractAarTransform
           [        ] Transforming transition-1.4.1.aar (androidx.transition:transition:1.4.1) with AarTransform
           [        ] Transforming lifecycle-runtime-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-runtime-ktx:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-runtime-ktx:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-runtime-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-runtime-ktx:2.7.0) with AarTransform
           [        ] Transforming lifecycle-livedata-2.7.0.aar (androidx.lifecycle:lifecycle-livedata:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-livedata-2.7.0.aar (androidx.lifecycle:lifecycle-livedata:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-livedata-2.7.0.aar (androidx.lifecycle:lifecycle-livedata:2.7.0) with AarTransform
           [        ] Transforming lifecycle-livedata-core-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-livedata-core-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-livedata-core-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with AarTransform
           [        ] Transforming lifecycle-livedata-core-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-livedata-core-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-livedata-core-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.7.0) with AarTransform
           [        ] Transforming lifecycle-common-java8-2.7.0.jar (androidx.lifecycle:lifecycle-common-java8:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with AarTransform
           [        ] Transforming savedstate-ktx-1.2.1.aar (androidx.savedstate:savedstate-ktx:1.2.1) with JetifyTransform
           [        ] Transforming savedstate-ktx-1.2.1.aar (androidx.savedstate:savedstate-ktx:1.2.1) with ExtractAarTransform
           [        ] Transforming savedstate-ktx-1.2.1.aar (androidx.savedstate:savedstate-ktx:1.2.1) with AarTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with JetifyTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with ExtractAarTransform
           [  +89 ms] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with AarTransform
           [        ] Transforming lifecycle-common-2.7.0.jar (androidx.lifecycle:lifecycle-common:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with AarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with JetifyTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with ExtractAarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with AarTransform
           [        ] Transforming vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) with JetifyTransform
           [        ] Transforming vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) with ExtractAarTransform
           [        ] Transforming vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) with AarTransform
           [        ] Transforming vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) with JetifyTransform
           [        ] Transforming vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) with ExtractAarTransform
           [        ] Transforming vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) with AarTransform
           [        ] Transforming swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) with JetifyTransform
           [        ] Transforming swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) with ExtractAarTransform
           [        ] Transforming swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) with AarTransform
           [        ] Transforming asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) with JetifyTransform
           [        ] Transforming asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) with ExtractAarTransform
           [        ] Transforming asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming profileinstaller-1.3.1.aar (androidx.profileinstaller:profileinstaller:1.3.1) with JetifyTransform
           [        ] Transforming profileinstaller-1.3.1.aar (androidx.profileinstaller:profileinstaller:1.3.1) with ExtractAarTransform
           [        ] Transforming profileinstaller-1.3.1.aar (androidx.profileinstaller:profileinstaller:1.3.1) with AarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with JetifyTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with ExtractAarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with AarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with JetifyTransform
           [  +86 ms] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with ExtractAarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with AarTransform
           [        ] Transforming datastore-preferences-core-jvm-1.1.1.jar (androidx.datastore:datastore-preferences-core-jvm:1.1.1) with JetifyTransform
           [        ] Transforming datastore-core-okio-jvm-1.1.1.jar (androidx.datastore:datastore-core-okio-jvm:1.1.1) with JetifyTransform
           [        ] Transforming datastore-core-release.aar (androidx.datastore:datastore-core-android:1.1.1) with JetifyTransform
           [        ] Transforming datastore-core-release.aar (androidx.datastore:datastore-core-android:1.1.1) with ExtractAarTransform
           [        ] Transforming datastore-core-release.aar (androidx.datastore:datastore-core-android:1.1.1) with AarTransform
           [        ] Transforming datastore-preferences-release.aar (androidx.datastore:datastore-preferences-android:1.1.1) with JetifyTransform
           [        ] Transforming datastore-preferences-release.aar (androidx.datastore:datastore-preferences-android:1.1.1) with ExtractAarTransform
           [        ] Transforming datastore-preferences-release.aar (androidx.datastore:datastore-preferences-android:1.1.1) with AarTransform
           [        ] Transforming datastore-release.aar (androidx.datastore:datastore-android:1.1.1) with JetifyTransform
           [        ] Transforming datastore-release.aar (androidx.datastore:datastore-android:1.1.1) with ExtractAarTransform
           [        ] Transforming datastore-release.aar (androidx.datastore:datastore-android:1.1.1) with AarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with JetifyTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with ExtractAarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with AarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with JetifyTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with ExtractAarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with AarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with JetifyTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with ExtractAarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with AarTransform
           [        ] Transforming collection-ktx-1.1.0.jar (androidx.collection:collection-ktx:1.1.0) with JetifyTransform
           [        ] Transforming collection-1.1.0.jar (androidx.collection:collection:1.1.0) with JetifyTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with JetifyTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with ExtractAarTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with AarTransform
           [        ] Transforming core-common-2.2.0.jar (androidx.arch.core:core-common:2.2.0) with JetifyTransform
           [        ] Transforming cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) with JetifyTransform
           [        ] Transforming cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) with ExtractAarTransform
           [        ] Transforming cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) with AarTransform
           [        ] Transforming concurrent-futures-1.1.0.jar (androidx.concurrent:concurrent-futures:1.1.0) with JetifyTransform
           [        ] Transforming core-1.0.0.aar (androidx.window.extensions.core:core:1.0.0) with JetifyTransform
           [        ] Transforming core-1.0.0.aar (androidx.window.extensions.core:core:1.0.0) with ExtractAarTransform
           [        ] Transforming core-1.0.0.aar (androidx.window.extensions.core:core:1.0.0) with AarTransform
           [        ] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with JetifyTransform
           [  +92 ms] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with ExtractAarTransform
           [        ] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with AarTransform
           [        ] Transforming localbroadcastmanager-1.0.0.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0) with JetifyTransform
           [        ] Transforming localbroadcastmanager-1.0.0.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0) with 
[12:10:52] [+7292 ms] > Task :sensors_plus:writeReleaseLintModelMetadata
           [        ] Caching disabled for task ':sensors_plus:writeReleaseLintModelMetadata' because:
           [        ]   Build cache is disabled
           [        ]   Caching has been disabled for the task
           [        ] Task ':sensors_plus:writeReleaseLintModelMetadata' is not up-to-date because:
           [        ]   Class path of task ':sensors_plus:writeReleaseLintModelMetadata' has changed from 4770f9c2800bbdd2f6b37f3d853030d4 to 46de166f6e0f54a86f2b277077fe0876.
           [        ] work action resolve lint-model-metadata.properties (project :sensors_plus) (Thread[Execution worker Thread 3,5,main]) started.
           [        ] work action resolve lint-model-metadata.properties (project :sensors_plus) (Thread[Execution worker Thread 3,5,main]) started.
           [        ] Resolve mutations for :serious_python_android:lintVitalAnalyzeRelease (Thread[Execution worker Thread 3,5,main]) started.
           [        ] :serious_python_android:lintVitalAnalyzeRelease (Thread[Execution worker Thread 3,5,main]) started.
[12:10:54] [+1995 ms] > Task :serious_python_android:lintVitalAnalyzeRelease
           [        ] Transforming FakeDependency.jar with D8BackportedMethodsGenerator
           [        ] Transforming FakeDependency.jar with D8BackportedMethodsGenerator
           [        ] Caching disabled for task ':serious_python_android:lintVitalAnalyzeRelease' because:
           [        ]   Build cache is disabled
           [        ] Task ':serious_python_android:lintVitalAnalyzeRelease' is not up-to-date because:
           [        ]   Class path of task ':serious_python_android:lintVitalAnalyzeRelease' has changed from 4770f9c2800bbdd2f6b37f3d853030d4 to 46de166f6e0f54a86f2b277077fe0876.
(    ● ) Building .apk for Android...

</details>


### Additional details

_No response_
@Muddassir-Farooq-official
Copy link
Author

       [        ] :serious_python_android:bundleReleaseLocalLintAar (Thread) started.

[12:13:30] [+1993 ms] > Task :serious_python_android:bundleReleaseLocalLintAar
[ ] Deleting stale output file: G:\Projects\BISTRO UX\build\flutter\build\serious_python_android\intermediates\local_aar_for_lint\release\out.aar
[ +405 ms] Caching disabled for task ':serious_python_android:bundleReleaseLocalLintAar' because:
[ ] Build cache is disabled
[ ] Caching has been disabled for the task
[ ] Task ':serious_python_android:bundleReleaseLocalLintAar' is not up-to-date because:
[ ] Class path of task ':serious_python_android:bundleReleaseLocalLintAar' has changed from 4770f9c2800bbdd2f6b37f3d853030d4 to 46de166f6e0f54a86f2b277077fe0876.
[12:13:35] [+4595 ms] file or directory 'G:\Projects\BISTRO UX\build\flutter\build\serious_python_android\intermediates\public_res\release\packageReleaseResources\public.txt', not found
[ ] file or directory 'G:\Projects\BISTRO
UX\build\flutter\build\serious_python_android\intermediates\navigation_json_for_aar\release\extractDeepLinksForAarRelease\navigation.json', not found
[12:13:37] [+2408 ms] file or directory 'G:\Projects\BISTRO UX\build\flutter\build\serious_python_android\intermediates\annotations_zip\release\extractReleaseAnnotations\annotations.zip',
not found
[ ] file or directory 'G:\Projects\BISTRO
UX\build\flutter\build\serious_python_android\intermediates\merged_consumer_proguard_file\release\mergeReleaseConsumerProguardFiles\proguard.txt', not found
[ ] file or directory 'G:\Projects\BISTRO UX\build\flutter\build\serious_python_android\intermediates\lint_publish_jar\global\prepareLintJarForPublish\lint.jar', not found [ ] file or directory 'G:\Projects\BISTRO
UX\build\flutter\build\serious_python_android\intermediates\library_art_profile\release\prepareReleaseArtProfile\baseline-prof.txt', not found
( ● ) Building .apk for Android...

@Muddassir-Farooq-official
Copy link
Author

Duplicate Check

Describe the bug

flet build apk is taking so long to build apk specially after new packaging strcuture in which flutter folder is created inside directory during build process and its take sooo long to build pak its take mine 45 minutes but still terminal is running

Code sample

Code
[Paste your code here]

To reproduce

to build apk fast

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

Windows

Operating system details

Windows 11

Flet version

flet==0.26.0.dev3957

Regression

No, it isn't

Suggestions

No response

Logs

Logs
           [        ] Transforming kotlin-stdlib-jdk8-1.8.20.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20) with JetifyTransform
           [        ] Transforming kotlin-stdlib-jdk7-1.8.20.jar (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.20) with JetifyTransform
           [        ] Transforming kotlin-stdlib-1.9.24.jar (org.jetbrains.kotlin:kotlin-stdlib:1.9.24) with JetifyTransform
           [        ] Transforming annotations-23.0.0.jar (org.jetbrains:annotations:23.0.0) with JetifyTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with JetifyTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with ExtractAarTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with AarTransform
           [        ] Transforming listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0) with JetifyTransform
           [        ] Caching disabled for AarTransform: C:\Users\Muddassir Farooq\.gradle\caches\transforms-
[12:08:00] [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with AarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with JetifyTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with ExtractAarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with AarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with JetifyTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with ExtractAarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with AarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with JetifyTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with ExtractAarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with AarTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with AarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with JetifyTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with ExtractAarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with AarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with JetifyTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with ExtractAarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with AarTransform
           [        ] Transforming annotation-experimental-1.4.1.aar (androidx.annotation:annotation-experimental:1.4.1) with JetifyTransform
           [        ] Transforming annotation-experimental-1.4.1.aar (androidx.annotation:annotation-experimental:1.4.1) with ExtractAarTransform
           [        ] Transforming annotation-experimental-1.4.1.aar (androidx.annotation:annotation-experimental:1.4.1) with AarTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with JetifyTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with ExtractAarTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with AarTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with JetifyTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with ExtractAarTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with AarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with JetifyTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with ExtractAarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with AarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with JetifyTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with ExtractAarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with AarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with JetifyTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with ExtractAarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with AarTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with JetifyTransform
           [        ] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with ExtractAarTransform
           [ +108 ms] Transforming relinker-1.4.5.aar (com.getkeepsafe.relinker:relinker:1.4.5) with AarTransform
           [        ] Transforming libs.jar with JetifyTransform
           [        ] Transforming flutter_embedding_release-1.0.0-e672b006cb34c921db85b8e2f482ed3144a4574b.jar
           (io.flutter:flutter_embedding_release:1.0.0-e672b006cb34c921db85b8e2f482ed3144a4574b) with JetifyTransform
           [        ] Transforming preference-1.2.1.aar (androidx.preference:preference:1.2.1) with JetifyTransform
           [        ] Transforming preference-1.2.1.aar (androidx.preference:preference:1.2.1) with ExtractAarTransform
           [        ] Transforming preference-1.2.1.aar (androidx.preference:preference:1.2.1) with AarTransform
           [        ] Transforming browser-1.8.0.aar (androidx.browser:browser:1.8.0) with JetifyTransform
           [        ] Transforming browser-1.8.0.aar (androidx.browser:browser:1.8.0) with ExtractAarTransform
           [        ] Transforming browser-1.8.0.aar (androidx.browser:browser:1.8.0) with AarTransform
           [        ] Transforming webkit-1.12.1.aar (androidx.webkit:webkit:1.12.1) with JetifyTransform
           [        ] Transforming webkit-1.12.1.aar (androidx.webkit:webkit:1.12.1) with ExtractAarTransform
           [        ] Transforming webkit-1.12.1.aar (androidx.webkit:webkit:1.12.1) with AarTransform
           [        ] Transforming recyclerview-1.0.0.aar (androidx.recyclerview:recyclerview:1.0.0) with JetifyTransform
           [        ] Transforming recyclerview-1.0.0.aar (androidx.recyclerview:recyclerview:1.0.0) with ExtractAarTransform
           [        ] Transforming recyclerview-1.0.0.aar (androidx.recyclerview:recyclerview:1.0.0) with AarTransform
           [        ] Transforming legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) with JetifyTransform
           [        ] Transforming legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) with ExtractAarTransform
           [        ] Transforming legacy-support-core-ui-1.0.0.aar (androidx.legacy:legacy-support-core-ui:1.0.0) with AarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with JetifyTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with ExtractAarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with AarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with JetifyTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with ExtractAarTransform
           [        ] Transforming slidingpanelayout-1.2.0.aar (androidx.slidingpanelayout:slidingpanelayout:1.2.0) with AarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with JetifyTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with ExtractAarTransform
           [        ] Transforming window-1.2.0.aar (androidx.window:window:1.2.0) with AarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with JetifyTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with ExtractAarTransform
           [        ] Transforming window-java-1.2.0.aar (androidx.window:window-java:1.2.0) with AarTransform
           [        ] Transforming appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) with JetifyTransform
           [        ] Transforming appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) with ExtractAarTransform
           [        ] Transforming appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) with AarTransform
           [        ] Transforming fragment-ktx-1.7.1.aar (androidx.fragment:fragment-ktx:1.7.1) with JetifyTransform
           [        ] Transforming fragment-ktx-1.7.1.aar (androidx.fragment:fragment-ktx:1.7.1) with ExtractAarTransform
           [        ] Transforming fragment-ktx-1.7.1.aar (androidx.fragment:fragment-ktx:1.7.1) with AarTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with JetifyTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with ExtractAarTransform
           [  +92 ms] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with AarTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with JetifyTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with ExtractAarTransform
           [        ] Transforming fragment-1.7.1.aar (androidx.fragment:fragment:1.7.1) with AarTransform
           [        ] Transforming activity-ktx-1.8.1.aar (androidx.activity:activity-ktx:1.8.1) with JetifyTransform
           [        ] Transforming activity-ktx-1.8.1.aar (androidx.activity:activity-ktx:1.8.1) with ExtractAarTransform
           [        ] Transforming activity-ktx-1.8.1.aar (androidx.activity:activity-ktx:1.8.1) with AarTransform
           [        ] Transforming activity-1.8.1.aar (androidx.activity:activity:1.8.1) with JetifyTransform
           [        ] Transforming activity-1.8.1.aar (androidx.activity:activity:1.8.1) with ExtractAarTransform
           [        ] Transforming activity-1.8.1.aar (androidx.activity:activity:1.8.1) with AarTransform
           [        ] Transforming legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) with JetifyTransform
           [        ] Transforming legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) with ExtractAarTransform
           [        ] Transforming legacy-support-core-utils-1.0.0.aar (androidx.legacy:legacy-support-core-utils:1.0.0) with AarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with JetifyTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with ExtractAarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with AarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with JetifyTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with ExtractAarTransform
           [        ] Transforming loader-1.0.0.aar (androidx.loader:loader:1.0.0) with AarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with JetifyTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with ExtractAarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with AarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with JetifyTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with ExtractAarTransform
           [        ] Transforming viewpager-1.0.0.aar (androidx.viewpager:viewpager:1.0.0) with AarTransform
           [        ] Transforming appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) with JetifyTransform
           [        ] Transforming appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) with ExtractAarTransform
           [        ] Transforming appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) with AarTransform
           [        ] Transforming drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) with JetifyTransform
           [        ] Transforming drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) with ExtractAarTransform
           [        ] Transforming drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) with AarTransform
           [        ] Transforming coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) with JetifyTransform
           [        ] Transforming coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) with ExtractAarTransform
           [        ] Transforming coordinatorlayout-1.0.0.aar (androidx.coordinatorlayout:coordinatorlayout:1.0.0) with AarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with JetifyTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with ExtractAarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with AarTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with JetifyTransform
           [        ] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with ExtractAarTransform
           [ +155 ms] Transforming customview-1.1.0.aar (androidx.customview:customview:1.1.0) with AarTransform
           [        ] Transforming transition-1.4.1.aar (androidx.transition:transition:1.4.1) with JetifyTransform
           [        ] Transforming transition-1.4.1.aar (androidx.transition:transition:1.4.1) with ExtractAarTransform
           [        ] Transforming transition-1.4.1.aar (androidx.transition:transition:1.4.1) with AarTransform
           [        ] Transforming lifecycle-runtime-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-runtime-ktx:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-runtime-ktx:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-runtime-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-runtime-ktx:2.7.0) with AarTransform
           [        ] Transforming lifecycle-livedata-2.7.0.aar (androidx.lifecycle:lifecycle-livedata:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-livedata-2.7.0.aar (androidx.lifecycle:lifecycle-livedata:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-livedata-2.7.0.aar (androidx.lifecycle:lifecycle-livedata:2.7.0) with AarTransform
           [        ] Transforming lifecycle-livedata-core-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-livedata-core-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-livedata-core-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-ktx-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel:2.7.0) with AarTransform
           [        ] Transforming lifecycle-livedata-core-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-livedata-core-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-livedata-core-2.7.0.aar (androidx.lifecycle:lifecycle-livedata-core:2.7.0) with AarTransform
           [        ] Transforming lifecycle-common-java8-2.7.0.jar (androidx.lifecycle:lifecycle-common-java8:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-runtime-2.7.0.aar (androidx.lifecycle:lifecycle-runtime:2.7.0) with AarTransform
           [        ] Transforming savedstate-ktx-1.2.1.aar (androidx.savedstate:savedstate-ktx:1.2.1) with JetifyTransform
           [        ] Transforming savedstate-ktx-1.2.1.aar (androidx.savedstate:savedstate-ktx:1.2.1) with ExtractAarTransform
           [        ] Transforming savedstate-ktx-1.2.1.aar (androidx.savedstate:savedstate-ktx:1.2.1) with AarTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with JetifyTransform
           [        ] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with ExtractAarTransform
           [  +89 ms] Transforming savedstate-1.2.1.aar (androidx.savedstate:savedstate:1.2.1) with AarTransform
           [        ] Transforming lifecycle-common-2.7.0.jar (androidx.lifecycle:lifecycle-common:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-process-2.7.0.aar (androidx.lifecycle:lifecycle-process:2.7.0) with AarTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with JetifyTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with ExtractAarTransform
           [        ] Transforming lifecycle-viewmodel-savedstate-2.7.0.aar (androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0) with AarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with JetifyTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with ExtractAarTransform
           [        ] Transforming core-ktx-1.13.1.aar (androidx.core:core-ktx:1.13.1) with AarTransform
           [        ] Transforming vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) with JetifyTransform
           [        ] Transforming vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) with ExtractAarTransform
           [        ] Transforming vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) with AarTransform
           [        ] Transforming vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) with JetifyTransform
           [        ] Transforming vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) with ExtractAarTransform
           [        ] Transforming vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) with AarTransform
           [        ] Transforming swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) with JetifyTransform
           [        ] Transforming swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) with ExtractAarTransform
           [        ] Transforming swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) with AarTransform
           [        ] Transforming asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) with JetifyTransform
           [        ] Transforming asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) with ExtractAarTransform
           [        ] Transforming asynclayoutinflater-1.0.0.aar (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with JetifyTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with ExtractAarTransform
           [        ] Transforming core-1.13.1.aar (androidx.core:core:1.13.1) with AarTransform
           [        ] Transforming profileinstaller-1.3.1.aar (androidx.profileinstaller:profileinstaller:1.3.1) with JetifyTransform
           [        ] Transforming profileinstaller-1.3.1.aar (androidx.profileinstaller:profileinstaller:1.3.1) with ExtractAarTransform
           [        ] Transforming profileinstaller-1.3.1.aar (androidx.profileinstaller:profileinstaller:1.3.1) with AarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with JetifyTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with ExtractAarTransform
           [        ] Transforming startup-runtime-1.1.1.aar (androidx.startup:startup-runtime:1.1.1) with AarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with JetifyTransform
           [  +86 ms] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with ExtractAarTransform
           [        ] Transforming tracing-1.2.0.aar (androidx.tracing:tracing:1.2.0) with AarTransform
           [        ] Transforming datastore-preferences-core-jvm-1.1.1.jar (androidx.datastore:datastore-preferences-core-jvm:1.1.1) with JetifyTransform
           [        ] Transforming datastore-core-okio-jvm-1.1.1.jar (androidx.datastore:datastore-core-okio-jvm:1.1.1) with JetifyTransform
           [        ] Transforming datastore-core-release.aar (androidx.datastore:datastore-core-android:1.1.1) with JetifyTransform
           [        ] Transforming datastore-core-release.aar (androidx.datastore:datastore-core-android:1.1.1) with ExtractAarTransform
           [        ] Transforming datastore-core-release.aar (androidx.datastore:datastore-core-android:1.1.1) with AarTransform
           [        ] Transforming datastore-preferences-release.aar (androidx.datastore:datastore-preferences-android:1.1.1) with JetifyTransform
           [        ] Transforming datastore-preferences-release.aar (androidx.datastore:datastore-preferences-android:1.1.1) with ExtractAarTransform
           [        ] Transforming datastore-preferences-release.aar (androidx.datastore:datastore-preferences-android:1.1.1) with AarTransform
           [        ] Transforming datastore-release.aar (androidx.datastore:datastore-android:1.1.1) with JetifyTransform
           [        ] Transforming datastore-release.aar (androidx.datastore:datastore-android:1.1.1) with ExtractAarTransform
           [        ] Transforming datastore-release.aar (androidx.datastore:datastore-android:1.1.1) with AarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with JetifyTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with ExtractAarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with AarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with JetifyTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with ExtractAarTransform
           [        ] Transforming interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) with AarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with JetifyTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with ExtractAarTransform
           [        ] Transforming versionedparcelable-1.1.1.aar (androidx.versionedparcelable:versionedparcelable:1.1.1) with AarTransform
           [        ] Transforming collection-ktx-1.1.0.jar (androidx.collection:collection-ktx:1.1.0) with JetifyTransform
           [        ] Transforming collection-1.1.0.jar (androidx.collection:collection:1.1.0) with JetifyTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with JetifyTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with ExtractAarTransform
           [        ] Transforming core-runtime-2.2.0.aar (androidx.arch.core:core-runtime:2.2.0) with AarTransform
           [        ] Transforming core-common-2.2.0.jar (androidx.arch.core:core-common:2.2.0) with JetifyTransform
           [        ] Transforming cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) with JetifyTransform
           [        ] Transforming cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) with ExtractAarTransform
           [        ] Transforming cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) with AarTransform
           [        ] Transforming concurrent-futures-1.1.0.jar (androidx.concurrent:concurrent-futures:1.1.0) with JetifyTransform
           [        ] Transforming core-1.0.0.aar (androidx.window.extensions.core:core:1.0.0) with JetifyTransform
           [        ] Transforming core-1.0.0.aar (androidx.window.extensions.core:core:1.0.0) with ExtractAarTransform
           [        ] Transforming core-1.0.0.aar (androidx.window.extensions.core:core:1.0.0) with AarTransform
           [        ] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with JetifyTransform
           [  +92 ms] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with ExtractAarTransform
           [        ] Transforming documentfile-1.0.0.aar (androidx.documentfile:documentfile:1.0.0) with AarTransform
           [        ] Transforming localbroadcastmanager-1.0.0.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0) with JetifyTransform
           [        ] Transforming localbroadcastmanager-1.0.0.aar (androidx.localbroadcastmanager:localbroadcastmanager:1.0.0) with 
[12:10:52] [+7292 ms] > Task :sensors_plus:writeReleaseLintModelMetadata
           [        ] Caching disabled for task ':sensors_plus:writeReleaseLintModelMetadata' because:
           [        ]   Build cache is disabled
           [        ]   Caching has been disabled for the task
           [        ] Task ':sensors_plus:writeReleaseLintModelMetadata' is not up-to-date because:
           [        ]   Class path of task ':sensors_plus:writeReleaseLintModelMetadata' has changed from 4770f9c2800bbdd2f6b37f3d853030d4 to 46de166f6e0f54a86f2b277077fe0876.
           [        ] work action resolve lint-model-metadata.properties (project :sensors_plus) (Thread[Execution worker Thread 3,5,main]) started.
           [        ] work action resolve lint-model-metadata.properties (project :sensors_plus) (Thread[Execution worker Thread 3,5,main]) started.
           [        ] Resolve mutations for :serious_python_android:lintVitalAnalyzeRelease (Thread[Execution worker Thread 3,5,main]) started.
           [        ] :serious_python_android:lintVitalAnalyzeRelease (Thread[Execution worker Thread 3,5,main]) started.
[12:10:54] [+1995 ms] > Task :serious_python_android:lintVitalAnalyzeRelease
           [        ] Transforming FakeDependency.jar with D8BackportedMethodsGenerator
           [        ] Transforming FakeDependency.jar with D8BackportedMethodsGenerator
           [        ] Caching disabled for task ':serious_python_android:lintVitalAnalyzeRelease' because:
           [        ]   Build cache is disabled
           [        ] Task ':serious_python_android:lintVitalAnalyzeRelease' is not up-to-date because:
           [        ]   Class path of task ':serious_python_android:lintVitalAnalyzeRelease' has changed from 4770f9c2800bbdd2f6b37f3d853030d4 to 46de166f6e0f54a86f2b277077fe0876.
(    ● ) Building .apk for Android...

</details>


### Additional details

_No response_

@FeodorFitsner @ndonkoHenri ??

@FeodorFitsner
Copy link
Contributor

First, install the latest 0.26.0 pre-release. Second, try running with just one verbosity level (-v). Running with -vv may get stuck if flutter process fails. Post the log here.

@Muddassir-Farooq-official
Copy link
Author

Its Stuck here from last 40 minutes,
Image

@FeodorFitsner
Copy link
Contributor

Can you paste a full log as a text please?

@Muddassir-Farooq-official
Copy link
Author

PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK package "cmdline-tools;latest" is already installed
Android SDK package "platform-tools" is already installed
Android SDK package "platforms;android-35" is already installed
Android SDK package "build-tools;34.0.0" is already installed
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK package "cmdline-tools;latest" is already installed
Android SDK package "platform-tools" is already installed
Android SDK package "platforms;android-35" is already installed
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK package "cmdline-tools;latest" is already installed
Android SDK package "platform-tools" is already installed
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK package "cmdline-tools;latest" is already installed
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
PS G:\Projects\BISTRO UX> flet build apk -v --cleanup-on-compile --compile-packages
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
[09:24:09] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
[09:24:10] Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK package "cmdline-tools;latest" is already installed
Android SDK package "platform-tools" is already installed
Android SDK package "platforms;android-35" is already installed
Android SDK package "build-tools;34.0.0" is already installed
Android SDK installed ✅
Custom Flutter dependencies: {}
[09:25:19] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref "0.26.0" ✅
Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT', 'run', '--suppress-analytics', 'serious_python:main', 'package', 'G:\Projects\BISTRO UX', '--platform',
'Android', '--requirements', '-r,G:\Projects\BISTRO UX\requirements.txt', '--exclude', 'build', '--compile-packages', '--cleanup']
[09:25:49] Running package command
Extra PyPi indexes:
Created temp directory: C:\Users\MUDDAS~1\AppData\Local\Temp\serious_python_temp855556d4
Copying Python app from G:\Projects\BISTRO UX to a temp directory
Cleanup app
Configured Android/arm64-v8a platform with sitecustomize.py
Installing [-r, G:\Projects\BISTRO UX\requirements.txt] with pip command to G:\Projects\BISTRO UX\build\site-packages\arm64-v8a
[09:34:55] Compiling app packages at G:\Projects\BISTRO UX\build\site-packages\arm64-v8a
[09:37:34] Cleanup installed packages
[09:38:11] Configured Android/armeabi-v7a platform with sitecustomize.py
Installing [-r, G:\Projects\BISTRO UX\requirements.txt] with pip command to G:\Projects\BISTRO UX\build\site-packages\armeabi-v7a
[09:45:46] Compiling app packages at G:\Projects\BISTRO UX\build\site-packages\armeabi-v7a
[09:47:08] Cleanup installed packages
[09:47:27] Configured Android/x86_64 platform with sitecustomize.py
Installing [-r, G:\Projects\BISTRO UX\requirements.txt] with pip command to G:\Projects\BISTRO UX\build\site-packages\x86_64
[09:55:43] Compiling app packages at G:\Projects\BISTRO UX\build\site-packages\x86_64
[09:56:36] Cleanup installed packages
( ● ) Packaging Python app...

@Muddassir-Farooq-official
Copy link
Author

@FeodorFitsner due to new packaging in which all files and folders are created in project directory inside build folder its take too long to build apk application check it out my vs code is suggesting this https://github.com/microsoft/pylance-release/wiki/Opening-Large-Workspaces-in-VS-Code

@FeodorFitsner
Copy link
Contributor

Try running just flet build apk -v.

@Muddassir-Farooq-official
Copy link
Author

sure i am trying

@Muddassir-Farooq-official
Copy link
Author

PS G:\Projects\BISTRO UX> flet build apk -v
[10:14:42] Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT', '--version', '--no-version-check', '--suppress-analytics']
Flutter executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\flutter.BAT
Dart executable: C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT
JDK installed at C:\Users\Muddassir Farooq\java\17.0.13+11
JDK installed ✅
Android SDK installation found at C:\Users\Muddassir Farooq\AppData\Local\Android\Sdk
Android SDK package "cmdline-tools;latest" is already installed
Android SDK package "platform-tools" is already installed
Android SDK package "platforms;android-35" is already installed
Android SDK package "build-tools;34.0.0" is already installed
Android SDK installed ✅
Custom Flutter dependencies: {}
[10:20:23] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref "0.26.0" ✅
Run subprocess: ['C:\src\flutter_windows_3.19.6-stable\flutter\bin\dart.BAT', 'run', '--suppress-analytics', 'serious_python:main', 'package', 'G:\Projects\BISTRO UX', '--platform',
'Android', '--requirements', '-r,G:\Projects\BISTRO UX\requirements.txt', '--exclude', 'build', '--cleanup']
[10:21:00] Running package command
Extra PyPi indexes:
Creating asset directory: G:\Projects\BISTRO UX\build\flutter\app
[10:21:02] Created temp directory: C:\Users\MUDDAS~1\AppData\Local\Temp\serious_python_temp6039fd9f
Copying Python app from G:\Projects\BISTRO UX to a temp directory
[10:21:07] Cleanup app
Configured Android/arm64-v8a platform with sitecustomize.py
[10:22:20] Installing [-r, G:\Projects\BISTRO UX\requirements.txt] with pip command to G:\Projects\BISTRO UX\build\site-packages\arm64-v8a
Error: ProcessException: The system cannot find the file specified.

         Command: "G:\Projects\BISTRO UX\build\flutter\build\build_python_3.12.6\python\python.exe" -m pip install --upgrade --disable-pip-version-check --only-binary :all: --extra-index-url
       https://pypi.flet.dev --target "G:\Projects\BISTRO UX\build\site-packages\arm64-v8a" -r "G:\Projects\BISTRO UX\requirements.txt"
       Deleting temp directory
       Run subprocess: ['C:\\src\\flutter_windows_3.19.6-stable\\flutter\\bin\\flutter.BAT', 'doctor', '--no-version-check', '--suppress-analytics']

[10:22:25] Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.2, on Microsoft Windows [Version 10.0.19045.5371], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.0)
[√] Android Studio (version 2023.2)
[√] VS Code (version 1.96.4)
[√] Connected device (3 available)
[√] Network resources

       • No issues found!

╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│ Flet app package app/app.zip was not created. │╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
PS G:\Projects\BISTRO UX>

@Muddassir-Farooq-official
Copy link
Author

@FeodorFitsner check it out

@Muddassir-Farooq-official
Copy link
Author

[11:27:15] e: Daemon compilation failed: null
java.lang.Exception
[11:27:16] at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:69)
at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:65)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:244)
[11:27:17] at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:175)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:135)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:73)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
[11:27:18] at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
[11:27:19] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[11:27:20] at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalArgumentException: this and base files have different roots: C:\Users\Muddassir
Farooq\AppData\Local\Pub\Cache\hosted\pub.dev\webview_flutter_android-4.3.1\android\src\main\java\io\flutter\plugins\webviewflutter\AndroidWebkitLibrary.g.kt and G:\Projects\BISTRO
UX\build\flutter\android.
at kotlin.io.FilesKt__UtilsKt.toRelativeString(Utils.kt:117)
at kotlin.io.FilesKt__UtilsKt.relativeTo(Utils.kt:128)
at org.jetbrains.kotlin.incremental.storage.RelocatableFileToPathConverter.toPath(RelocatableFileToPathConverter.kt:22)
at org.jetbrains.kotlin.incremental.storage.ComplementarySourceFilesMap.get(ComplementarySourceFilesMap.kt:22)
at org.jetbrains.kotlin.incremental.AbstractIncrementalCache.getComplementaryFilesRecursive(AbstractIncrementalCache.kt:219)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.doCompile(IncrementalCompilerRunner.kt:455)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:400)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileNonIncrementally(IncrementalCompilerRunner.kt:281)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:125)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:657)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:105)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1624)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)
... 3 more

[11:27:42] e: Daemon compilation failed: null
java.lang.Exception
at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:69)
at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:65)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:244)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:175)
at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:135)
at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:73)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162)
at org.gradle.internal.Factories$1.create(Factories.java:31)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128)
at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157)
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalArgumentException: this and base files have different roots: C:\Users\Muddassir
Farooq\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.10\android\src\main\kotlin\dev\fluttercommunity\plus\wakelock\Wakelock.kt and G:\Projects\BISTRO UX\build\flutter\android.
at kotlin.io.FilesKt__UtilsKt.toRelativeString(Utils.kt:117)
at kotlin.io.FilesKt__UtilsKt.relativeTo(Utils.kt:128)
at org.jetbrains.kotlin.incremental.storage.RelocatableFileToPathConverter.toPath(RelocatableFileToPathConverter.kt:22)
at org.jetbrains.kotlin.incremental.storage.ComplementarySourceFilesMap.get(ComplementarySourceFilesMap.kt:22)
at org.jetbrains.kotlin.incremental.AbstractIncrementalCache.getComplementaryFilesRecursive(AbstractIncrementalCache.kt:219)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.doCompile(IncrementalCompilerRunner.kt:455)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:400)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileNonIncrementally(IncrementalCompilerRunner.kt:281)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:125)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:657)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:105)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1624)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)
... 3 more

( ● ) Building .apk for Android...

@Muddassir-Farooq-official
Copy link
Author

[11:27:15] e: Daemon compilation failed: null java.lang.Exception [11:27:16] at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:69) at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:65) at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:244) [11:27:17] at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:175) at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:135) at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:73) at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63) at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66) at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62) at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100) [11:27:18] at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62) at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44) at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195) [11:27:19] at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162) at org.gradle.internal.Factories$1.create(Factories.java:31) at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264) at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128) at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) [11:27:20] at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalArgumentException: this and base files have different roots: C:\Users\Muddassir Farooq\AppData\Local\Pub\Cache\hosted\pub.dev\webview_flutter_android-4.3.1\android\src\main\java\io\flutter\plugins\webviewflutter\AndroidWebkitLibrary.g.kt and G:\Projects\BISTRO UX\build\flutter\android. at kotlin.io.FilesKt__UtilsKt.toRelativeString(Utils.kt:117) at kotlin.io.FilesKt__UtilsKt.relativeTo(Utils.kt:128) at org.jetbrains.kotlin.incremental.storage.RelocatableFileToPathConverter.toPath(RelocatableFileToPathConverter.kt:22) at org.jetbrains.kotlin.incremental.storage.ComplementarySourceFilesMap.get(ComplementarySourceFilesMap.kt:22) at org.jetbrains.kotlin.incremental.AbstractIncrementalCache.getComplementaryFilesRecursive(AbstractIncrementalCache.kt:219) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.doCompile(IncrementalCompilerRunner.kt:455) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:400) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileNonIncrementally(IncrementalCompilerRunner.kt:281) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:125) at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:657) at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:105) at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1624) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) at java.base/java.security.AccessController.doPrivileged(AccessController.java:712) at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704) ... 3 more

[11:27:42] e: Daemon compilation failed: null java.lang.Exception at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:69) at org.jetbrains.kotlin.daemon.common.CompileService$CallResult$Error.get(CompileService.kt:65) at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemon(GradleKotlinCompilerWork.kt:244) at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.compileWithDaemonOrFallbackImpl(GradleKotlinCompilerWork.kt:175) at org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork.run(GradleKotlinCompilerWork.kt:135) at org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction.execute(GradleCompilerRunnerWithWorkers.kt:73) at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63) at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66) at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62) at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100) at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62) at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44) at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162) at org.gradle.internal.Factories$1.create(Factories.java:31) at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264) at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128) at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalArgumentException: this and base files have different roots: C:\Users\Muddassir Farooq\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.10\android\src\main\kotlin\dev\fluttercommunity\plus\wakelock\Wakelock.kt and G:\Projects\BISTRO UX\build\flutter\android. at kotlin.io.FilesKt__UtilsKt.toRelativeString(Utils.kt:117) at kotlin.io.FilesKt__UtilsKt.relativeTo(Utils.kt:128) at org.jetbrains.kotlin.incremental.storage.RelocatableFileToPathConverter.toPath(RelocatableFileToPathConverter.kt:22) at org.jetbrains.kotlin.incremental.storage.ComplementarySourceFilesMap.get(ComplementarySourceFilesMap.kt:22) at org.jetbrains.kotlin.incremental.AbstractIncrementalCache.getComplementaryFilesRecursive(AbstractIncrementalCache.kt:219) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.doCompile(IncrementalCompilerRunner.kt:455) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:400) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileNonIncrementally(IncrementalCompilerRunner.kt:281) at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:125) at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:657) at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:105) at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1624) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) at java.base/java.security.AccessController.doPrivileged(AccessController.java:712) at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704) ... 3 more

( ● ) Building .apk for Android...

@FeodorFitsner its take even 1.5 Hour to reach there do you dont think its too much and still failing and showing error in logs

@FeodorFitsner
Copy link
Contributor

Seeing ...java.rmi/sun.rmi.transport.tcp.TCPTransport... errors I would assume it's a problem with the internet connection.

@Muddassir-Farooq-official
Copy link
Author

It's a problem due to temp files on C drive while project on G Drive I resolved it and build apk but it's take 20 minutes here is my question can we reduce first app loading time it's take 3 to 5 second after splash to display first route /

@maxilon001
Copy link

maxilon001 commented Jan 19, 2025

There are also these issues

Type mismatches in theme.dart:

- TabBarThemeData can't be returned as TabBarTheme
- DialogThemeData can't be returned as DialogTheme
- CardThemeData can't be returned as CardTheme

here's the logs:

Charlie6F ➜ /workspaces/Mov (master) $ flet build apk --include-packages flet_ads -v Installing flet-cli 0.25.2 package...OK [21:19:51] Additional Flutter dependencies: {'flet_ads': 'any'} [21:19:52] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref 0.25.2 ✅ Copying /workspaces/Mov/src/assets/icon.png to /workspaces/Mov/build/flutter/images Customized app icons and splash images ✅ Run subprocess: ['/workspaces/Mov/flutter/bin/dart', 'run', 'flutter_launcher_icons'] ( ● ) Generating app icons ⏳... Resolving dependencies in/( ● ) Generating app icons ⏳... ( ● ) Generating app icons ⏳... Got dependencies in /workspaces/Mov/build/flutter. ( ●) Generating app icons ⏳... Built flutter_launcher_icons:flutter_launcher_icons. ( ● ) Generating app icons ⏳... ════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.14.3) ════════════════════════════════════════════ ( ● ) Generating app icons ⏳... • Creating default icons Android ( ● ) Generating app icons ⏳... • Overwriting the default Android launcher icon with a new icon
(● ) Generating app icons ⏳... • Creating adaptive icons Android ( ● ) Generating app icons ⏳... • Updating colors.xml with color for adaptive icon background • Creating mipmap xml file Android ( ●) Generating app icons ⏳... • Overwriting default iOS launcher icon with new icon ( ● ) Generating app icons ⏳... Creating Icons for Web... ( ●) Generating app icons ⏳...done ( ● ) Generating app icons ⏳...done ( ● ) Generating app icons ⏳...done ✓ Successfully generated launcher icons [21:19:56] Generated app icons ✅ Run subprocess: ['/workspaces/Mov/flutter/bin/dart', 'run', 'flutter_native_splash:create']
( ● ) Generating splash screens ⏳... Building package execut( ● ) Generating splash screens ⏳... Built flutter_native_splash:create. ( ● ) Generating splash screens ⏳... [Android] Creating default splash images ( ● ) Generating splash screens ⏳... [Android] Creating dark mode splash images ( ● ) Generating splash screens ⏳... [Android] Creating default android12splash images ( ● ) Generating splash screens ⏳... [Android] Creating dark mode android12splash images ( ●) Generating splash screens ⏳... [Android] Updating launch background(s) with splash image path... [Android] - android/app/src/main/res/drawable/launch_background.xml ( ● ) Generating splash screens ⏳... [Android] - android/app/src/main/res/drawable-night/launch_background.xml [Android] - android/app/src/main/res/drawable-v21/launch_background.xml [Android] - android/app/src/main/res/drawable-night-v21/launch_background.xml [Android] Updating styles... [Android] - android/app/src/main/res/values-v31/styles.xml ( ● ) Generating splash screens ⏳... [Android] - android/app/src/main/res/values-night-v31/styles.xml [Android] - android/app/src/main/res/values/styles.xml [Android] - android/app/src/main/res/values-night/styles.xml [iOS] Creating images ( ● ) Generating splash screens ⏳... [iOS] Creating dark mode images ( ● ) Generating splash screens ⏳... [iOS] Updating ios/Runner/Info.plist for status bar hidden/visible ( ● ) Generating splash screens ⏳... [Web] Creating images ( ● ) Generating splash screens ⏳... [Web] Creating images ( ● ) Generating splash screens ⏳... [Web] Creating background images [Web] Creating CSS (● ) Generating splash screens ⏳... [Web] Updating index.html ✅ Native splash complete. Now go finish building something awesome! 💪 You rock! 🤘🤩 Like the package? Please give it a 👍 here: https://pub.dev/packages/flutter_native_splash [21:20:01] Generated splash screens ✅
Run subprocess: ['/workspaces/Mov/flutter/bin/dart', 'run', 'serious_python:main', 'package', '/workspaces/Mov/src', '--platform', 'Android', '--requirements', 'flet==0.25.2', '--exclude', 'build', '--cleanup'] ( ● ) Packaging Python app ⏳... Building package executable.( ● ) Packaging Python app ⏳... Built serious_python:main.
( ● ) Packaging Python app ⏳... Running package command ( ● ) Packaging Python app ⏳... Extra PyPi indexes: [https://pypi.flet.dev] Created temp directory: /tmp/serious_python_tempPVTKSC Copying Python app from /workspaces/Mov/src to a temp directory Cleanup app Configured Android/arm64-v8a platform with sitecustomize.py ( ● ) Packaging Python app ⏳... Installing [flet==0.25.2] with pip command to /workspaces/Mov/build/site-packages/arm64-v8a
( ● ) Packaging Python app ⏳... Cleanup installed packages
(● ) Packaging Python app ⏳... Configured Android/armeabi-v7a platform with sitecustomize.py Installing [flet==0.25.2] with pip command to /workspaces/Mov/build/site-packages/armeabi-v7a ( ● ) Packaging Python app ⏳... Cleanup installed packages (● ) Packaging Python app ⏳... Configured Android/x86_64 platform with sitecustomize.py Installing [flet==0.25.2] with pip command to /workspaces/Mov/build/site-packages/x86_64 ( ● ) Packaging Python app ⏳... Cleanup installed packages (● ) Packaging Python app ⏳... Configured Android/x86 platform with sitecustomize.py Installing [flet==0.25.2] with pip command to /workspaces/Mov/build/site-packages/x86 ( ● ) Packaging Python app ⏳... Cleanup installed packages Creating app archive at /workspaces/Mov/build/flutter/app/app.zip from a temp directory
( ●) Packaging Python app ⏳... Writing app archive hash to /workspaces/Mov/build/flutter/app/app.zip.hash Deleting temp directory [21:20:15] Packaged Python app ✅ Run subprocess: ['/workspaces/Mov/flutter/bin/flutter', 'build', 'apk', '--build-name', '0.1.0'] ( ●) Building .apk for Android ⏳... Running Gradle task 'assembleRelease'... /home/codespace/.pub-cache/hosted/pub.dev/flet-0.25.2/lib/src/utils/theme.dart:356:28: Error: A value of type 'TabBarThemeData' can't be returned from a function with return type 'TabBarTheme?'. ( ● ) Building .apk for Android ⏳... Running Gradle task 'as - 'TabBarThemeData' is from 'package:flutter/src/material/tab_bar_theme.dart' ('../../flutter/packages/flutter/lib/src/material/tab_bar_theme.dart'). Running Gradle task 'assembleRelease'... - 'TabBarTheme' is from 'package:flutter/src/material/tab_bar_theme.dart' ('../../flutter/packages/flutter/lib/src/material/tab_bar_theme.dart'). Running Gradle task 'assembleRelease'... return theme.tabBarTheme.copyWith( Running Gradle task 'assembleRelease'... ^ Running Gradle task 'assembleRelease'... /home/codespace/.pub-cache/hosted/pub.dev/flet-0.25.2/lib/src/utils/theme.dart:438:28: Error: A value of type 'DialogThemeData' can't be returned from a function with return type 'DialogTheme?'. Running Gradle task 'assembleRelease'... - 'DialogThemeData' is from 'package:flutter/src/material/dialog_theme.dart' ('../../flutter/packages/flutter/lib/src/material/dialog_theme.dart'). Running Gradle task 'assembleRelease'... - 'DialogTheme' is from 'package:flutter/src/material/dialog_theme.dart' ('../../flutter/packages/flutter/lib/src/material/dialog_theme.dart').
Running Gradle task 'assembleRelease'... return theme.dialogTheme.copyWith( Running Gradle task 'assembleRelease'... ^ Running Gradle task 'assembleRelease'... /home/codespace/.pub-cache/hosted/pub.dev/flet-0.25.2/lib/src/utils/theme.dart:482:26: Error: A value of type 'CardThemeData' can't be returned from a function with return type 'CardTheme?'. Running Gradle task 'assembleRelease'... - 'CardThemeData' is from 'package:flutter/src/material/card_theme.dart' ('../../flutter/packages/flutter/lib/src/material/card_theme.dart'). Running Gradle task 'assembleRelease'... - 'CardTheme' is from 'package:flutter/src/material/card_theme.dart' ('../../flutter/packages/flutter/lib/src/material/card_theme.dart'). Running Gradle task 'assembleRelease'... return theme.cardTheme.copyWith( Running Gradle task 'assembleRelease'... ^ Running Gradle task 'assembleRelease'... Target kernel_snapshot_program failed: Exception Running Gradle task 'assembleRelease'... Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... FAILURE: Build failed with an exception. Running Gradle task 'assembleRelease'... Running Gradle task 'assembleRelease'... * What went wrong: Running Gradle task 'assembleRelease'... Execution failed for task ':app:compileFlutterBuildRelease'. Running Gradle task 'assembleRelease'... > Process 'command '/workspaces/Mov/flutter/bin/flutter'' finished with non-zero exit value 1
Running Gradle task 'assembleRelease'... Running Gradle task 'assembleRelease'... * Try:
Running Gradle task 'assembleRelease'... > Run with --stacktrace option to get the stack trace. Running Gradle task 'assembleRelease'... > Run with --info or --debug option to get more log output. Running Gradle task 'assembleRelease'... > Run with --scan to get full insights. Running Gradle task 'assembleRelease'... > Get more help at https://help.gradle.org. Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... BUILD FAILED in 17s
Running Gradle task 'assembleRelease'... ( ●) Building .apk for Androi 18.4s Gradle task assembleRelease failed with exit code 1 [21:20:35] Error building Flet app - see the log of failed command above.

`

@ndonkoHenri
Copy link
Contributor

@maxilon001 read this: #4548 (comment)

@maxilon001
Copy link

@ndonkoHenri I did upgrade to every version ^0.25.2, and also tried downgrading to every version >0.19 but <0.25.2, still same Issue.

@ndonkoHenri
Copy link
Contributor

ndonkoHenri commented Jan 20, 2025

Downgrade your Flutter version to 3.24.x

@maxilon001
Copy link

@ndonkoHenri Downgrading flutter to v3.24.0 works it successfully builds.
But the built app is either blank or stuck on the splash screen:
Screenshot_20250120-100421.jpg

Screenshot_20250120-100457.jpg

Even building the minimal code this:

import flet as ft

def main(page: ft.Page):
    page.add(ft.SafeArea(ft.Text("Hello, Flet!")))

ft.app(main)

Command:

flet build apk --clear-cache --split-per-abi --cleanup-on-compile --include-packages flet_ads -o packs -v

@ndonkoHenri
Copy link
Contributor

Can you try removing flet_ads?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants