> echo Attempting build for sayantandasgupta-shopify-app with Flutter 2.0.0 and jdk 11 Attempting build for sayantandasgupta-shopify-app with Flutter 2.0.0 and jdk 11 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache flutter-android:2.0.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && flutter build apk --debug --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/ && cp .dart_tool/package_config.json /output/ && cp pubspec.lock /output/ && cp pubspec.yaml /output/ 2>/dev/null || true && mkdir -p /output/libs && find android -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.toml" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true Downloading Dart SDK from Flutter engine 40441def692f444660a11e20fac37af9050245ab... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 193M 0 256k 0 0 252k 0 0:13:05 0:00:01 0:13:04 252k 11 193M 11 22.7M 0 0 11.3M 0 0:00:17 0:00:02 0:00:15 11.3M 29 193M 29 57.4M 0 0 19.0M 0 0:00:10 0:00:03 0:00:07 19.0M 46 193M 46 90.6M 0 0 22.3M 0 0:00:08 0:00:04 0:00:04 22.3M 65 193M 65 126M 0 0 25.1M 0 0:00:07 0:00:05 0:00:02 25.2M 81 193M 81 157M 0 0 26.1M 0 0:00:07 0:00:06 0:00:01 31.4M 100 193M 100 193M 0 0 27.6M 0 0:00:07 0:00:07 --:--:-- 34.2M Building flutter tool... ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝ Downloading Material fonts... 692ms Downloading Gradle Wrapper... 61ms Downloading package sky_engine... 180ms Downloading flutter_patched_sdk tools... 2,136ms Downloading flutter_patched_sdk_product tools... 2,520ms Downloading linux-x64 tools... 1,812ms Downloading linux-x64/font-subset tools... 259ms Running "flutter pub get" in app... 1,872ms bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 797ms Downloading android-arm-release/linux-x64 tools... 412ms Downloading android-arm64-profile/linux-x64 tools... 348ms Downloading android-arm64-release/linux-x64 tools... 269ms Downloading android-x64-profile/linux-x64 tools... 237ms Downloading android-x64-release/linux-x64 tools... 176ms 💪 Building with sound null safety 💪 Running Gradle task 'assembleDebug'... Checking the license for package Android SDK Build-Tools 29.0.2 in /opt/android/licenses License for package Android SDK Build-Tools 29.0.2 accepted. Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)". "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready. Installing Android SDK Build-Tools 29.0.2 in /opt/android/build-tools/29.0.2 "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete. "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished. Checking the license for package Android SDK Platform 30 in /opt/android/licenses License for package Android SDK Platform 30 accepted. Preparing "Install Android SDK Platform 30 (revision: 3)". "Install Android SDK Platform 30 (revision: 3)" ready. Installing Android SDK Platform 30 in /opt/android/platforms/android-30 "Install Android SDK Platform 30 (revision: 3)" complete. "Install Android SDK Platform 30 (revision: 3)" finished. Error: Invalid package URI 'package:/providers/orders.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/cart_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/orders_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/edit_product_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/user_product_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/providers/products_provider.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/product_detail_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/products_overview_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/providers/cart.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. lib/main.dart:4:8: Error: Not found: 'package:/providers/orders.dart' import '../providers/orders.dart'; ^ lib/main.dart:5:8: Error: Not found: 'package:/screens/cart_screen.dart' import '../screens/cart_screen.dart'; ^ lib/main.dart:6:8: Error: Not found: 'package:/screens/orders_screen.dart' import '../screens/orders_screen.dart'; ^ lib/main.dart:7:8: Error: Not found: 'package:/screens/edit_product_screen.dart' import '../screens/edit_product_screen.dart'; ^ lib/main.dart:8:8: Error: Not found: 'package:/screens/user_product_screen.dart' import '../screens/user_product_screen.dart'; ^ lib/main.dart:9:8: Error: Not found: 'package:/providers/products_provider.dart' import '../providers/products_provider.dart'; ^ lib/main.dart:10:8: Error: Not found: 'package:/screens/product_detail_screen.dart' import '../screens/product_detail_screen.dart'; ^ lib/main.dart:11:8: Error: Not found: 'package:/screens/products_overview_screen.dart' import '../screens/products_overview_screen.dart'; ^ lib/main.dart:12:8: Error: Not found: 'package:/providers/cart.dart' import '../providers/cart.dart'; ^ lib/main.dart:33:49: Error: The method 'ProductsProvider' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ProductsProvider'. ChangeNotifierProvider(create: (ctx) => ProductsProvider()), ^^^^^^^^^^^^^^^^ lib/main.dart:33:9: Error: Inferred type argument 'dynamic' doesn't conform to the bound 'ChangeNotifier?' of the type variable 'T' on 'ChangeNotifierProvider'. - 'ChangeNotifier' is from 'package:flutter/src/foundation/change_notifier.dart' ('/opt/flutter/packages/flutter/lib/src/foundation/change_notifier.dart'). Try specifying type arguments explicitly so that they conform to the bounds. ChangeNotifierProvider(create: (ctx) => ProductsProvider()), ^ /root/.pub-cache/hosted/pub.dartlang.org/provider-6.0.0/lib/src/change_notifier_provider.dart:98:30: Context: This is the type variable whose bound isn't conformed to. class ChangeNotifierProvider ^ lib/main.dart:34:49: Error: The method 'Cart' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'Cart'. ChangeNotifierProvider(create: (ctx) => Cart()), ^^^^ lib/main.dart:34:9: Error: Inferred type argument 'dynamic' doesn't conform to the bound 'ChangeNotifier?' of the type variable 'T' on 'ChangeNotifierProvider'. - 'ChangeNotifier' is from 'package:flutter/src/foundation/change_notifier.dart' ('/opt/flutter/packages/flutter/lib/src/foundation/change_notifier.dart'). Try specifying type arguments explicitly so that they conform to the bounds. ChangeNotifierProvider(create: (ctx) => Cart()), ^ /root/.pub-cache/hosted/pub.dartlang.org/provider-6.0.0/lib/src/change_notifier_provider.dart:98:30: Context: This is the type variable whose bound isn't conformed to. class ChangeNotifierProvider ^ lib/main.dart:35:49: Error: The method 'Orders' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'Orders'. ChangeNotifierProvider(create: (ctx) => Orders()), ^^^^^^ lib/main.dart:35:9: Error: Inferred type argument 'dynamic' doesn't conform to the bound 'ChangeNotifier?' of the type variable 'T' on 'ChangeNotifierProvider'. - 'ChangeNotifier' is from 'package:flutter/src/foundation/change_notifier.dart' ('/opt/flutter/packages/flutter/lib/src/foundation/change_notifier.dart'). Try specifying type arguments explicitly so that they conform to the bounds. ChangeNotifierProvider(create: (ctx) => Orders()), ^ /root/.pub-cache/hosted/pub.dartlang.org/provider-6.0.0/lib/src/change_notifier_provider.dart:98:30: Context: This is the type variable whose bound isn't conformed to. class ChangeNotifierProvider ^ lib/main.dart:44:15: Error: The method 'ProductOverviewScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ProductOverviewScreen'. home: ProductOverviewScreen(), ^^^^^^^^^^^^^^^^^^^^^ lib/main.dart:46:11: Error: The getter 'ProductDetailScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'ProductDetailScreen'. ProductDetailScreen.routeName: (ctx) => ProductDetailScreen(), ^^^^^^^^^^^^^^^^^^^ lib/main.dart:46:51: Error: The method 'ProductDetailScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ProductDetailScreen'. ProductDetailScreen.routeName: (ctx) => ProductDetailScreen(), ^^^^^^^^^^^^^^^^^^^ lib/main.dart:47:11: Error: The getter 'CartScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'CartScreen'. CartScreen.routeName: (ctx) => CartScreen(), ^^^^^^^^^^ lib/main.dart:47:42: Error: The method 'CartScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'CartScreen'. CartScreen.routeName: (ctx) => CartScreen(), ^^^^^^^^^^ lib/main.dart:48:11: Error: The getter 'OrdersScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'OrdersScreen'. OrdersScreen.routeName: (ctx) => OrdersScreen(), ^^^^^^^^^^^^ lib/main.dart:48:44: Error: The method 'OrdersScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'OrdersScreen'. OrdersScreen.routeName: (ctx) => OrdersScreen(), ^^^^^^^^^^^^ lib/main.dart:49:11: Error: The getter 'UserProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'UserProductScreen'. UserProductScreen.routeName: (ctx) => UserProductScreen(), ^^^^^^^^^^^^^^^^^ lib/main.dart:49:49: Error: The method 'UserProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'UserProductScreen'. UserProductScreen.routeName: (ctx) => UserProductScreen(), ^^^^^^^^^^^^^^^^^ lib/main.dart:50:11: Error: The getter 'EditProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'EditProductScreen'. EditProductScreen.routeName: (ctx) => EditProductScreen(), ^^^^^^^^^^^^^^^^^ lib/main.dart:50:49: Error: The method 'EditProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'EditProductScreen'. EditProductScreen.routeName: (ctx) => EditProductScreen(), ^^^^^^^^^^^^^^^^^ Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:package%3A%2Fproviders%2Forders.dart; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7) #1 asFileUri (package:vm/kernel_front_end.dart:599:37) #2 writeDepfile (package:vm/kernel_front_end.dart:738:21) #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:558:9) #4 starter (package:flutter_frontend_server/server.dart:180:12) #5 main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24) FAILURE: Build failed with an exception. * Where: Script '/opt/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/opt/flutter/bin/flutter'' 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 1m 48s Running Gradle task 'assembleDebug'... 109.4s Gradle task assembleDebug failed with exit code 1 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache -v /home/ubuntu/.gradle:/root/gradle flutter-android:2.0.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i 's/signingConfig signingConfigs\.release/signingConfig signingConfigs.debug/' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/ Downloading Dart SDK from Flutter engine 40441def692f444660a11e20fac37af9050245ab... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 193M 0 593k 0 0 503k 0 0:06:34 0:00:01 0:06:33 502k 15 193M 15 30.0M 0 0 13.7M 0 0:00:14 0:00:02 0:00:12 13.7M 33 193M 33 64.7M 0 0 20.3M 0 0:00:09 0:00:03 0:00:06 20.3M 51 193M 51 99.3M 0 0 23.7M 0 0:00:08 0:00:04 0:00:04 23.7M 68 193M 68 133M 0 0 25.7M 0 0:00:07 0:00:05 0:00:02 26.8M 86 193M 86 167M 0 0 27.0M 0 0:00:07 0:00:06 0:00:01 33.2M 100 193M 100 193M 0 0 27.9M 0 0:00:06 0:00:06 --:--:-- 34.3M Building flutter tool... ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝ Downloading Material fonts... 690ms Downloading Gradle Wrapper... 61ms Downloading package sky_engine... 197ms Downloading flutter_patched_sdk tools... 1,809ms Downloading flutter_patched_sdk_product tools... 1,840ms Downloading linux-x64 tools... 2,582ms Downloading linux-x64/font-subset tools... 338ms Running "flutter pub get" in app... 2,157ms bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1,018ms Downloading android-arm-release/linux-x64 tools... 356ms Downloading android-arm64-profile/linux-x64 tools... 400ms Downloading android-arm64-release/linux-x64 tools... 397ms Downloading android-x64-profile/linux-x64 tools... 354ms Downloading android-x64-release/linux-x64 tools... 270ms 💪 Building with sound null safety 💪 Running Gradle task 'assembleRelease'... Checking the license for package Android SDK Build-Tools 29.0.2 in /opt/android/licenses License for package Android SDK Build-Tools 29.0.2 accepted. Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)". "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready. Installing Android SDK Build-Tools 29.0.2 in /opt/android/build-tools/29.0.2 "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete. "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished. Checking the license for package Android SDK Platform 30 in /opt/android/licenses License for package Android SDK Platform 30 accepted. Preparing "Install Android SDK Platform 30 (revision: 3)". "Install Android SDK Platform 30 (revision: 3)" ready. Installing Android SDK Platform 30 in /opt/android/platforms/android-30 "Install Android SDK Platform 30 (revision: 3)" complete. "Install Android SDK Platform 30 (revision: 3)" finished. Error: Invalid package URI 'package:/providers/orders.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/cart_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/orders_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/edit_product_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/user_product_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/providers/products_provider.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/product_detail_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/screens/products_overview_screen.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. Error: Invalid package URI 'package:/providers/cart.dart': Invalid argument (packageUri): Package URIs must not start with a '/': Instance of '_Uri'. lib/main.dart:4:8: Error: Not found: 'package:/providers/orders.dart' import '../providers/orders.dart'; ^ lib/main.dart:5:8: Error: Not found: 'package:/screens/cart_screen.dart' import '../screens/cart_screen.dart'; ^ lib/main.dart:6:8: Error: Not found: 'package:/screens/orders_screen.dart' import '../screens/orders_screen.dart'; ^ lib/main.dart:7:8: Error: Not found: 'package:/screens/edit_product_screen.dart' import '../screens/edit_product_screen.dart'; ^ lib/main.dart:8:8: Error: Not found: 'package:/screens/user_product_screen.dart' import '../screens/user_product_screen.dart'; ^ lib/main.dart:9:8: Error: Not found: 'package:/providers/products_provider.dart' import '../providers/products_provider.dart'; ^ lib/main.dart:10:8: Error: Not found: 'package:/screens/product_detail_screen.dart' import '../screens/product_detail_screen.dart'; ^ lib/main.dart:11:8: Error: Not found: 'package:/screens/products_overview_screen.dart' import '../screens/products_overview_screen.dart'; ^ lib/main.dart:12:8: Error: Not found: 'package:/providers/cart.dart' import '../providers/cart.dart'; ^ lib/main.dart:33:49: Error: The method 'ProductsProvider' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ProductsProvider'. ChangeNotifierProvider(create: (ctx) => ProductsProvider()), ^^^^^^^^^^^^^^^^ lib/main.dart:33:9: Error: Inferred type argument 'dynamic' doesn't conform to the bound 'ChangeNotifier?' of the type variable 'T' on 'ChangeNotifierProvider'. - 'ChangeNotifier' is from 'package:flutter/src/foundation/change_notifier.dart' ('/opt/flutter/packages/flutter/lib/src/foundation/change_notifier.dart'). Try specifying type arguments explicitly so that they conform to the bounds. ChangeNotifierProvider(create: (ctx) => ProductsProvider()), ^ /root/.pub-cache/hosted/pub.dartlang.org/provider-6.0.0/lib/src/change_notifier_provider.dart:98:30: Context: This is the type variable whose bound isn't conformed to. class ChangeNotifierProvider ^ lib/main.dart:34:49: Error: The method 'Cart' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'Cart'. ChangeNotifierProvider(create: (ctx) => Cart()), ^^^^ lib/main.dart:34:9: Error: Inferred type argument 'dynamic' doesn't conform to the bound 'ChangeNotifier?' of the type variable 'T' on 'ChangeNotifierProvider'. - 'ChangeNotifier' is from 'package:flutter/src/foundation/change_notifier.dart' ('/opt/flutter/packages/flutter/lib/src/foundation/change_notifier.dart'). Try specifying type arguments explicitly so that they conform to the bounds. ChangeNotifierProvider(create: (ctx) => Cart()), ^ /root/.pub-cache/hosted/pub.dartlang.org/provider-6.0.0/lib/src/change_notifier_provider.dart:98:30: Context: This is the type variable whose bound isn't conformed to. class ChangeNotifierProvider ^ lib/main.dart:35:49: Error: The method 'Orders' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'Orders'. ChangeNotifierProvider(create: (ctx) => Orders()), ^^^^^^ lib/main.dart:35:9: Error: Inferred type argument 'dynamic' doesn't conform to the bound 'ChangeNotifier?' of the type variable 'T' on 'ChangeNotifierProvider'. - 'ChangeNotifier' is from 'package:flutter/src/foundation/change_notifier.dart' ('/opt/flutter/packages/flutter/lib/src/foundation/change_notifier.dart'). Try specifying type arguments explicitly so that they conform to the bounds. ChangeNotifierProvider(create: (ctx) => Orders()), ^ /root/.pub-cache/hosted/pub.dartlang.org/provider-6.0.0/lib/src/change_notifier_provider.dart:98:30: Context: This is the type variable whose bound isn't conformed to. class ChangeNotifierProvider ^ lib/main.dart:44:15: Error: The method 'ProductOverviewScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ProductOverviewScreen'. home: ProductOverviewScreen(), ^^^^^^^^^^^^^^^^^^^^^ lib/main.dart:46:11: Error: The getter 'ProductDetailScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'ProductDetailScreen'. ProductDetailScreen.routeName: (ctx) => ProductDetailScreen(), ^^^^^^^^^^^^^^^^^^^ lib/main.dart:46:51: Error: The method 'ProductDetailScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ProductDetailScreen'. ProductDetailScreen.routeName: (ctx) => ProductDetailScreen(), ^^^^^^^^^^^^^^^^^^^ lib/main.dart:47:11: Error: The getter 'CartScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'CartScreen'. CartScreen.routeName: (ctx) => CartScreen(), ^^^^^^^^^^ lib/main.dart:47:42: Error: The method 'CartScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'CartScreen'. CartScreen.routeName: (ctx) => CartScreen(), ^^^^^^^^^^ lib/main.dart:48:11: Error: The getter 'OrdersScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'OrdersScreen'. OrdersScreen.routeName: (ctx) => OrdersScreen(), ^^^^^^^^^^^^ lib/main.dart:48:44: Error: The method 'OrdersScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'OrdersScreen'. OrdersScreen.routeName: (ctx) => OrdersScreen(), ^^^^^^^^^^^^ lib/main.dart:49:11: Error: The getter 'UserProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'UserProductScreen'. UserProductScreen.routeName: (ctx) => UserProductScreen(), ^^^^^^^^^^^^^^^^^ lib/main.dart:49:49: Error: The method 'UserProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'UserProductScreen'. UserProductScreen.routeName: (ctx) => UserProductScreen(), ^^^^^^^^^^^^^^^^^ lib/main.dart:50:11: Error: The getter 'EditProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'EditProductScreen'. EditProductScreen.routeName: (ctx) => EditProductScreen(), ^^^^^^^^^^^^^^^^^ lib/main.dart:50:49: Error: The method 'EditProductScreen' isn't defined for the class 'MyApp'. - 'MyApp' is from 'package:shopify_app/main.dart' ('lib/main.dart'). Try correcting the name to the name of an existing method, or defining a method named 'EditProductScreen'. EditProductScreen.routeName: (ctx) => EditProductScreen(), ^^^^^^^^^^^^^^^^^ Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:package%3A%2Fproviders%2Forders.dart; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7) #1 asFileUri (package:vm/kernel_front_end.dart:599:37) #2 writeDepfile (package:vm/kernel_front_end.dart:738:21) #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:558:9) #4 starter (package:flutter_frontend_server/server.dart:180:12) #5 main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24) FAILURE: Build failed with an exception. * Where: Script '/opt/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991 * What went wrong: Execution failed for task ':app:compileFlutterBuildRelease'. > Process 'command '/opt/flutter/bin/flutter'' 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 2m 31s Running Gradle task 'assembleRelease'... 151.9s Gradle task assembleRelease failed with exit code 1 > echo Build failed with Flutter 2.0.0 and jdk version 11 with the following error: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output', '-v', '/home/ubuntu/.pub-cache:/root/.pub-cache', '-v', '/home/ubuntu/.gradle:/root/gradle', 'flutter-android:2.0.0-jdk11', 'bash', '-c', '\n cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part \'.*\\.g\\.dart\'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i \'s/signingConfig signingConfigs\\.release/signingConfig signingConfigs.debug/\' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/\n ']' returned non-zero exit status 1. Build failed with Flutter 2.0.0 and jdk version 11 with the following error: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output', '-v', '/home/ubuntu/.pub-cache:/root/.pub-cache', '-v', '/home/ubuntu/.gradle:/root/gradle', 'flutter-android:2.0.0-jdk11', 'bash', '-c', '\n cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part \'.*\\.g\\.dart\'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i \'s/signingConfig signingConfigs\\.release/signingConfig signingConfigs.debug/\' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/\n ']' returned non-zero exit status 1. > echo Attempting build for sayantandasgupta-shopify-app with Flutter 2.2.0 and jdk 11 Attempting build for sayantandasgupta-shopify-app with Flutter 2.2.0 and jdk 11 > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache flutter-android:2.2.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && flutter build apk --debug --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/ && cp .dart_tool/package_config.json /output/ && cp pubspec.lock /output/ && cp pubspec.yaml /output/ 2>/dev/null || true && mkdir -p /output/libs && find android -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find android -name "*.toml" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true && find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true && find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true Downloading Dart SDK from Flutter engine a9d88a4d182bdae23e3a4989abfb7ea25954aad1... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 7 198M 7 15.7M 0 0 6889k 0 0:00:29 0:00:02 0:00:27 6887k 31 198M 31 62.6M 0 0 18.7M 0 0:00:10 0:00:03 0:00:07 18.7M 53 198M 53 106M 0 0 24.3M 0 0:00:08 0:00:04 0:00:04 24.3M 74 198M 74 148M 0 0 27.7M 0 0:00:07 0:00:05 0:00:02 35.0M 96 198M 96 191M 0 0 30.2M 0 0:00:06 0:00:06 --:--:-- 38.3M 100 198M 100 198M 0 0 30.5M 0 0:00:06 0:00:06 --:--:-- 43.8M Building flutter tool... ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝ Downloading Material fonts... 962ms Downloading Gradle Wrapper... 80ms Downloading package sky_engine... 310ms Downloading flutter_patched_sdk tools... 544ms Downloading flutter_patched_sdk_product tools... 507ms Downloading linux-x64 tools... 2,099ms Downloading linux-x64/font-subset tools... 452ms Running "flutter pub get" in app... 1,813ms bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 977ms Downloading android-arm-release/linux-x64 tools... 365ms Downloading android-arm64-profile/linux-x64 tools... 407ms Downloading android-arm64-release/linux-x64 tools... 349ms Downloading android-x64-profile/linux-x64 tools... 380ms Downloading android-x64-release/linux-x64 tools... 337ms 💪 Building with sound null safety 💪 Running Gradle task 'assembleDebug'... Checking the license for package Android SDK Build-Tools 29.0.2 in /opt/android/licenses License for package Android SDK Build-Tools 29.0.2 accepted. Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)". "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready. Installing Android SDK Build-Tools 29.0.2 in /opt/android/build-tools/29.0.2 "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete. "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished. Checking the license for package Android SDK Platform 30 in /opt/android/licenses License for package Android SDK Platform 30 accepted. Preparing "Install Android SDK Platform 30 (revision: 3)". "Install Android SDK Platform 30 (revision: 3)" ready. Installing Android SDK Platform 30 in /opt/android/platforms/android-30 "Install Android SDK Platform 30 (revision: 3)" complete. "Install Android SDK Platform 30 (revision: 3)" finished. Running Gradle task 'assembleDebug'... 170.7s ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-debug.apk. > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache -v /home/ubuntu/.gradle:/root/gradle flutter-android:2.2.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i 's/signingConfig signingConfigs\.release/signingConfig signingConfigs.debug/' android/app/build.gradle || true && flutter build apk --release --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/r8/ && cp .dart_tool/package_config.json /output/r8/ && cp pubspec.lock /output/r8/ Downloading Dart SDK from Flutter engine a9d88a4d182bdae23e3a4989abfb7ea25954aad1... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 198M 0 112k 0 0 145k 0 0:23:21 --:--:-- 0:23:21 145k 12 198M 12 24.9M 0 0 14.5M 0 0:00:13 0:00:01 0:00:12 14.5M 33 198M 33 66.6M 0 0 24.5M 0 0:00:08 0:00:02 0:00:06 24.5M 51 198M 51 103M 0 0 27.8M 0 0:00:07 0:00:03 0:00:04 27.8M 68 198M 68 136M 0 0 29.0M 0 0:00:06 0:00:04 0:00:02 29.0M 83 198M 83 165M 0 0 28.9M 0 0:00:06 0:00:05 0:00:01 33.4M 100 198M 100 198M 0 0 29.7M 0 0:00:06 0:00:06 --:--:-- 35.0M Building flutter tool... ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝ Downloading Material fonts... 919ms Downloading Gradle Wrapper... 116ms Downloading package sky_engine... 304ms Downloading flutter_patched_sdk tools... 519ms Downloading flutter_patched_sdk_product tools... 524ms Downloading linux-x64 tools... 2,573ms Downloading linux-x64/font-subset tools... 482ms Running "flutter pub get" in app... 2,024ms bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1,498ms Downloading android-arm-release/linux-x64 tools... 441ms Downloading android-arm64-profile/linux-x64 tools... 430ms Downloading android-arm64-release/linux-x64 tools... 901ms Downloading android-x64-profile/linux-x64 tools... 628ms Downloading android-x64-release/linux-x64 tools... 931ms 💪 Building with sound null safety 💪 Running Gradle task 'assembleRelease'... Checking the license for package Android SDK Build-Tools 29.0.2 in /opt/android/licenses License for package Android SDK Build-Tools 29.0.2 accepted. Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)". "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready. Installing Android SDK Build-Tools 29.0.2 in /opt/android/build-tools/29.0.2 "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete. "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished. Checking the license for package Android SDK Platform 30 in /opt/android/licenses License for package Android SDK Platform 30 accepted. Preparing "Install Android SDK Platform 30 (revision: 3)". "Install Android SDK Platform 30 (revision: 3)" ready. Installing Android SDK Platform 30 in /opt/android/platforms/android-30 "Install Android SDK Platform 30 (revision: 3)" complete. "Install Android SDK Platform 30 (revision: 3)" finished. Running Gradle task 'assembleRelease'... 210.2s ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (6.0MB). > docker run --rm -v /home/ubuntu/storage/flutter_assets/extracted/sayantandasgupta-shopify-app/shopify-app-0b46fe85a36e57e828b3fafaf861338f267c3049:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/flutter/output/sayantandasgupta-shopify-app:/output -v /home/ubuntu/.pub-cache:/root/.pub-cache -v /home/ubuntu/.gradle:/root/gradle flutter-android:2.2.0-jdk11 bash -c cp -r /source/. /app && cd /app && true && flutter clean && flutter pub get && (./gradlew clean || true) && if grep -R "part '.*\.g\.dart'" lib >/dev/null 2>&1; then flutter pub run build_runner build --delete-conflicting-outputs || true; fi && sed -i 's/signingConfig signingConfigs\.release/signingConfig signingConfigs.debug/' android/app/build.gradle || true && flutter build apk --release --obfuscate --split-debug-info=/output/obfuscated/ --no-pub --split-per-abi && cp build/app/outputs/flutter-apk/*.apk /output/obfuscated/ && cp .dart_tool/package_config.json /output/obfuscated/ && cp pubspec.lock /output/obfuscated/ Downloading Dart SDK from Flutter engine a9d88a4d182bdae23e3a4989abfb7ea25954aad1... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 198M 1 2720k 0 0 2490k 0 0:01:21 0:00:01 0:01:20 2488k 21 198M 21 42.6M 0 0 20.3M 0 0:00:09 0:00:02 0:00:07 20.3M 42 198M 42 84.7M 0 0 27.2M 0 0:00:07 0:00:03 0:00:04 27.2M 63 198M 63 126M 0 0 30.8M 0 0:00:06 0:00:04 0:00:02 30.8M 83 198M 83 166M 0 0 32.7M 0 0:00:06 0:00:05 0:00:01 33.5M 100 198M 100 198M 0 0 33.6M 0 0:00:05 0:00:05 --:--:-- 40.7M Building flutter tool... ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝ Downloading Material fonts... 964ms Downloading Gradle Wrapper... 127ms Downloading package sky_engine... 428ms Downloading flutter_patched_sdk tools... 628ms Downloading flutter_patched_sdk_product tools... 536ms Downloading linux-x64 tools... 2,699ms Downloading linux-x64/font-subset tools... 417ms Running "flutter pub get" in app... 1,728ms bash: line 2: ./gradlew: No such file or directory Downloading android-arm-profile/linux-x64 tools... 1,061ms Downloading android-arm-release/linux-x64 tools... 406ms Downloading android-arm64-profile/linux-x64 tools... 395ms Downloading android-arm64-release/linux-x64 tools... 844ms Downloading android-x64-profile/linux-x64 tools... 382ms Downloading android-x64-release/linux-x64 tools... 341ms 💪 Building with sound null safety 💪 Running Gradle task 'assembleRelease'... Checking the license for package Android SDK Build-Tools 29.0.2 in /opt/android/licenses License for package Android SDK Build-Tools 29.0.2 accepted. Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)". "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready. Installing Android SDK Build-Tools 29.0.2 in /opt/android/build-tools/29.0.2 "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete. "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished. Checking the license for package Android SDK Platform 30 in /opt/android/licenses License for package Android SDK Platform 30 accepted. Preparing "Install Android SDK Platform 30 (revision: 3)". "Install Android SDK Platform 30 (revision: 3)" ready. Installing Android SDK Platform 30 in /opt/android/platforms/android-30 "Install Android SDK Platform 30 (revision: 3)" complete. "Install Android SDK Platform 30 (revision: 3)" finished. Running Gradle task 'assembleRelease'... 207.9s ✓ Built build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk (5.6MB). > echo Build succeeded with Flutter 2.2.0 Build succeeded with Flutter 2.2.0