qiuxiang / flutter-android-window

A flutter plugin allows you to create native android floating window.
MIT License
62 stars 19 forks source link

example is not working #18

Open deviankim opened 2 years ago

deviankim commented 2 years ago

My system is macbook m1 pro.

➜  flutter-android-window git:(main) ✗ flutter doctor   
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale en-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
[✓] VS Code (version 1.66.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!
Screen Shot 2022-05-17 at 22 02 17
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.util.zip.ZipException: zip END header not found
    at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1623)
    at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1511)
    at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1518)
    at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1322)
    at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1285)
    at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:747)
    at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:864)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:262)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:191)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:205)
    at org.gradle.wrapper.Install.unzip(Install.java:214)
    at org.gradle.wrapper.Install.access$600(Install.java:27)
    at org.gradle.wrapper.Install$1.call(Install.java:74)
    at org.gradle.wrapper.Install$1.call(Install.java:48)
    at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
    at org.gradle.wrapper.Install.createDist(Install.java:48)
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Exception: Gradle task assembleDebug failed with exit code 1