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

Stopped working #7

Open
brnostone opened this issue Mar 30, 2020 · 4 comments
Open

Stopped working #7

brnostone opened this issue Mar 30, 2020 · 4 comments

Comments

@brnostone
Copy link

I tested the example with:
flutter pub run as2f:codegen --run-once

is returning:

⚙️ as2f.yaml loaded
✏️ /Users/xxxx/AndroidStudioProjects/flutter/as2f/example/carrots_sample
👋 KTHXBAI

however the carrots.dart file is not being created. I'm using it in my project and it also stopped working.

flutter --version
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (7 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

@vishna
Copy link
Owner

vishna commented Jul 22, 2020

hmm... hard to say, can't repro so might something be on your machine

does

flutter pub run as2f:codegen --run-once --debug

print maybe more info?

@wilzog
Copy link

wilzog commented Aug 25, 2020

Have the same problem. It doesn't create the target carrots_sample/carrots.dart

flutter pub run as2f:codegen --run-once --debug

Trying to download as2f-c785e23196.jar ...
Downloaded as2f-c785e23196.jar
⚙️ as2f.yaml loaded
🚨 awaiting 1 channel(s) to close
✏️ /Users/xxxx/Downloads/as2f-master/example/carrots_sample
🚨 channel 0 closed true
👋 KTHXBAI

Here is my flutter version

Flutter 1.20.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2ae34518b8 (vor 3 Wochen) • 2020-08-05 19:53:19 -0700
Engine • revision c8e3b94853
Tools • Dart 2.9.0

Did anybody find the reason why. Maybe wrong JDK version or anything?

@numen31337
Copy link

numen31337 commented Aug 25, 2020

Another problem for me is that I can only use this tool with a VPN because for some reason I cannot download this .jar file on my local network (Germany, Vodafone). The download process starts and gets stuck after downloading about 200kb.

@wilzog
Copy link

wilzog commented Aug 25, 2020

I just found out that it is not working with the latest OpenJDK version installed on MACOSX. I downgraded to Java 8 and now it is working

openjdk version "1.8.0_265"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)

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