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

I cloned the entire Project, but still the app is not working #1

Open
Ashbuhrz opened this issue Dec 22, 2019 · 11 comments
Open

I cloned the entire Project, but still the app is not working #1

Ashbuhrz opened this issue Dec 22, 2019 · 11 comments

Comments

@Ashbuhrz
Copy link

Ashbuhrz commented Dec 22, 2019

it shows the error handling message given to it

but when I type the city name. it shows the correct weather.

The only error is when I click on the navigation button (get current navigation)

@Rohan2309
Copy link

Sometimes it doesn't fetch your current location when you're on the emulator. you have to set up your emulator for that.

@hughsheehy
Copy link

I don't think it's worth opening a new issue....and this MAY be a local issue but I've tried on several physical devices.

The app works fine on emulators. But on real (Android) devices it never connects to the weather API so the spinner just continues for ever. Correct API. Everything works on emulator. App installs fine from APK. Just never connects. App info shows zero mobile data.

@livyou-88
Copy link

My app is stuck forever in the loading screen on real Android device . Location is ON , and even if i turn OFF the location , the app is still stuck in the loading screen . Can we have an answer to this or an explanation ??

@RaghavTheGreat1
Copy link

Hi, I did a pull request just a few seconds ago. Please check that pull request to solve the issue of internet permissions.

@livyou-88
Copy link

livyou-88 commented May 23, 2020 via email

@filippo-fresilli
Copy link

@RaghavTheGreat1 I updated the file but the problem still persists.

@alihusainsorathiya
Copy link

My app is stuck forever in the loading screen on real Android device . Location is ON , and even if i turn OFF the location , the app is still stuck in the loading screen . Can we have an answer to this or an explanation ??

livyou-88 I had the same issue.
Steps :

Go to SDK Manager and select and download Google play services [This service will enable google maps ]
Second : Restart your emulator
Third: Go to emulator settings and in the location tab check if google maps are displayed.

@alihusainsorathiya
Copy link

it shows the error handling message given to it

but when I type the city name. it shows the correct weather.

The only error is when I click on the navigation button (get current navigation)

@Ashbuhrz : Can you share the error which you are getting?

Steps to check : Enable print in the functions to check if it the execution gets into the function or not.

  • 2nd : Use Debug Points to check the Flow of code
  • 3rd : Go to SDK Manager and select and check if Google play services are enabled or not [This service contains google maps package]
  • 4th : use flutter clean
  • 5th : Restart your Emulator
  • 6th : Run your app again

if this doesn't works go to File -> Invalidate Cache / Restart

@hughsheehy
Copy link

People may find help from this thread.
It's a permissions thing.

https://www.udemy.com/course/flutter-bootcamp-with-dart/learn/lecture/14487842#questions/10773334

@alihusainsorathiya
Copy link

@hughsheehy can you send me the error / attach error in an image so that I can help you out

@lustorbraun
Copy link

I don't think it's worth opening a new issue....and this MAY be a local issue but I've tried on several physical devices.

The app works fine on emulators. But on real (Android) devices it never connects to the weather API so the spinner just continues for ever. Correct API. Everything works on emulator. App installs fine from APK. Just never connects. App info shows zero mobile data.

I too have the same problem. I cloned the completed project, when i exported app to android it didn't worked........everytime i open the app i get struct at the spinkit bounce ball..nothing else....it just doesnt loads weather at all.
moreover i completed next project too and yet again same result.....bitcoin ticker never returns the output

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

8 participants