Comments (5)
@SAGARSURI thanks for the quick reply. I tried what you suggested and still get the same error. I have built other flutter Git projects in the past and have created one of my own so I know my setup works. I am guessing there is an issue with you developing on Mac and me on Windows. Maybe something was committed to Git that shouldn't be that is causing the issue. I know pubspec.lock should be added to .gitignore, I removed that after cloning the project but still got the same build error.
from mymovies.
Hi @bzark
I tried reproducing the above issue but I think its either your environment setup issue or there is a platform(Flutter) bug. I would recommend you to clone the project. Open it in Android Studio. Rebuild the project and run it. Hope it helps. Let me know if that works. This is my output while trying to reproduce your issue:
Sagars-MacBook-Air:MyMovies-master sagarsuri$ flutter run
Running "flutter packages get" in MyMovies-master... 24.3s
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 6.3s
Resolving dependencies... 6.5s
Gradle task 'assembleDebug'...
Gradle task 'assembleDebug'... Done 56.3s
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk... 25.6s
from mymovies.
Hi @bzark
I am sorry that I pushed some extra files which was not required. I just removed them from the repo. Can you try again cloning and running it again ? Thanks for letting me know. Appreciated.
from mymovies.
Same issue but found this on stackoverflow, it is an issue with flutter v0.9.4 (fixed in channel master). There are a few solutions all of which should work.
from mymovies.
Ohh. I felt it is a platform bug because there are similar issues happening with IONIC framework as well and even they had same issue. Glad you found out the root cause of it. Thanks mate. Closing this issue.
from mymovies.
Related Issues (7)
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 mymovies.