Closed TheAlphamerc closed 4 years ago
Thanks for the report. Have you tried running flutter upgrade ?
no
I'd recommend you try upgrading to the latest versions of Flutter, we haven't tested in in 1.9 which is quite old now. In your terminal in your IDE, just enter flutter upgrade, you also might want to throw in a flutter clean for good measure,
Can you try following the next steps?:
flutter create .
(don't forget the dot at the end)flutter run
as usual Your output mention some incompatibilities. I would also recommend checking your flutter doctor
your Android NDK is not setup (not required but good to have) and you haven't accepted some licensing.
@TheAlphamerc I also suggest you try out the suggestions by @esDotDev and @dcocom. The parallax_travel_cards_hero project was able to run on my computer without any issues
flutter doctor -v
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at C:\Users\scata2\AppData\Local\Android\Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = C:\Users\scata2\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03) • All Android licenses accepted.
[√] Android Studio (version 3.5) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 42.1.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] VS Code (version 1.41.0) • VS Code at C:\Users\scata2\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.7.1
[√] Connected device (1 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• No issues found!
Closing for now, let us know if you still can not get it working.
I am not able to run project on my android device getting below error on project run command.
Steps to produce error
Download project from github.
Extract downloaded zip into a folder.
Open parallax_travel_cards_hero folder in VS code.
Run Flutter pub get command.
Run project.
Flutter Environment