Comments (3)
if gradle version is different than the one already exisiting in your system then it will take time downloading it.
1 : just go to your project then android\gradle\wrapper\gradle-wrapper.properties
2 : check the gradle version used in the project
3 : then see the one already used in your system at : C:\Users\omarSaleh.gradle\wrapper\dists and see the version existing
4 : if both versions match, then go to terminal and try flutter clean then flutter run .
5: if they dont , just download the one used in the project and extract the file to the path in step 3 .
all the best!
from clima-flutter.
from clima-flutter.
I was also having the same issue and took a long while to fix it,
I replaced my "Clima-Flutter/android" with "[ Directory to any other flutter project which runs fine on your device ]/android" directory.
also in android/app/src/main/AndroidManifest.xml,
change the "android:label" to the app name,
<application
android:label="clima"
android:name="${applicationName}"
and it runs fine.
I also tried to manually edit the code as shown here: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
at steps: 1a , 2, 3, 5.
but after that it was showing some "flutter.groovy" error and failed to build.
So i replaced the whole android directory, probably not the best option but the app is running 👍
from clima-flutter.
Related Issues (20)
- Error: NoSuchMethodError: The getter 'latitude' was called on null. HOT 1
- Failed to navigate to location_screen.dart on app restart HOT 1
- Type "double" is not a subtype of type "int"
- When I write the city name and pressing on "Get Weather" it throws me this error in the console HOT 5
- the code seems to stop at await .
- This expression has a type of 'void' so its value can't be used. Try checking to see if you're using the correct API; there might be a function or call that returns void you didn't expect. Also check type parameters and variables which might also be void.
- Unable to run the app after adding package Geolocator HOT 1
- NoSuchMethodError HOT 1
- Unable to print decodeData(); into the console HOT 3
- 'position' isn't printed HOT 1
- Error on Gathering API data using variables HOT 1
- permission HOT 3
- Permission denied error HOT 6
- everyone who are facing location denied problem and did not find position here is the solution welcome in advance :) HOT 1
- Problem when i click on get weather HOT 2
- Having a red flag from the beginning'' RaisedButton on Location Screen isn't defined as well as the FlatButton '' HOT 1
- Unable to pass url to my class object (NetworkHelper ) in loading screen HOT 1
- I have issue in getlocationData() method using Navigator.push of LocationScreen();
- issue in uploading my clima app project on github
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clima-flutter.