booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

Problem with dependency flutter_gen #17

Closed realcloudworld closed 1 year ago

realcloudworld commented 1 year ago

Hi, I am facing some problem with flutter app. I pub get all dependecies. I got an error in file "houzi_main.dart" related to flutter_gen. ” Target of URI doesn’t exist: ‘package:flutter_gen/gen_l10n/app_localizations.dart’. Try creating the file referenced by the URI, or Try using a URI for a file that does exist.”

When I include this dependency in pupspec.yml i got this error in terminal>

[flutter app houzi] flutter pub get Running “flutter pub get” in flutter app houzi… Because every version of houzi_package from path depends on hive_generator 1.1.1 which depends on analyzer >=1.0.0 <3.0.0, every version of houzi_package from path requires analyzer >=1.0.0 <3.0.0. And because flutter_gen >=5.1.0+1 depends on flutter_gen_core 5.1.0+1 which depends on analyzer >=4.7.0 <6.0.0, houzi_package from path is incompatible with flutter_gen >=5.1.0+1. So, because houzi depends on both flutter_gen ^5.1.0+1 and houzi_package from path, version solving failed. pub get failed (1; So, because houzi depends on both flutter_gen ^5.1.0+1 and houzi_package from path, version solving failed.) exit code 1

please help me!

AdilSoomro commented 1 year ago

Can you setup TeamViewer and send your id and password to houziapp@gmail.com

realcloudworld commented 1 year ago

I have just sent you my id and password!

kritipurna commented 1 year ago

i am facing same issue. how can i resolve this?

AdilSoomro commented 1 year ago

@kritipurna can you also setup teamviewer and send your creds in email?

kritipurna commented 1 year ago

Hi Adil,

Can I send you the files? Temviewer is not working in my laptop.

...

siomimi commented 1 year ago

same issue

siomimi commented 1 year ago

ezgif com-gif-maker(3)

AdilSoomro commented 1 year ago

app_localization file is generated after a successful compile, do a flutter run it should compile fine.

ignore these warnings of localisation related file being non existent.

Make sure you are using flutter 3.7.x or higher.

siomimi commented 1 year ago

Yes I have the latest flutter version

siomimi commented 1 year ago

but when I run flutter run ... i run in to more issues

AdilSoomro commented 1 year ago

Please confirm your environment

siomimi commented 1 year ago

am using vs code

siomimi commented 1 year ago

the first time I open the flutter houzi app on vs code THIS IS WHAT I SEE ezgif com-gif-maker(4)

AdilSoomro commented 1 year ago

The errors listed on the your screenshot are all related to localization, and they’re not errors, they’re waiting for the app to be compiled one time.

please confirm your

android sdk version Flutter version Xcode version

siomimi commented 1 year ago

Okay let me try those

siomimi commented 1 year ago

Screen Shot 2023-01-21 at 11 59 57 AM

siomimi commented 1 year ago

still facing the same issues

siomimi commented 1 year ago

Screen Shot 2023-01-21 at 1 58 57 AM

AdilSoomro commented 1 year ago

Please setup AnyDesk or Zoom and send your link to houziapp@gmail.com

siomimi commented 1 year ago

I have team viewer

AdilSoomro commented 1 year ago

The original author was consulted on teamviewer. Anyone facing this issue in future should know that the flutter gen issue is related to localization files which are waiting to be compiled. Setup your environment correctly and just launch your app. It should work, despite the warning of flutter gen.

Marking this issue as closed. Let me know IN A SEPARATE ISSUE if you face any issue.