MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
Error:
Where: Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1160 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 22s Exception: Gradle task assembleDebug failed with exit code 1
Solution:
- Close project.
- Go to the project repository folder.
- Delete all generated files, for example:
- .dart_tool
- .idea
- .build
- .flutter-plugins
- .flutter-plugins-dependencies
- .metadata
- .packages
Nothing should changed in your git changes due to .gitignore file
- Open Android Studio again
- Go to File->Invalidate Caches/Restart, then invalidate caches and restart
if your project structure is corrupted go to: File -> Close Project, close the project and reopen it, it should be back to normal.
- Run all the necessary scripts starting with:
- flutter pub get
- dart pub get