-
Notifications
You must be signed in to change notification settings - Fork 551
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
Not able to build project #21
Comments
Guys, Can anyone please help me on this ? I'm getting 1k+ error at compile time. I'm new to flutter and I'm running code in VS Code. |
This is probably due to latest dependency packages requires androidX, but the project didn't (issue #19). Hopefully with my commits today this should be resolved. Feel free to re-open the issue if it still doesn't work. |
I saw that you are using an iPhone emulator, unfortunately I don't have the ios development environment. The file you are opening might not be the right one: it's not the "lib" subdir under ios/App.framework/flutter_assets, instead, it should be the "lib" folder at the root level of the repo. Maybe re-clone the latest version of this repo, do Also you are using flutter 1.5.4, maybe do a |
I'm actually not opening any file, I just try to build the project and VS Code throws these many errors, so I click on an error and send you image. I did flutter clean and flutter upgrade too, but did not work, so I again moved to stable channel. |
I try to build for Android and android also gives me following error Launching lib/main.dart on YU5530 in debug mode...
FAILURE: Build failed with an exception.
BUILD FAILED in 3m 8s |
Oh for that gradlew one it's because the missing key.properties file, cf. #17 (comment) |
Can any one please help me to build Android and iOS project ? |
@X-Wei : Did you find solution to build iOS project ? |
I don't have a mac book thus can't debug the iOS build issues. |
@SagarPanwala @X-Wei I will check by taking a new pull request and see if I find the same issue as @SagarPanwala , if I will be able to replicate it, I will help you to resolve it.
@SagarPanwala please correct me from what I have summarized here. |
Thanks for taking in to consideration,
I'm not able to build both project.
I use VS Code and today I upgraded flutter too stable channel.
…On Thu, 11 Jul 2019, 11:18 p.m. RulTech Solutions Private Limited, < ***@***.***> wrote:
@SagarPanwala <https://github.com/SagarPanwala> @X-Wei
<https://github.com/X-Wei> I will check by taking a new pull request and
see if I find the same issue as @SagarPanwala
<https://github.com/SagarPanwala> , if I am able to replicate it, I will
help you to resolve it.
Though when we build and released it we didn't face the issue.
But will get back to you on it soon.
Just for my info you used VSCode to build the project right ?
I mean the steps to replicate your issue.
1. create a pull request
2. Tried to build the project and it failed (using VSCode)
Android is resolved, but for iOS its still and issue for you.
@SagarPanwala <https://github.com/SagarPanwala> please correct me from
what I have summarized here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3AKAK7JOWYCSFDZYELP65W6XA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXO3QI#issuecomment-510586305>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3DGQZG45FEQ2QDIAXDP65W6XANCNFSM4H3Z4VAA>
.
|
@SagarPanwala which version of flutter are you using, the latest is flutter 1.7 |
Yes, I upgraded 1 day ago in hope that this will resolved, but
unfortunately it didn't work.
I think it's 1.7.3
On Thu, 11 Jul 2019, 11:41 p.m. RulTech Solutions Private Limited, <
notifications@github.com> wrote:
… Thanks for taking in to consideration, I'm not able to build both project.
I use VS Code and today I upgraded flutter too stable channel.
… <#m_2321223620752210239_>
On Thu, 11 Jul 2019, 11:18 p.m. RulTech Solutions Private Limited, < *@*.***>
wrote: @SagarPanwala <https://github.com/SagarPanwala>
https://github.com/SagarPanwala @X-Wei <https://github.com/X-Wei>
https://github.com/X-Wei I will check by taking a new pull request and
see if I find the same issue as @SagarPanwala
<https://github.com/SagarPanwala> https://github.com/SagarPanwala , if I
am able to replicate it, I will help you to resolve it. Though when we
build and released it we didn't face the issue. But will get back to you on
it soon. Just for my info you used VSCode to build the project right ? I
mean the steps to replicate your issue. 1. create a pull request 2. Tried
to build the project and it failed (using VSCode) Android is resolved, but
for iOS its still and issue for you. @SagarPanwala
<https://github.com/SagarPanwala> https://github.com/SagarPanwala please
correct me from what I have summarized here. — You are receiving this
because you were mentioned. Reply to this email directly, view it on GitHub
<#21 <#21>?email_source=notifications&email_token=ACDWB3AKAK7JOWYCSFDZYELP65W6XA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXO3QI#issuecomment-510586305>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACDWB3DGQZG45FEQ2QDIAXDP65W6XANCNFSM4H3Z4VAA
.
@SagarPanwala <https://github.com/SagarPanwala> which version of flutter
are you using, the latest is flutter 1.7
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3GNIPPZFEFLPSWHBTTP65ZVTA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXQ7UY#issuecomment-510595027>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3AQXKTDZGTXR3YPW63P65ZVTANCNFSM4H3Z4VAA>
.
|
Why this issue is closed ? |
|
Thank you for your update, I was tensed, I stuck on 10 days from here.
On many site flutter_catalog is recommended, so I was trying to make this
build.
…On Wed, 17 Jul 2019, 8:44 p.m. RulTech Solutions Private Limited, < ***@***.***> wrote:
@SagarPanwala <https://github.com/SagarPanwala>
1. The issue is closed was already closed and you updated your comment
on the closed issue.
2. We do not do calls we are open community member's to help each
other, and work when get time.
3. Yes this should be minor fix, I have not got time to check taking a
new pull request, but will do update you as soon as possible.
Lastly we will try to get back to you asap.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3A6KGL45QDCWTTEKBTP74ZOZA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2EUNCY#issuecomment-512312971>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3GGN4T3QWLKTO4JHWDP74ZOZANCNFSM4H3Z4VAA>
.
|
As @pravindodia pointed out, this is an open-source repo that we do in our spare time. And no one is obliged to resolve the raised issues in limited time. I have closed this bug because I thought it was resolved after the migration to androidX, but seemingly it's not, so I'll re-open it. Yet still no guarantee on who will resolve this at what time. Meanwhile, @SagarPanwala it might be useful for you to post more information:
|
@SagarPanwala
Please let us know if you still have the issues building the project. |
Thanks, but above doesn't help at all. The method 'signInWithGoogle' isn't defined for the class 'FirebaseAuth'. Undefined class 'LabelDetector'. The name 'Label' isn't a type so it can't be used as a type argument. A value of type 'Rect' can't be assigned to a variable of type 'Rectangle'. A value of type 'List' can't be assigned to a variable of type 'List<Point>'. A value of type 'Offset' can't be assigned to a variable of type 'Point'. The built-in identifier 'show' can't be used as a type. MyRouteGroup isn't a type. 'MyBloc.mapEventToState' ('Stream<_MyState> Function(_MyState, _MyEvent)') isn't a valid override of 'Bloc.mapEventToState' ('Stream<_MyState> Function(_MyEvent)'). The named parameter 'bloc' isn't defined. |
@SagarPanwala Please refer @X-Wei's message above to send us the information. Please send as much as information as you can, including the steps to generate the issue. Once we get that, we will try to reproduce it and help you. |
Hi,
I don't understand which steps you need to reproduce,
In VS Code, I open project, open commands then did clean project.
I'm getting above errors when I just open the project.
…On Sun, 21 Jul 2019, 5:11 p.m. RulTech Solutions Private Limited, < ***@***.***> wrote:
@SagarPanwala <https://github.com/SagarPanwala>
As asked before by @X-Wei <https://github.com/X-Wei> , we will need the
steps to reproduce, as we are not able to reproduce the same issues that
you are facing.
Please refer @X-Wei <https://github.com/X-Wei>'s message above to send us
the information.
Please send as much as information as you can, including the steps to
generate the issue.
Once we get that, we will try to reproduce it and help you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3DUFWV2HZ4MCER6VCDQARDQPA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OBRNY#issuecomment-513546423>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3CAF6BWDANV5PC6A5TQARDQPANCNFSM4H3Z4VAA>
.
|
Hey @SagarPanwala , And I by "steps to reproduce" I mean some useful, detailed information. E.g. instead of saying "in VS code, I open project", better write:
From the errors you posted in #21 (comment), I guess you are still using an old version of the code -- because Have you tried cloning the latest version of the repo ? Currently it's v2.1.0, submitted 7 days ago. So maybe try to download the latest code version again, apply the changes @pravindodia suggested in this reply, and see if you can get the iOS version to build. If not, post more detailed information/steps that people can reproduce on their own computer, and we'll try to help with it. Thx |
Thanks for pointing the problem with commit,
I'm using master branch.
I cloned code
Just opened the project,
VS code analyzed the code and directly give error.
I don't need to run the project at all.
Above is for master branch.
I will check branch you pointed.
…On Mon, 22 Jul 2019, 12:18 a.m. xwei, ***@***.***> wrote:
Hey @SagarPanwala <https://github.com/SagarPanwala> ,
And I by "steps to reproduce" I mean some useful, detailed information.
E.g. instead of saying "in VS code, I open project", better write:
"I downloaded the the repo sync at commit , then I ran flutter clean &&
flutter run, and here's what I get: . And my flutter version is: (<the
command line output of flutter doctor -v>)"
From the errors you posted in #21 (comment)
<#21 (comment)>,
I guess you are still using an old version of the code -- because
List<Point> was only used in the MLKit demo, but I already migrated the
code to the latest MLKit API in this commit
<721f489>
.
*Have you tried cloning the latest version of the repo ?* Currently it's
v2.1.0
<46ea6aa>,
submitted 7 days ago.
So maybe try to download the latest code version again, apply the changes
@pravindodia <https://github.com/pravindodia> suggested in this
<#21 (comment)>
reply, and see if you can get the iOS version to build. If not, post more
detailed information/steps that people can reproduce on their own computer,
and we'll try to help with it. Thx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3DOV5IX2BMLHQQD6YDQASVP3A5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OJISQ#issuecomment-513578058>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3HRRHZMI46UMNKR3F3QASVP3ANCNFSM4H3Z4VAA>
.
|
I'm on latest commit in master branch and my_app_meta.dart shows const APP_VERSION = 'v2.2.0'; |
|
Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 10.2.1) [✓] iOS tools - develop for iOS devices [✓] Android Studio (version 3.4) [✓] VS Code (version 1.36.1) [!] Connected device 2 building for android - YES flutter run
Error output from CocoaPods:
Error running pod install |
For iOS unfortunately I can't help much since I don't have the dev environment. But by googling the error message:
I found this: flutter/flutter#32389, not sure it helps. |
Thanks for helping till now,
I build the Android project, but VS still shows errors, perhaps they are
for iOS.
1 thing I'm seeing is Android app is very laggy, is it same for you?
…On Sun, 28 Jul 2019, 2:25 p.m. xwei, ***@***.***> wrote:
For iOS unfortunately I can't help much since I don't have the dev
environment. But by googling the error message:
cloud_firestore (from .symlinks/plugins/cloud_firestore/ios) was resolved
to 0.0.1, which depends on Firebase/Firestore (~> 6.0)
I found this: flutter/flutter#32389
<flutter/flutter#32389>, not sure it helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3B32XKQXDARZTKUUOLQBVNGHA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD262MHQ#issuecomment-515745310>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3HSPNCS5YSJV4WWM53QBVNGHANCNFSM4H3Z4VAA>
.
|
For my development I don't feel the android emulator is laggy, I think it also depends on the machine. If it's too laggy you can plug in a real android device instead of using the emulator. |
Hi,
I run on real device.
…On Sun, 28 Jul 2019, 6:29 p.m. xwei, ***@***.***> wrote:
For my development I don't feel the android emulator is laggy, I think it
also depends on the machine. If it's too laggy you can plug in a real
android device instead of using the emulator.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACDWB3A2M3IQG4KM4NDTILTQBWJ4RA5CNFSM4H3Z4VAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD266GIQ#issuecomment-515760930>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDWB3HKR4G5TPWKTF7LJETQBWJ4RANCNFSM4H3Z4VAA>
.
|
|
Same as mine. [!]
Just try flutter run on mac os. Is there any one can hellp? |
I just try to start delete all those dependency and router to find out why. Now it looks like all those issues comming from firebase. Because it works fine for me, if I delete the firebase. Actually, it is very clear in the error msg: |
Commented this part
change to
add this
|
This is full .yml file:
|
I'm trying to run app in iPhone Simulator, but getting an error in console. I'm trying to run in VS Code.
Launching lib/main.dart on iPhone Xʀ in debug mode...
Xcode build done. 652.6s
5.11.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add
[FIRApp configure];
(FirebaseApp.configure()
in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.5.11.0 - [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
5.11.0 - [Firebase/Core][I-COR000005] No app has been configured yet.
*** First throw call stack:
(
0 CoreFoundation 0x000000010d0776fb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010c623ac5 objc_exception_throw + 48
2 CoreFoundation 0x000000010d077555 +[NSException raise:format:] + 197
3 Runner 0x0000000103bd8373 +[FIRApp configure] + 467
4 Runner 0x0000000104001679 -[FLTCloudFirestorePlugin init] + 185
5 Runner 0x0000000104001529 +[FLTCloudFirestorePlugin registerWithRegistrar:] + 297
6 Runner 0x0000000103a3ff03 +[GeneratedPluginRegistrant registerWithRegistry:] + 115
7 Runner <…>
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:52851/gO3UF1Oy36Q=/ws
Exited (sigterm)
The text was updated successfully, but these errors were encountered: