[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with flutter build apk --release #59635

Closed
fabiomalinconi opened this issue Jun 17, 2020 · 7 comments
Closed

Problem with flutter build apk --release #59635

fabiomalinconi opened this issue Jun 17, 2020 · 7 comments
Labels
in triage Presently being triaged by the triage team

Comments

@fabiomalinconi
Copy link
fabiomalinconi commented Jun 17, 2020

After I started flutter build apk --release, the program gives me errors:

logs
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split

Compiler message:
lib/main.dart:1:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.2/lib/firebase_analytics.dart': Impossibile trovare il pe
rcorso specificato.

import 'package:firebase_analytics/firebase_analytics.dart';
       ^
lib/main.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.2/lib/observer.dart': Impossibile trovare il percorso spe
cificato.

import 'package:firebase_analytics/observer.dart';
       ^
lib/main.dart:6:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibile trovare il percorso specificato.

import 'package:provider/provider.dart';
       ^
lib/src/helpers/ads.dart:6:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibile trovare il percorso sp
ecificato.

import 'package:provider/provider.dart';
       ^
lib/src/views/home_view.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibile trovare il percors
o specificato.

import 'package:provider/provider.dart';
       ^
lib/src/helpers/ads.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/admob_flutter-0.3.1/lib/admob_flutter.dart': Impossibile trovare il p
ercorso specificato.

import 'package:admob_flutter/admob_flutter.dart';
       ^
lib/src/helpers/ads.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+7/lib/firebase_admob.dart': Impossibile trovare
il percorso specificato.

import 'package:firebase_admob/firebase_admob.dart';
       ^
lib/src/helpers/guards.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile trova
re il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/helpers/notifications.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-5.1.5/lib/firebase_messaging.dart': Impo
ssibile trovare il percorso specificato.

import 'package:firebase_messaging/firebase_messaging.dart';
       ^
lib/src/providers/settings_provider.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart
': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/views/livetv_detail_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart':
Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/views/serie_detail_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart': I
mpossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/providers/settings_provider.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il
percorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/settings_provider.dart:5:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il
percorso specificato.

import 'package:http/http.dart';
       ^
lib/src/providers/livetv_provider.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il pe
rcorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/movies_provider.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il pe
rcorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/series_provider.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il pe
rcorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/helpers/network.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il percorso spe
cificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/settings_provider.dart:9:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.3+4/lib/shared_preferences.dar
t': Impossibile trovare il percorso specificato.

import 'package:shared_preferences/shared_preferences.dart';
       ^
lib/src/widgets/custom_logo_widget.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart'
: Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/helpers/search.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart': Impossibil
e trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/views/browser_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile t
rovare il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/views/kids_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile trov
are il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/views/index_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile tro
vare il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/views/livetv_view.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile tr
ovare il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/views/movies_view.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile tr
ovare il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/views/series_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-1.5.6/lib/pull_to_refresh.dart': Impossibile tr
ovare il percorso specificato.

import 'package:pull_to_refresh/pull_to_refresh.dart';
       ^
lib/src/views/livetv_detail_view.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/transition.dart'
: Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/views/serie_detail_view.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/transition.dart':
 Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/helpers/search.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/transition.dart': Impossib
ile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/widgets/custom_sliver_appbar_widget.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provi
der.dart': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/widgets/custom_sliver_appbar_widget.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/trans
ition.dart': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/widgets/custom_sliver_appbar_widget.dart:8:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibil
e trovare il percorso specificato.

import 'package:provider/provider.dart';
       ^
lib/src/widgets/custom_poster.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart': Imp
ossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/widgets/custom_poster.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/transition.dart': I
mpossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/widgets/material_poster_widget.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.d
art': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/widgets/material_poster_widget.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/transition
.dart': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/widgets/material_poster_widget.dart:5:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibile tro
vare il percorso specificato.

import 'package:provider/provider.dart';
       ^
lib/src/providers/episodes_provider.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il
percorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/widgets/custom_logo_widget.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/svg.dart': Impossibile trovare
il percorso specificato.

import 'package:flutter_svg/svg.dart';
       ^
lib/src/providers/search_provider.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il pe
rcorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/browser_provider.dart:8:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il p
ercorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/genres_provider.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il pe
rcorso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/providers/kids_provider.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+2/lib/http.dart': Impossibile trovare il perc
orso specificato.

import 'package:http/http.dart' as http;
       ^
lib/src/widgets/carousel_movies_widget.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibile tro
vare il percorso specificato.

import 'package:provider/provider.dart';
       ^
lib/src/widgets/carousel_movies_widget.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.d
art': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/provider.dart';
       ^
lib/src/widgets/carousel_movies_widget.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/transition
.dart': Impossibile trovare il percorso specificato.

import 'package:flutter_advanced_networkimage/transition.dart';
       ^
lib/src/views/video_view.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.7/lib/flutter_webview_plugin.dart': I
mpossibile trovare il percorso specificato.

import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
       ^
lib/src/views/video_view.dart:3:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/screen-0.0.5/lib/screen.dart': Impossibile trovare il percorso s
pecificato.

import 'package:screen/screen.dart' as wake;
       ^
lib/src/views/video_view.dart:4:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.2+1/lib/video_player.dart': Impossibile trovar
e il percorso specificato.

import 'package:video_player/video_player.dart';
       ^
lib/src/helpers/shares.dart:2:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0/lib/provider.dart': Impossibile trovare il percorso
 specificato.

import 'package:provider/provider.dart';
       ^
lib/src/widgets/custom_sliver_appbar_widget.dart:9:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.2+1/lib/share.dart': Impossibile tr
ovare il percorso specificato.

import 'package:share/share.dart';
       ^
lib/src/widgets/carousel_movies_widget.dart:5:8: Error: Error when reading '../../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_swiper-1.1.6/lib/flutter_swiper.dart': Imp
ossibile trovare il percorso specificato.

import 'package:flutter_swiper/flutter_swiper.dart';
       ^
lib/src/helpers/ads.dart:12:8: Error: Type 'MobileAdTargetingInfo' not found.
static MobileAdTargetingInfo _targetingInfo = MobileAdTargetingInfo(
       ^^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:17:8: Error: Type 'InterstitialAd' not found.
static InterstitialAd _newInterstitial(Settings settings) {
       ^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:24:8: Error: Type 'InterstitialAd' not found.
static InterstitialAd _interstitialAd;
       ^^^^^^^^^^^^^^
lib/src/helpers/guards.dart:7:89: Error: Type 'RefreshController' not found.
  static Widget hasError(BuildContext context, {@required Function onRefresh, @required RefreshController controller}) {
                                                                                        ^^^^^^^^^^^^^^^^^
lib/src/helpers/notifications.dart:15:16: Error: Type 'FirebaseMessaging' not found.
  static final FirebaseMessaging _firebaseMessaging = FirebaseMessaging();
               ^^^^^^^^^^^^^^^^^
lib/src/views/video_view.dart:20:3: Error: Type 'VideoPlayerController' not found.
  VideoPlayerController _videoPlayerController;
  ^^^^^^^^^^^^^^^^^^^^^
lib/main.dart:40:21: Error: Method not found: 'FirebaseAnalytics'.
  final analytics = FirebaseAnalytics();
                    ^^^^^^^^^^^^^^^^^
lib/src/views/browser_view.dart:23:30: Error: Method not found: 'RefreshController'.
  final _refreshController = RefreshController();
                             ^^^^^^^^^^^^^^^^^
lib/src/views/kids_view.dart:18:30: Error: Method not found: 'RefreshController'.
  final _refreshController = RefreshController();
                             ^^^^^^^^^^^^^^^^^
lib/src/views/index_view.dart:20:30: Error: Method not found: 'RefreshController'.
  final _refreshController = RefreshController();
                             ^^^^^^^^^^^^^^^^^
lib/src/views/livetv_view.dart:19:30: Error: Method not found: 'RefreshController'.
  final _refreshController = RefreshController();
                             ^^^^^^^^^^^^^^^^^
lib/src/views/movies_view.dart:19:30: Error: Method not found: 'RefreshController'.
  final _refreshController = RefreshController();
                             ^^^^^^^^^^^^^^^^^
lib/src/views/series_view.dart:18:30: Error: Method not found: 'RefreshController'.
  final _refreshController = RefreshController();
                             ^^^^^^^^^^^^^^^^^
lib/main.dart:52:12: Error: Method not found: 'Provider.value'.
    return Provider<Settings>.value(
           ^^^^^
lib/src/helpers/ads.dart:12:8: Error: 'MobileAdTargetingInfo' isn't a type.
static MobileAdTargetingInfo _targetingInfo = MobileAdTargetingInfo(
       ^^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:12:47: Error: Method not found: 'MobileAdTargetingInfo'.
static MobileAdTargetingInfo _targetingInfo = MobileAdTargetingInfo(
                                              ^^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:18:14: Error: Method not found: 'InterstitialAd'.
  return new InterstitialAd(
             ^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:24:8: Error: 'InterstitialAd' isn't a type.
static InterstitialAd _interstitialAd;
       ^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:27:5: Error: Getter not found: 'FirebaseAdMob'.
    FirebaseAdMob.instance
    ^^^^^^^^^^^^^
lib/src/helpers/ads.dart:29:5: Error: Getter not found: 'Admob'.
    Admob.initialize(_getAppId(settings));
    ^^^^^
lib/src/helpers/ads.dart:41:31: Error: Getter not found: 'AdmobBannerSize'.
                      adSize: AdmobBannerSize.BANNER,
                              ^^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:39:18: Error: Method not found: 'AdmobBanner'.
          child: AdmobBanner(
                 ^^^^^^^^^^^
lib/src/helpers/ads.dart:59:31: Error: Getter not found: 'AdmobBannerSize'.
                      adSize: AdmobBannerSize.FULL_BANNER,
                              ^^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:57:18: Error: Method not found: 'AdmobBanner'.
          child: AdmobBanner(
                 ^^^^^^^^^^^
lib/src/helpers/ads.dart:77:31: Error: Getter not found: 'AdmobBannerSize'.
                      adSize: AdmobBannerSize.LEADERBOARD,
                              ^^^^^^^^^^^^^^^
lib/src/helpers/ads.dart:75:18: Error: Method not found: 'AdmobBanner'.
          child: AdmobBanner(
                 ^^^^^^^^^^^
lib/src/helpers/ads.dart:87:22: Error: Getter not found: 'Provider'.
    final settings = Provider.of<Settings>(context);
                     ^^^^^^^^
lib/src/helpers/ads.dart:112:22: Error: Getter not found: 'Provider'.
    final settings = Provider.of<Settings>(context);
                     ^^^^^^^^
lib/src/helpers/guards.dart:7:89: Error: 'RefreshController' isn't a type.
  static Widget hasError(BuildContext context, {@required Function onRefresh, @required RefreshController controller}) {
                                                                                        ^^^^^^^^^^^^^^^^^
lib/src/helpers/guards.dart:11:15: Error: Method not found: 'WaterDropMaterialHeader'.
      header: WaterDropMaterialHeader(),
              ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/guards.dart:8:12: Error: Method not found: 'SmartRefresher'.
    return SmartRefresher(
           ^^^^^^^^^^^^^^
lib/src/helpers/notifications.dart:15:16: Error: 'FirebaseMessaging' isn't a type.
  static final FirebaseMessaging _firebaseMessaging = FirebaseMessaging();
               ^^^^^^^^^^^^^^^^^
lib/src/helpers/notifications.dart:15:55: Error: Method not found: 'FirebaseMessaging'.
  static final FirebaseMessaging _firebaseMessaging = FirebaseMessaging();
                                                      ^^^^^^^^^^^^^^^^^
lib/src/providers/settings_provider.dart:13:5: Error: 'SharedPreferences' isn't a type.
    SharedPreferences previous = await SharedPreferences.getInstance();
    ^^^^^^^^^^^^^^^^^
lib/src/providers/settings_provider.dart:14:5: Error: 'Response' isn't a type.
    Response resp;
    ^^^^^^^^
lib/src/providers/settings_provider.dart:21:20: Error: Method not found: 'get'.
      resp = await http.get(Api.url + 'settings');
                   ^^^
lib/src/providers/settings_provider.dart:13:40: Error: The getter 'SharedPreferences' isn't defined for the class 'SettingsProvider'.
 - 'SettingsProvider' is from 'package:streamapp/src/providers/settings_provider.dart' ('lib/src/providers/settings_provider.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'SharedPreferences'.
    SharedPreferences previous = await SharedPreferences.getInstance();
                                       ^^^^^^^^^^^^^^^^^
lib/src/providers/settings_provider.dart:40:5: Error: 'SharedPreferences' isn't a type.
    SharedPreferences previous = await SharedPreferences.getInstance();
    ^^^^^^^^^^^^^^^^^
lib/src/providers/settings_provider.dart:45:25: Error: Method not found: 'get'.
      final res = await http.get(Api.url + 'image/logo');
                        ^^^
lib/src/providers/settings_provider.dart:40:40: Error: The getter 'SharedPreferences' isn't defined for the class 'SettingsProvider'.
 - 'SettingsProvider' is from 'package:streamapp/src/providers/settings_provider.dart' ('lib/src/providers/settings_provider.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'SharedPreferences'.
    SharedPreferences previous = await SharedPreferences.getInstance();
                                       ^^^^^^^^^^^^^^^^^
lib/src/providers/settings_provider.dart:47:68: Error: The method 'DiskCache' isn't defined for the class 'SettingsProvider'.
 - 'SettingsProvider' is from 'package:streamapp/src/providers/settings_provider.dart' ('lib/src/providers/settings_provider.dart').
Try correcting the name to the name of an existing method, or defining a method named 'DiskCache'.
      if (previous.getString('type') != res.headers['type']) await DiskCache().clear();
                                                                   ^^^^^^^^^
lib/src/views/home_view.dart:57:31: Error: The getter 'Provider' isn't defined for the class '_HomeViewState'.
 - '_HomeViewState' is from 'package:streamapp/src/views/home_view.dart' ('lib/src/views/home_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Provider'.
    final Settings settings = Provider.of<Settings>(context);
                              ^^^^^^^^
lib/src/views/livetv_detail_view.dart:65:22: Error: The method 'TransitionToImage' isn't defined for the class '_LivetvDetailState'.
 - '_LivetvDetailState' is from 'package:streamapp/src/views/livetv_detail_view.dart' ('lib/src/views/livetv_detail_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
              child: TransitionToImage(
                     ^^^^^^^^^^^^^^^^^
lib/src/views/livetv_detail_view.dart:68:24: Error: The method 'AdvancedNetworkImage' isn't defined for the class '_LivetvDetailState'.
 - '_LivetvDetailState' is from 'package:streamapp/src/views/livetv_detail_view.dart' ('lib/src/views/livetv_detail_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                image: AdvancedNetworkImage(livetv.getPoster(),
                       ^^^^^^^^^^^^^^^^^^^^
lib/src/views/serie_detail_view.dart:243:26: Error: The method 'TransitionToImage' isn't defined for the class '_SerieDetailState'.
 - '_SerieDetailState' is from 'package:streamapp/src/views/serie_detail_view.dart' ('lib/src/views/serie_detail_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
                  child: TransitionToImage(
                         ^^^^^^^^^^^^^^^^^
lib/src/views/serie_detail_view.dart:246:28: Error: The method 'AdvancedNetworkImage' isn't defined for the class '_SerieDetailState'.
 - '_SerieDetailState' is from 'package:streamapp/src/views/serie_detail_view.dart' ('lib/src/views/serie_detail_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                    image: AdvancedNetworkImage(episodes[i].getStill(),
                           ^^^^^^^^^^^^^^^^^^^^
lib/src/providers/livetv_provider.dart:28:28: Error: Method not found: 'get'.
        final resp = await http.get(_url + 'livetv?page=$_currentPage');
                           ^^^
lib/src/providers/livetv_provider.dart:55:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'livetv/show/' + id);
                         ^^^
lib/src/providers/movies_provider.dart:27:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + endpoint);
                         ^^^
lib/src/providers/movies_provider.dart:47:28: Error: Method not found: 'get'.
        final resp = await http.get(_url + 'movies?page=$_currentPage');
                           ^^^
lib/src/providers/movies_provider.dart:103:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'movies/show/' + id);
                         ^^^
lib/src/providers/movies_provider.dart:121:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'movies/videos/' + id);
                         ^^^
lib/src/providers/movies_provider.dart:138:5: Error: Method not found: 'get'.
    http.get(_url + 'movies/view/' + id);
    ^^^
lib/src/providers/series_provider.dart:26:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + endpoint);
                         ^^^
lib/src/providers/series_provider.dart:46:28: Error: Method not found: 'get'.
        final resp = await http.get(_url + 'series?page=$_currentPage');
                           ^^^
lib/src/providers/series_provider.dart:94:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'series/show/' + id);
                         ^^^
lib/src/helpers/network.dart:9:13: Error: Method not found: 'get'.
      await http.get(Api.url + 'status');
            ^^^
lib/src/widgets/custom_logo_widget.dart:41:18: Error: The method 'SvgPicture' isn't defined for the class '_CustomLogoState'.
 - '_CustomLogoState' is from 'package:streamapp/src/widgets/custom_logo_widget.dart' ('lib/src/widgets/custom_logo_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SvgPicture'.
          return SvgPicture(
                 ^^^^^^^^^^
lib/src/widgets/custom_logo_widget.dart:42:13: Error: The method 'AdvancedNetworkSvg' isn't defined for the class '_CustomLogoState'.
 - '_CustomLogoState' is from 'package:streamapp/src/widgets/custom_logo_widget.dart' ('lib/src/widgets/custom_logo_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkSvg'.
            AdvancedNetworkSvg(
            ^^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_logo_widget.dart:43:41: Error: The getter 'SvgPicture' isn't defined for the class '_CustomLogoState'.
 - '_CustomLogoState' is from 'package:streamapp/src/widgets/custom_logo_widget.dart' ('lib/src/widgets/custom_logo_widget.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'SvgPicture'.
                Api.url + 'image/logo', SvgPicture.svgByteDecoder,
                                        ^^^^^^^^^^
lib/src/widgets/custom_logo_widget.dart:49:20: Error: The method 'AdvancedNetworkImage' isn't defined for the class '_CustomLogoState'.
 - '_CustomLogoState' is from 'package:streamapp/src/widgets/custom_logo_widget.dart' ('lib/src/widgets/custom_logo_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
            image: AdvancedNetworkImage(Api.url + 'image/logo',
                   ^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/search.dart:139:38: Error: The method 'TransitionToImage' isn't defined for the class 'Search'.
 - 'Search' is from 'package:streamapp/src/helpers/search.dart' ('lib/src/helpers/search.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
                              child: TransitionToImage(
                                     ^^^^^^^^^^^^^^^^^
lib/src/helpers/search.dart:140:40: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'Search'.
 - 'Search' is from 'package:streamapp/src/helpers/search.dart' ('lib/src/helpers/search.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                                image: AdvancedNetworkImage(
                                       ^^^^^^^^^^^^^^^^^^^^
lib/src/views/browser_view.dart:89:18: Error: The method 'SmartRefresher' isn't defined for the class '_BrowserViewState'.
 - '_BrowserViewState' is from 'package:streamapp/src/views/browser_view.dart' ('lib/src/views/browser_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
          child: SmartRefresher(
                 ^^^^^^^^^^^^^^
lib/src/views/browser_view.dart:91:21: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_BrowserViewState'.
 - '_BrowserViewState' is from 'package:streamapp/src/views/browser_view.dart' ('lib/src/views/browser_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
            header: WaterDropMaterialHeader(),
                    ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/browser_view.dart:195:18: Error: The method 'SmartRefresher' isn't defined for the class '_BrowserViewState'.
 - '_BrowserViewState' is from 'package:streamapp/src/views/browser_view.dart' ('lib/src/views/browser_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
          child: SmartRefresher(
                 ^^^^^^^^^^^^^^
lib/src/views/browser_view.dart:198:21: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_BrowserViewState'.
 - '_BrowserViewState' is from 'package:streamapp/src/views/browser_view.dart' ('lib/src/views/browser_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
            header: WaterDropMaterialHeader(),
                    ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/browser_view.dart:199:21: Error: The method 'ClassicFooter' isn't defined for the class '_BrowserViewState'.
 - '_BrowserViewState' is from 'package:streamapp/src/views/browser_view.dart' ('lib/src/views/browser_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ClassicFooter'.
            footer: ClassicFooter(
                    ^^^^^^^^^^^^^
lib/src/views/browser_view.dart:200:26: Error: The getter 'LoadStyle' isn't defined for the class '_BrowserViewState'.
 - '_BrowserViewState' is from 'package:streamapp/src/views/browser_view.dart' ('lib/src/views/browser_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LoadStyle'.
              loadStyle: LoadStyle.ShowWhenLoading,
                         ^^^^^^^^^
lib/src/views/kids_view.dart:90:20: Error: The method 'SmartRefresher' isn't defined for the class '_KidsViewState'.
 - '_KidsViewState' is from 'package:streamapp/src/views/kids_view.dart' ('lib/src/views/kids_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
            child: SmartRefresher(
                   ^^^^^^^^^^^^^^
lib/src/views/kids_view.dart:93:23: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_KidsViewState'.
 - '_KidsViewState' is from 'package:streamapp/src/views/kids_view.dart' ('lib/src/views/kids_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
              header: WaterDropMaterialHeader(),
                      ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/kids_view.dart:94:23: Error: The method 'ClassicFooter' isn't defined for the class '_KidsViewState'.
 - '_KidsViewState' is from 'package:streamapp/src/views/kids_view.dart' ('lib/src/views/kids_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ClassicFooter'.
              footer: ClassicFooter(
                      ^^^^^^^^^^^^^
lib/src/views/kids_view.dart:95:28: Error: The getter 'LoadStyle' isn't defined for the class '_KidsViewState'.
 - '_KidsViewState' is from 'package:streamapp/src/views/kids_view.dart' ('lib/src/views/kids_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LoadStyle'.
                loadStyle: LoadStyle.ShowWhenLoading,
                           ^^^^^^^^^
lib/src/views/index_view.dart:48:12: Error: The method 'SmartRefresher' isn't defined for the class '_IndexViewState'.
 - '_IndexViewState' is from 'package:streamapp/src/views/index_view.dart' ('lib/src/views/index_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
    return SmartRefresher(
           ^^^^^^^^^^^^^^
lib/src/views/index_view.dart:50:15: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_IndexViewState'.
 - '_IndexViewState' is from 'package:streamapp/src/views/index_view.dart' ('lib/src/views/index_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
      header: WaterDropMaterialHeader(),
              ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/livetv_view.dart:91:20: Error: The method 'SmartRefresher' isn't defined for the class '_LivetvViewState'.
 - '_LivetvViewState' is from 'package:streamapp/src/views/livetv_view.dart' ('lib/src/views/livetv_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
            child: SmartRefresher(
                   ^^^^^^^^^^^^^^
lib/src/views/livetv_view.dart:94:23: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_LivetvViewState'.
 - '_LivetvViewState' is from 'package:streamapp/src/views/livetv_view.dart' ('lib/src/views/livetv_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
              header: WaterDropMaterialHeader(),
                      ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/livetv_view.dart:95:23: Error: The method 'ClassicFooter' isn't defined for the class '_LivetvViewState'.
 - '_LivetvViewState' is from 'package:streamapp/src/views/livetv_view.dart' ('lib/src/views/livetv_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ClassicFooter'.
              footer: ClassicFooter(
                      ^^^^^^^^^^^^^
lib/src/views/livetv_view.dart:96:28: Error: The getter 'LoadStyle' isn't defined for the class '_LivetvViewState'.
 - '_LivetvViewState' is from 'package:streamapp/src/views/livetv_view.dart' ('lib/src/views/livetv_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LoadStyle'.
                loadStyle: LoadStyle.ShowWhenLoading,
                           ^^^^^^^^^
lib/src/views/movies_view.dart:91:20: Error: The method 'SmartRefresher' isn't defined for the class '_MoviesViewState'.
 - '_MoviesViewState' is from 'package:streamapp/src/views/movies_view.dart' ('lib/src/views/movies_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
            child: SmartRefresher(
                   ^^^^^^^^^^^^^^
lib/src/views/movies_view.dart:94:23: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_MoviesViewState'.
 - '_MoviesViewState' is from 'package:streamapp/src/views/movies_view.dart' ('lib/src/views/movies_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
              header: WaterDropMaterialHeader(),
                      ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/movies_view.dart:95:23: Error: The method 'ClassicFooter' isn't defined for the class '_MoviesViewState'.
 - '_MoviesViewState' is from 'package:streamapp/src/views/movies_view.dart' ('lib/src/views/movies_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ClassicFooter'.
              footer: ClassicFooter(
                      ^^^^^^^^^^^^^
lib/src/views/movies_view.dart:96:28: Error: The getter 'LoadStyle' isn't defined for the class '_MoviesViewState'.
 - '_MoviesViewState' is from 'package:streamapp/src/views/movies_view.dart' ('lib/src/views/movies_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LoadStyle'.
                loadStyle: LoadStyle.ShowWhenLoading,
                           ^^^^^^^^^
lib/src/views/series_view.dart:90:20: Error: The method 'SmartRefresher' isn't defined for the class '_SeriesViewState'.
 - '_SeriesViewState' is from 'package:streamapp/src/views/series_view.dart' ('lib/src/views/series_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SmartRefresher'.
            child: SmartRefresher(
                   ^^^^^^^^^^^^^^
lib/src/views/series_view.dart:93:23: Error: The method 'WaterDropMaterialHeader' isn't defined for the class '_SeriesViewState'.
 - '_SeriesViewState' is from 'package:streamapp/src/views/series_view.dart' ('lib/src/views/series_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WaterDropMaterialHeader'.
              header: WaterDropMaterialHeader(),
                      ^^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/series_view.dart:94:23: Error: The method 'ClassicFooter' isn't defined for the class '_SeriesViewState'.
 - '_SeriesViewState' is from 'package:streamapp/src/views/series_view.dart' ('lib/src/views/series_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ClassicFooter'.
              footer: ClassicFooter(
                      ^^^^^^^^^^^^^
lib/src/views/series_view.dart:95:28: Error: The getter 'LoadStyle' isn't defined for the class '_SeriesViewState'.
 - '_SeriesViewState' is from 'package:streamapp/src/views/series_view.dart' ('lib/src/views/series_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LoadStyle'.
                loadStyle: LoadStyle.ShowWhenLoading,
                           ^^^^^^^^^
lib/src/views/video_view.dart:20:3: Error: 'VideoPlayerController' isn't a type.
  VideoPlayerController _videoPlayerController;
  ^^^^^^^^^^^^^^^^^^^^^
lib/src/views/video_view.dart:30:10: Error: Getter not found: 'Screen'.
    wake.Screen.keepOn(true);
         ^^^^^^
lib/src/views/video_view.dart:39:32: Error: The getter 'VideoPlayerController' isn't defined for the class '_VideoViewState'.
 - '_VideoViewState' is from 'package:streamapp/src/views/video_view.dart' ('lib/src/views/video_view.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'VideoPlayerController'.
      _videoPlayerController = VideoPlayerController.network(widget.link);
                               ^^^^^^^^^^^^^^^^^^^^^
lib/src/views/video_view.dart:65:26: Error: The method 'VideoPlayer' isn't defined for the class '_VideoViewState'.
 - '_VideoViewState' is from 'package:streamapp/src/views/video_view.dart' ('lib/src/views/video_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'VideoPlayer'.
                  child: VideoPlayer(_videoPlayerController),
                         ^^^^^^^^^^^
lib/src/views/video_view.dart:106:30: Error: The method 'VideoProgressIndicator' isn't defined for the class '_VideoViewState'.
 - '_VideoViewState' is from 'package:streamapp/src/views/video_view.dart' ('lib/src/views/video_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'VideoProgressIndicator'.
                      child: VideoProgressIndicator(
                             ^^^^^^^^^^^^^^^^^^^^^^
lib/src/views/video_view.dart:110:33: Error: The method 'VideoProgressColors' isn't defined for the class '_VideoViewState'.
 - '_VideoViewState' is from 'package:streamapp/src/views/video_view.dart' ('lib/src/views/video_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'VideoProgressColors'.
                        colors: VideoProgressColors(
                                ^^^^^^^^^^^^^^^^^^^
lib/src/views/video_view.dart:148:14: Error: The method 'WebviewScaffold' isn't defined for the class '_VideoViewState'.
 - '_VideoViewState' is from 'package:streamapp/src/views/video_view.dart' ('lib/src/views/video_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WebviewScaffold'.
      return WebviewScaffold(
             ^^^^^^^^^^^^^^^
lib/src/views/video_view.dart:164:10: Error: Getter not found: 'Screen'.
    wake.Screen.keepOn(false);
         ^^^^^^
lib/src/widgets/custom_sliver_appbar_widget.dart:19:31: Error: The getter 'Provider' isn't defined for the class 'CustomSliverAppBar'.
 - 'CustomSliverAppBar' is from 'package:streamapp/src/widgets/custom_sliver_appbar_widget.dart' ('lib/src/widgets/custom_sliver_appbar_widget.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Provider'.
    final Settings settings = Provider.of<Settings>(context);
                              ^^^^^^^^
lib/src/widgets/custom_sliver_appbar_widget.dart:31:13: Error: The getter 'Share' isn't defined for the class 'CustomSliverAppBar'.
 - 'CustomSliverAppBar' is from 'package:streamapp/src/widgets/custom_sliver_appbar_widget.dart' ('lib/src/widgets/custom_sliver_appbar_widget.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Share'.
            Share.share(Shares.all(context, title: title));
            ^^^^^
lib/src/widgets/custom_sliver_appbar_widget.dart:51:15: Error: The method 'TransitionToImage' isn't defined for the class 'CustomSliverAppBar'.
 - 'CustomSliverAppBar' is from 'package:streamapp/src/widgets/custom_sliver_appbar_widget.dart' ('lib/src/widgets/custom_sliver_appbar_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
              TransitionToImage(
              ^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_sliver_appbar_widget.dart:52:24: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'CustomSliverAppBar'.
 - 'CustomSliverAppBar' is from 'package:streamapp/src/widgets/custom_sliver_appbar_widget.dart' ('lib/src/widgets/custom_sliver_appbar_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                image: AdvancedNetworkImage(image, useDiskCache: true),
                       ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_poster.dart:31:14: Error: The method 'TransitionToImage' isn't defined for the class 'CustomPoster'.
 - 'CustomPoster' is from 'package:streamapp/src/widgets/custom_poster.dart' ('lib/src/widgets/custom_poster.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
      child: TransitionToImage(
             ^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_poster.dart:32:16: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'CustomPoster'.
 - 'CustomPoster' is from 'package:streamapp/src/widgets/custom_poster.dart' ('lib/src/widgets/custom_poster.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
        image: AdvancedNetworkImage(image, useDiskCache: true),
               ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/material_poster_widget.dart:24:31: Error: The getter 'Provider' isn't defined for the class 'MaterialPoster'.
 - 'MaterialPoster' is from 'package:streamapp/src/widgets/material_poster_widget.dart' ('lib/src/widgets/material_poster_widget.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Provider'.
    final Settings settings = Provider.of<Settings>(context);
                              ^^^^^^^^
lib/src/widgets/material_poster_widget.dart:74:16: Error: The method 'TransitionToImage' isn't defined for the class 'MaterialPoster'.
 - 'MaterialPoster' is from 'package:streamapp/src/widgets/material_poster_widget.dart' ('lib/src/widgets/material_poster_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
        child: TransitionToImage(
               ^^^^^^^^^^^^^^^^^
lib/src/widgets/material_poster_widget.dart:75:18: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'MaterialPoster'.
 - 'MaterialPoster' is from 'package:streamapp/src/widgets/material_poster_widget.dart' ('lib/src/widgets/material_poster_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
          image: AdvancedNetworkImage(image, useDiskCache: true),
                 ^^^^^^^^^^^^^^^^^^^^
lib/src/providers/episodes_provider.dart:14:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'series/season/' + id.toString());
                         ^^^
lib/src/providers/episodes_provider.dart:32:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'series/episode/' + id.toString());
                         ^^^
lib/src/providers/episodes_provider.dart:49:5: Error: Method not found: 'get'.
    http.get(_url + 'series/view/' + id);
    ^^^
lib/src/providers/search_provider.dart:14:26: Error: Method not found: 'get'.
      final resp = await http.get(_url + 'search/' + query);
                         ^^^
lib/src/providers/browser_provider.dart:33:28: Error: Method not found: 'get'.
        final resp = await http
                           ^^^
lib/src/providers/browser_provider.dart:36:29: Error: Method not found: 'get'.
        final resp2 = await http
                            ^^^
lib/src/providers/genres_provider.dart:12:24: Error: Method not found: 'get'.
    final resp = await http.get(_url + 'genres/list');
                       ^^^
lib/src/providers/kids_provider.dart:35:19: Error: Method not found: 'get'.
            await http.get(_url + 'series/kids?page=$_currentPageSeries');
                  ^^^
lib/src/providers/kids_provider.dart:38:19: Error: Method not found: 'get'.
            await http.get(_url + 'movies/kids?page=$_currentPageMovies');
                  ^^^
lib/src/widgets/carousel_movies_widget.dart:19:11: Error: 'SwiperController' isn't a type.
    final SwiperController _swiperController = SwiperController();
          ^^^^^^^^^^^^^^^^
lib/src/widgets/carousel_movies_widget.dart:18:31: Error: The getter 'Provider' isn't defined for the class 'CarouselMovies'.
 - 'CarouselMovies' is from 'package:streamapp/src/widgets/carousel_movies_widget.dart' ('lib/src/widgets/carousel_movies_widget.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Provider'.
    final Settings settings = Provider.of<Settings>(context);
                              ^^^^^^^^
lib/src/widgets/carousel_movies_widget.dart:19:48: Error: The method 'SwiperController' isn't defined for the class 'CarouselMovies'.
 - 'CarouselMovies' is from 'package:streamapp/src/widgets/carousel_movies_widget.dart' ('lib/src/widgets/carousel_movies_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'SwiperController'.
    final SwiperController _swiperController = SwiperController();
                                               ^^^^^^^^^^^^^^^^
lib/src/widgets/carousel_movies_widget.dart:46:18: Error: The method 'Swiper' isn't defined for the class 'CarouselMovies'.
 - 'CarouselMovies' is from 'package:streamapp/src/widgets/carousel_movies_widget.dart' ('lib/src/widgets/carousel_movies_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Swiper'.
          child: Swiper(
                 ^^^^^^
lib/src/widgets/carousel_movies_widget.dart:56:23: Error: The method 'TransitionToImage' isn't defined for the class 'CarouselMovies'.
 - 'CarouselMovies' is from 'package:streamapp/src/widgets/carousel_movies_widget.dart' ('lib/src/widgets/carousel_movies_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'TransitionToImage'.
                      TransitionToImage(
                      ^^^^^^^^^^^^^^^^^
lib/src/widgets/carousel_movies_widget.dart:60:32: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'CarouselMovies'.
 - 'CarouselMovies' is from 'package:streamapp/src/widgets/carousel_movies_widget.dart' ('lib/src/widgets/carousel_movies_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                        image: AdvancedNetworkImage(
                               ^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/shares.dart:7:31: Error: Getter not found: 'Provider'.
    final Settings settings = Provider.of<Settings>(context);
                              ^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\fuldr\Downloads\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Users\fuldr\Downloads\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 19m 18s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                       9,9s
Gradle task assembleRelease failed with exit code 1

I using StreamApp Template purchased on the EnvatoMarket, How I fix it?

@iapicca
Copy link
Contributor
iapicca commented Jun 17, 2020

Hi @fabiomalinconi
Can you please provide your flutter doctor -v,
your flutter build apk --verbose
and your pubspec.yaml.
Thank you

@iapicca iapicca added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Jun 17, 2020
@fabiomalinconi
Copy link
Author
fabiomalinconi commented Jun 18, 2020

I reinstalled everything and Android Studio gives me a different message...

flutter build apk --release:

logs
Running "flutter pub get" in flutter...                            22,2s
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split

Compiler message:
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/src/provider/flutter_advanced_networkimage.dart:143:24: Error: The method 'AdvancedNetworkImage.load' has fewer p
ositional arguments than those of overridden method 'ImageProvider.load'.
  ImageStreamCompleter load(AdvancedNetworkImage key) {
                       ^
../../../flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
  ImageStreamCompleter load(T key, DecoderCallback decode);
                       ^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
  PictureStream();
  ^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
abstract class PictureStreamCompleter extends Diagnosticable {
               ^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\fuldr\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Users\fuldr\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 40s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      54,1s
Gradle task assembleRelease failed with exit code 1

flutter doctor -v:

doctor
[√] Flutter (Channel stable, v1.17.3, on Microsoft Windows [Versione 10.0.19041.329], locale it-IT)
    • Flutter version 1.17.3 at C:\Users\fuldr\flutter
    • Framework revision b041144f83 (13 days ago), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4


[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at C:\Users\fuldr\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

flutter build apk --verbose:

logs
[  +17 ms] executing: [C:\Users\fuldr\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +39 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b041144f833e05cf463b8887fa12efdec9493488
[        ] executing: [C:\Users\fuldr\flutter/] git tag --contains HEAD
[ +148 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.17.3
[   +6 ms] executing: [C:\Users\fuldr\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\fuldr\flutter/] git ls-remote --get-url origin
[  +20 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +71 ms] executing: [C:\Users\fuldr\flutter/] git rev-parse --abbrev-ref HEAD
[  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +26 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +23 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[  +93 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[  +42 ms] Found plugin admob_flutter at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\admob_flutter-0.3.1\
[  +49 ms] Found plugin firebase_admob at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_admob-0.9.0+7\
[   +2 ms] Found plugin firebase_analytics at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_analytics-5.0.2\
[   +2 ms] Found plugin firebase_messaging at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_messaging-5.1.5\
[  +39 ms] Found plugin flutter_webview_plugin at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_webview_plugin-0.3.7\
[  +40 ms] Found plugin path_provider at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.3.0\
[  +29 ms] Found plugin screen at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\screen-0.0.5\
[   +6 ms] Found plugin share at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\share-0.6.2+1\
[   +5 ms] Found plugin shared_preferences at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.3+4\
[  +50 ms] Found plugin video_player at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\video_player-0.10.2+1\
[  +50 ms] Found plugin admob_flutter at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\admob_flutter-0.3.1\
[   +7 ms] Found plugin firebase_admob at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_admob-0.9.0+7\
[   +1 ms] Found plugin firebase_analytics at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_analytics-5.0.2\
[   +2 ms] Found plugin firebase_messaging at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\firebase_messaging-5.1.5\
[   +7 ms] Found plugin flutter_webview_plugin at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_webview_plugin-0.3.7\
[   +7 ms] Found plugin path_provider at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.3.0\
[  +24 ms] Found plugin screen at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\screen-0.0.5\
[   +2 ms] Found plugin share at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\share-0.6.2+1\
[   +1 ms] Found plugin shared_preferences at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.3+4\
[   +7 ms] Found plugin video_player at C:\Users\fuldr\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\video_player-0.10.2+1\
[  +71 ms] Generating C:\Users\fuldr\Desktop\Fuldrex\flutter\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +42 ms] You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
[        ] If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
[        ]     To generate an app bundle, run:
[        ]         flutter build appbundle --target-platform android-arm,android-arm64,android-x64
[        ]         Learn more on: https://developer.android.com/guide/app-bundle
[        ]     To split the APKs per ABI, run:
[        ]         flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
[        ]         Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
[  +17 ms] Running Gradle task 'assembleRelease'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +3 ms] Using gradle from C:\Users\fuldr\Desktop\Fuldrex\flutter\android\gradlew.bat.
[   +1 ms] C:\Users\fuldr\Desktop\Fuldrex\flutter\android\gradlew.bat mode: 33279 rwxrwxrwx.
[   +6 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +75 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +4 ms] executing: [C:\Users\fuldr\Desktop\Fuldrex\flutter\android/] C:\Users\fuldr\Desktop\Fuldrex\flutter\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64
-Ptarget=lib\main.dart -Ptrack-widget-creation=true -Pshrink=true assembleRelease
[+2034 ms] > Task :admob_flutter:preBuild UP-TO-DATE
[        ] > Task :admob_flutter:preReleaseBuild UP-TO-DATE
[        ] > Task :admob_flutter:compileReleaseAidl NO-SOURCE
[  +84 ms] > Task :admob_flutter:checkReleaseManifest UP-TO-DATE
[   +1 ms] > Task :admob_flutter:compileReleaseRenderscript NO-SOURCE
[        ] > Task :admob_flutter:generateReleaseBuildConfig UP-TO-DATE
[   +5 ms] > Task :admob_flutter:generateReleaseResValues UP-TO-DATE
[        ] > Task :admob_flutter:generateReleaseResources UP-TO-DATE
[        ] > Task :admob_flutter:processReleaseManifest UP-TO-DATE
[        ] > Task :admob_flutter:packageReleaseResources UP-TO-DATE
[        ] > Task :admob_flutter:generateReleaseRFile UP-TO-DATE
[        ] > Task :admob_flutter:compileReleaseKotlin UP-TO-DATE
[   +1 ms] > Task :admob_flutter:prepareLintJar UP-TO-DATE
[        ] > Task :admob_flutter:generateReleaseSources UP-TO-DATE
[   +1 ms] > Task :admob_flutter:javaPreCompileRelease UP-TO-DATE
[        ] > Task :admob_flutter:compileReleaseJavaWithJavac UP-TO-DATE
[        ] > Task :admob_flutter:extractReleaseAnnotations UP-TO-DATE
[        ] > Task :admob_flutter:mergeReleaseConsumerProguardFiles UP-TO-DATE
[        ] > Task :admob_flutter:mergeReleaseShaders UP-TO-DATE
[        ] > Task :admob_flutter:compileReleaseShaders UP-TO-DATE
[        ] > Task :admob_flutter:generateReleaseAssets UP-TO-DATE
[        ] > Task :admob_flutter:packageReleaseAssets UP-TO-DATE
[        ] > Task :admob_flutter:packageReleaseRenderscript NO-SOURCE
[        ] > Task :admob_flutter:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :admob_flutter:processReleaseJavaRes NO-SOURCE
[        ] > Task :admob_flutter:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
[        ] > Task :admob_flutter:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
[        ] > Task :admob_flutter:mergeReleaseJniLibFolders UP-TO-DATE
[        ] > Task :admob_flutter:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
[        ] > Task :admob_flutter:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
[        ] > Task :admob_flutter:bundleReleaseAar UP-TO-DATE
[        ] > Task :admob_flutter:compileReleaseSources UP-TO-DATE
[  +59 ms] > Task :admob_flutter:mergeReleaseResources UP-TO-DATE
[        ] > Task :admob_flutter:verifyReleaseResources UP-TO-DATE
[        ] > Task :admob_flutter:assembleRelease UP-TO-DATE
[        ] > Task :admob_flutter:bundleLibCompileRelease UP-TO-DATE
[+4699 ms] > Task :app:compileFlutterBuildRelease
[   +3 ms] [  +15 ms] executing: [C:\Users\fuldr\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +38 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] b041144f833e05cf463b8887fa12efdec9493488
[        ] [        ] executing: [C:\Users\fuldr\flutter/] git tag --contains HEAD
[        ] [ +150 ms] Exit code 0 from: git tag --contains HEAD
[        ] [        ] 1.17.3
[        ] [   +6 ms] executing: [C:\Users\fuldr\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [C:\Users\fuldr\flutter/] git ls-remote --get-url origin
[        ] [  +19 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +69 ms] executing: [C:\Users\fuldr\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +21 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +25 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +8 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +3 ms] [   +3 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +6 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +65 ms] Initializing file store
[        ] [   +3 ms] Done initializing file store
[        ] [+1379 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[        ] [  +11 ms] C:\Users\fuldr\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\fuldr\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\fuldr\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product/ --target=flutter -Ddart.developer.causal_async_stacks=false -Ddart.vm.profile=false -Ddart.vm.product=true
--bytecode-options=source-positions --aot --tfa --packages C:\Users\fuldr\Desktop\Fuldrex\flutter\.packages --output-dill
C:\Users\fuldr\Desktop\Fuldrex\flutter\.dart_tool\flutter_build\bb535099c746b9ab4702c943460e4aea\app.dill --depfile
C:\Users\fuldr\Desktop\Fuldrex\flutter\.dart_tool\flutter_build\bb535099c746b9ab4702c943460e4aea\kernel_snapshot.d package:streamapp/main.dart
[   +5 ms] [+1513 ms] 
[   +2 ms]            Compiler message:
[        ] [   +1 ms] ../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/src/provider/flutter_advanced_networkimage.dart:143:24: Error: The method
'AdvancedNetworkImage.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
[        ] [        ]   ImageStreamCompleter load(AdvancedNetworkImage key) {
[        ] [        ]                        ^
[        ] [        ] ../../../flutter/packages/flutter/lib/src/painting/image_provider.dart:574:24: Context: This is the overridden method ('load').
[        ] [        ]   ImageStreamCompleter load(T key, DecoderCallback decode);
[        ] [        ]                        ^
[+1543 ms] [+2463 ms] ../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes
no arguments.
[   +1 ms] [        ]   PictureStream();
[   +1 ms] [        ]   ^^^^^^^^^^^^^
[ +315 ms] [ +348 ms] ../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that
takes no arguments.
[   +2 ms] [        ] abstract class PictureStreamCompleter extends Diagnosticable {
[        ] [        ]                ^
[+1891 ms] [+1835 ms] Persisting file store
[        ] [  +15 ms] Done persisting file store
[        ] [   +6 ms] "flutter assemble" took 7.471ms.
[        ] [   +1 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[        ] build failed.
[        ] #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
[   +4 ms] #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:202:7)
[        ] #2      _rootRunUnary (dart:async/zone.dart:1192:38)
[   +1 ms] #3      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[   +1 ms] #4      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[   +1 ms] #5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[   +1 ms] #6      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[   +2 ms] #7      Future._completeWithValue (dart:async/future_impl.dart:526:5)
[   +2 ms] #8      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[        ] #9      _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
[   +1 ms] #10     BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #13     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[   +1 ms] #14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #15     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #16     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #17     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[        ] #18     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
[        ] #19     _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart)
[        ] #20     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #21     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #22     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #23     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #24     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #25     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #26     Future.wait.<anonymous closure> (dart:async/future.dart:402:22)
[        ] #27     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #28     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #29     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #30     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #31     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #32     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #33     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[        ] #34     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
[        ] #35     _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart)
[        ] #36     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #37     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #38     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #39     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #40     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #41     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #42     Future.wait.<anonymous closure> (dart:async/future.dart:402:22)
[        ] #43     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #44     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #45     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #46     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[   +2 ms] #47     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #48     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #49     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[        ] #50     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
[        ] #51     _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart)
[        ] #52     _rootRunUnary (dart:async/zone.dart:1192:38)
[   +1 ms] #53     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[  +98 ms] #54     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[   +1 ms] #55     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #56     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #57     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #58     Future.wait.<anonymous closure> (dart:async/future.dart:402:22)
[        ] #59     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #60     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #61     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #62     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #63     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #64     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #65     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[        ] #66     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
[        ] #67     _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart)
[        ] #68     _asyncErrorWrapperHelper.errorCallback (dart:async-patch/async_patch.dart:86:61)
[        ] #69     _rootRunBinary (dart:async/zone.dart:1204:38)
[        ] #70     _CustomZone.runBinary (dart:async/zone.dart:1093:19)
[        ] #71     _FutureListener.handleError (dart:async/future_impl.dart:155:20)
[        ] #72     Future._propagateToListeners.handleError (dart:async/future_impl.dart:694:47)
[   +1 ms] #73     Future._propagateToListeners (dart:async/future_impl.dart:715:24)
[        ] #74     Future._completeError (dart:async/future_impl.dart:534:5)
[        ] #75     _AsyncAwaitCompleter.completeError (dart:async-patch/async_patch.dart:43:15)
[        ] #76     KernelSnapshot.build (package:flutter_tools/src/build_system/targets/dart.dart)
[        ] #77     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #78     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #79     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #80     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #81     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #82     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #83     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[        ] #84     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
[        ] #85     KernelCompiler.compile (package:flutter_tools/src/compile.dart)
[        ] #86     _rootRunUnary (dart:async/zone.dart:1192:38)
[        ] #87     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
[        ] #88     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
[        ] #89     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
[        ] #90     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
[        ] #91     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[        ] #92     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
[        ] #93     _rootRun (dart:async/zone.dart:1184:13)
[        ] #94     _CustomZone.run (dart:async/zone.dart:1077:19)
[        ] #95     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
[        ] #96     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
[        ] #97     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
[        ] #98     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
[        ] #99     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
[        ] #100    _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
[        ] FAILURE: Build failed with an exception.
[   +1 ms] * Where:
[        ] Script 'C:\Users\fuldr\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildRelease'.
[   +1 ms] > Process 'command 'C:\Users\fuldr\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[   +1 ms] * Try:
[   +3 ms] 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.
[   +5 ms] * Get more help at https://help.gradle.org
[  +15 ms] BUILD FAILED in 11s
[   +1 ms] > Task :app:compileFlutterBuildRelease FAILED
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 26 actionable tasks: 1 executed, 25 up-to-date
[ +930 ms] Running Gradle task 'assembleRelease'... (completed in 11,9s)
[   +5 ms] "flutter apk" took 12.250ms.
Gradle task assembleRelease failed with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      buildGradleApp (package:flutter_tools/src/android/gradle.dart:407:7)
#2      _rootRunUnary (dart:async/zone.dart:1192:38)
#3      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#4      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#6      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#7      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#8      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#9      _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#10     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#11     _rootRunUnary (dart:async/zone.dart:1192:38)
#12     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#13     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#15     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#16     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#17     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#18     _rootRun (dart:async/zone.dart:1184:13)
#19     _CustomZone.run (dart:async/zone.dart:1077:19)
#20     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#21     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#24     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

My file pubspec.yaml:

logs
name: streamapp
description: A new Flutter project.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.3.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  firebase_analytics: ^5.0.2
  firebase_messaging: ^5.1.5
  firebase_admob: ^0.9.0+7
  admob_flutter: ^0.3.1
  provider: ^3.1.0
  http: ^0.12.0+2
  share: ^0.6.2+1
  shared_preferences: ^0.5.3+4
  flutter_svg: ^0.13.0
  flutter_swiper: ^1.1.6
  flutter_webview_plugin: ^0.3.7
  flutter_advanced_networkimage: ^0.5.0
  pull_to_refresh: ^1.5.6
  video_player: ^0.10.2+1
  screen: ^0.0.5

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_launcher_icons: ^0.7.3

flutter_icons:
  android: "ic_launcher" 
  ios: true
  image_path: "assets/icon/icon.png"

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
   - assets/img/
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 18, 2020
@TahaTesser
Copy link
Member

Hi @fabiomalinconi
Pease remove flutter_advanced_networkimage package and try building apk again

Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 18, 2020
@fabiomalinconi
Copy link
Author
fabiomalinconi commented Jun 18, 2020

flutter build apk --release:

logs
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split

Compiler message:
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/provider.dart:4:1: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_ad
vanced_networkimage-0.5.0/lib/src/provider/flutter_advanced_networkimage.dart': Impossibile trovare il file specificato.

export 'package:flutter_advanced_networkimage/src/provider/flutter_advanced_networkimage.dart';
^
lib/src/views/livetv_detail_view.dart:68:24: Error: The method 'AdvancedNetworkImage' isn't defined for the class '_LivetvDetailState'.
 - '_LivetvDetailState' is from 'package:streamapp/src/views/livetv_detail_view.dart' ('lib/src/views/livetv_detail_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                image: AdvancedNetworkImage(livetv.getPoster(),
                       ^^^^^^^^^^^^^^^^^^^^
lib/src/views/serie_detail_view.dart:246:28: Error: The method 'AdvancedNetworkImage' isn't defined for the class '_SerieDetailState'.
 - '_SerieDetailState' is from 'package:streamapp/src/views/serie_detail_view.dart' ('lib/src/views/serie_detail_view.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                    image: AdvancedNetworkImage(episodes[i].getStill(),
                           ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_logo_widget.dart:49:20: Error: The method 'AdvancedNetworkImage' isn't defined for the class '_CustomLogoState'.
 - '_CustomLogoState' is from 'package:streamapp/src/widgets/custom_logo_widget.dart' ('lib/src/widgets/custom_logo_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
            image: AdvancedNetworkImage(Api.url + 'image/logo',
                   ^^^^^^^^^^^^^^^^^^^^
lib/src/helpers/search.dart:140:40: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'Search'.
 - 'Search' is from 'package:streamapp/src/helpers/search.dart' ('lib/src/helpers/search.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                                image: AdvancedNetworkImage(
                                       ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_sliver_appbar_widget.dart:52:24: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'CustomSliverAppBar'.
 - 'CustomSliverAppBar' is from 'package:streamapp/src/widgets/custom_sliver_appbar_widget.dart' ('lib/src/widgets/custom_sliver_appbar_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                image: AdvancedNetworkImage(image, useDiskCache: true),
                       ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/custom_poster.dart:32:16: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'CustomPoster'.
 - 'CustomPoster' is from 'package:streamapp/src/widgets/custom_poster.dart' ('lib/src/widgets/custom_poster.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
        image: AdvancedNetworkImage(image, useDiskCache: true),
               ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/material_poster_widget.dart:75:18: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'MaterialPoster'.
 - 'MaterialPoster' is from 'package:streamapp/src/widgets/material_poster_widget.dart' ('lib/src/widgets/material_poster_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
          image: AdvancedNetworkImage(image, useDiskCache: true),
                 ^^^^^^^^^^^^^^^^^^^^
lib/src/widgets/carousel_movies_widget.dart:60:32: Error: The method 'AdvancedNetworkImage' isn't defined for the class 'CarouselMovies'.
 - 'CarouselMovies' is from 'package:streamapp/src/widgets/carousel_movies_widget.dart' ('lib/src/widgets/carousel_movies_widget.dart').
Try correcting the name to the name of an existing method, or defining a method named 'AdvancedNetworkImage'.
                        image: AdvancedNetworkImage(
                               ^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/src/transition/transition_to_image.dart:334:27: Error: 'AdvancedNetworkImage' isn't a type.
    if (_imageProvider is AdvancedNetworkImage &&
                          ^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/src/transition/transition_to_image.dart:336:41: Error: 'AdvancedNetworkImage' isn't a type.
      var callback = (_imageProvider as AdvancedNetworkImage).loadingProgress;
                                        ^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/src/transition/transition_to_image.dart:337:26: Error: 'AdvancedNetworkImage' isn't a type.
      (_imageProvider as AdvancedNetworkImage).loadingProgress =
                         ^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
  PictureStream();
  ^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
abstract class PictureStreamCompleter extends Diagnosticable {
               ^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\fuldr\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Users\fuldr\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 10s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      11,4s
Gradle task assembleRelease failed with exit code 1

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 18, 2020
@iapicca
Copy link
Contributor
iapicca commented Jun 19, 2020

Hi @fabiomalinconi
as @TahaTesser pointed out, the issue seems to be caused by the 3rd party
flutter_advanced_networkimage
I still see said plugin in use in your last logs;
could you please attempt the solution above

Also, if I understand correctly you the app from a developer
is that the case?

Finally, if this app is a purchased commercial product
I recommend to contact the developer for support
Thank you

#59828

@iapicca iapicca added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 19, 2020
@TahaTesser
Copy link
Member

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

@TahaTesser TahaTesser removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jul 10, 2020
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in triage Presently being triaged by the triage team
Projects
None yet
Development

No branches or pull requests

3 participants