Below is the Manifest.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mycompany.refereevision"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="Referee Vision"
tools:replace="android:label"
android:icon="@mipmap/app_icon"
android:requestLegacyExternalStorage="true"
android:theme="@style/LaunchTheme">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!-- Deep linking -->
<meta-data android:name="flutter_deeplinking_enabled" android:value="true" />
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="refereevision" android:host="refereevision.com" />
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
The following errors are shown

Flutter doctor output is below
PS D:\refereevision> flutter doctor -v
[√] Flutter (Channel stable, 3.35.6, on Microsoft Windows [Version 10.0.26100.6584], locale en-IN) [259ms]
• Flutter version 3.35.6 on channel stable at D:\Softwares\flutter_windows_3.27.0-stable\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9f455d2486 (6 days ago), 2025-10-08 14:55:31 -0500
• Engine revision d2913632a4
• Dart version 3.9.2
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-lldb-debugging
[√] Windows Version (11 Home Single Language 64-bit, 24H2, 2009) [877ms]
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [2.0s]
• Android SDK at C:\Users\ajoyl\AppData\Local\Android\sdk
• Emulator version 35.5.10.0 (build_id 13402964) (CL:N/A)
• Platform android-35, build-tools 35.0.1
• Java binary at: C:\Program Files\Java\jdk-18.0.2.1\bin\java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 18.0.2.1+1-1)
• All Android licenses accepted.
[√] Chrome - develop for the web [83ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.16) [82ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.14.36518.9
• Windows 10 SDK version 10.0.26100.0
[√] Android Studio (version 2024.3.2) [11ms]
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
[√] VS Code (version 1.105.0) [9ms]
• VS Code at C:\Users\ajoyl\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.120.0
[√] Connected device (3 available) [231ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.6584]
• Chrome (web) • chrome • web-javascript • Google Chrome 141.0.7390.67
• Edge (web) • edge • web-javascript • Microsoft Edge 141.0.3537.71
[√] Network resources [412ms]
• All expected network resources are available.
• No issues found!
PS D:\refereevision>
The app was working fine till it was on API 34. Now it just hangs on the welcome screen and does not enter the homepage.
The main.dart code is as below
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_web_plugins/url_strategy.dart';
import '/flutter_flow/flutter_flow_theme.dart';
import 'flutter_flow/flutter_flow_util.dart';
import 'flutter_flow/internationalization.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
GoRouter.optionURLReflectsImperativeAPIs = true;
usePathUrlStrategy();
await FlutterFlowTheme.initialize();
runApp(MyApp());
}
class MyApp extends StatefulWidget {
// This widget is the root of your application.
@override
State<MyApp> createState() => _MyAppState();
static _MyAppState of(BuildContext context) =>
context.findAncestorStateOfType<_MyAppState>()!;
}
class MyAppScrollBehavior extends MaterialScrollBehavior {
@override
Set<PointerDeviceKind> get dragDevices => {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
};
}
class _MyAppState extends State<MyApp> {
Locale? _locale;
ThemeMode _themeMode = FlutterFlowTheme.themeMode;
late AppStateNotifier _appStateNotifier;
late GoRouter _router;
String getRoute([RouteMatch? routeMatch]) {
final RouteMatch lastMatch =
routeMatch ?? _router.routerDelegate.currentConfiguration.last;
final RouteMatchList matchList = lastMatch is ImperativeRouteMatch
? lastMatch.matches
: _router.routerDelegate.currentConfiguration;
return matchList.uri.toString();
}
List<String> getRouteStack() =>
_router.routerDelegate.currentConfiguration.matches
.map((e) => getRoute(e as RouteMatch?))
.toList();
bool displaySplashImage = true;
@override
void initState() {
super.initState();
_appStateNotifier = AppStateNotifier.instance;
_router = createRouter(_appStateNotifier);
Future.delayed(Duration(milliseconds: 3000),
() => safeSetState(() => _appStateNotifier.stopShowingSplashImage()));
}
void setLocale(String language) {
safeSetState(() => _locale = createLocale(language));
}
void setThemeMode(ThemeMode mode) => safeSetState(() {
_themeMode = mode;
FlutterFlowTheme.saveThemeMode(mode);
});
@override
Widget build(BuildContext context) {
return MaterialApp.router(
debugShowCheckedModeBanner: false,
title: 'Refereevision App',
scrollBehavior: MyAppScrollBehavior(),
localizationsDelegates: [
FFLocalizationsDelegate(),
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
FallbackMaterialLocalizationDelegate(),
FallbackCupertinoLocalizationDelegate(),
],
locale: _locale,
supportedLocales: const [
Locale('en'),
],
theme: ThemeData(
brightness: Brightness.light,
scrollbarTheme: ScrollbarThemeData(
interactive: true,
thumbColor: WidgetStateProperty.resolveWith((states) {
if (states.contains(WidgetState.dragged)) {
return Color(4294765570);
}
if (states.contains(WidgetState.hovered)) {
return Color(4294765570);
}
return Color(4294765570);
}),
),
),
darkTheme: ThemeData(
brightness: Brightness.dark,
scrollbarTheme: ScrollbarThemeData(
interactive: true,
thumbColor: WidgetStateProperty.resolveWith((states) {
if (states.contains(WidgetState.dragged)) {
return Color(4294765570);
}
if (states.contains(WidgetState.hovered)) {
return Color(4294765570);
}
return Color(4294765570);
}),
),
),
themeMode: _themeMode,
routerConfig: _router,
);
}
}
The only change I made to the main.dart was
.map((e) => getRoute(e)) to .map((e) => getRoute(e as RouteMatch?))
Since it was showing error.
On running main.dart.. it does not go beyond the below point.
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
[========= ] 25%
[========= ] 25% Fetch remote repository...
[=======================================] 100% Fetch remote repository...
√ Built build\app\outputs\flutter-apk\app-debug.apk
Installing build\app\outputs\flutter-apk\app-debug.apk...
D/FlutterJNI(12068): Beginning load of flutter...
D/FlutterJNI(12068): flutter (null) was loaded normally!
I/flutter (12068): [IMPORTANT:flutter/shell/platform/android/android_context_gl_impeller.cc(104)] Using the Impeller rendering backend (OpenGLES).
D/CompatChangeReporter(12068): Compat change id reported: 309578419; UID 10209; state: ENABLED
W/HWUI (12068): Unknown dataspace 0
Debug service listening on ws://127.0.0.1:53164/w24zJOi6pQc=/ws
Syncing files to device sdk gphone64 x86 64...
D/ProfileInstaller(12068): Installing profile for com.mycompany.refereevision
I/WindowExtensionsImpl(12068): Initializing Window Extensions, vendor API level=6, activity embedding enabled=true
W/HWUI (12068): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
W/HWUI (12068): Failed to initialize 101010-2 format, error = EGL_SUCCESS
I/Gralloc4(12068): mapper 4.x is not supported
I/y.refereevision(12068): Compiler allocated 5174KB to compile void android.view.ViewRootImpl.performTraversals()
I/y.refereevision(12068): Compiler allocated 5417KB to compile void android.view.ViewRootImpl.performTraversals()
I/Choreographer(12068): Skipped 118 frames! The application may be doing too much work on its main thread.
[GoRouter] Full paths for routes:
├─/
├─/homePage
├─/referees
├─/books
├─/videos
├─/webinars
├─/coaches
├─/vault
├─/about
├─/refereesMechanics
├─/refereesDuties
├─/refereesSignals
├─/refereesFitnesstests
├─/refereesPhysicaltraining
├─/refereesWarmupexercises
├─/refereesMentalPrep
├─/refereesFIBALic
├─/refereesAssist
├─/booksCurriculum
├─/booksRules
├─/books3X3
├─/booksScoresheet
├─/booksEquipment
├─/booksRegulations
├─/booksPresentations
├─/booksOnOffguide
├─/booksOnOffguideLifeSkills
├─/booksOnOffguideEntourage
├─/booksOnOffguideCareer
├─/booksOnOffguideMedia
├─/booksOnOffguideIntegrity
├─/booksOnOffguideFinance
├─/vaultAssist
├─/vaultMicd
├─/vaultQuiz
├─/vaultRulebooks
├─/vaultBooks
├─/vaultDocumentaries
├─/vaultArticles
├─/vaultTools
├─/vaultRulebooksRules
├─/vaultRulebooksInterp
├─/vaultRulebooksTableOff
├─/vaultRulebooksEquip
├─/vaultRulebooks3X3
├─/vaultRulebooksMechanics
├─/vaultRulebooksMisc
├─/webinarsRules
├─/webinarsFouls
├─/webinarsGameMgmt
├─/webinars3X3
├─/webinarsTableOff
├─/webinarsMechanics
├─/webinarsStatistics
├─/webinarsMisc
├─/webinarsWiO
├─/webinarsFibaMon
├─/coachesCurriculum
├─/coachesBooks
├─/coachesDrills
├─/coachesDrillsMini
├─/coachesDrills1314
├─/coachesDrills1518
├─/coachesWabc
├─/coachesFIBAEur
├─/coachesWabcGeneral
├─/coachesWabcDrills
├─/coachesWabcOffense
├─/coachesWabcDefense
├─/coachesFIBAEurMisc
├─/coachesFIBAEurGeneral
├─/coachesFIBAEurOffense
├─/coachesFIBAEurDefense
├─/videosOthers
├─/videosThrowin
├─/videosGameCtrl
├─/videosDQF
├─/videosFake
├─/videosTF
├─/videos35824
├─/videosGI
├─/videosBrtbc
├─/videosChargeBlock
├─/videosNC
├─/videosUSF
├─/videosScreening
├─/videosDribbling
├─/videosAOS
├─/videosContact
├─/videosCylinder
├─/videosTravel
├─/videos358243sec
├─/videos358248sec
├─/videos358245sec
├─/videos3582424sec
├─/videosOthersFreeThrows
├─/videosOthersJumpball
├─/videosOthersSpecial
├─/videosOthersCorrectable
├─/videosOthersMisc
├─/videosOthersIrs
├─/feedback
├─/booksWheelchair
├─/videosTblCommon
├─/videosTbl
├─/videosTblScorer
├─/videosTblAsstScr
├─/videosTblTimer
├─/videosTblSC
├─/videosTblCommProt
├─/videosAPA
├─/videosToSub
├─/videos3X3
└─/refereesIY
known full paths for route names:
_initialize => /
HomePage => /homePage
Referees => /referees
Books => /books
Videos => /videos
Webinars => /webinars
Coaches => /coaches
Vault => /vault
About => /about
Referees_Mechanics => /refereesMechanics
Referees_Duties => /refereesDuties
Referees_Signals => /refereesSignals
Referees_Fitnesstests => /refereesFitnesstests
Referees_Physicaltraining => /refereesPhysicaltraining
Referees_Warmupexercises => /refereesWarmupexercises
Referees_MentalPrep => /refereesMentalPrep
Referees_FIBALic => /refereesFIBALic
Referees_Assist => /refereesAssist
Books_Curriculum => /booksCurriculum
Books_Rules => /booksRules
Books_3X3 => /books3X3
Books_Scoresheet => /booksScoresheet
Books_Equipment => /booksEquipment
Books_Regulations => /booksRegulations
Books_Presentations => /booksPresentations
Books_OnOffguide => /booksOnOffguide
Books_OnOffguide_LifeSkills => /booksOnOffguideLifeSkills
Books_OnOffguide_Entourage => /booksOnOffguideEntourage
Books_OnOffguide_Career => /booksOnOffguideCareer
Books_OnOffguide_Media => /booksOnOffguideMedia
Books_OnOffguide_Integrity => /booksOnOffguideIntegrity
Books_OnOffguide_Finance => /booksOnOffguideFinance
Vault_Assist => /vaultAssist
Vault_Micd => /vaultMicd
Vault_Quiz => /vaultQuiz
Vault_Rulebooks => /vaultRulebooks
Vault_Books => /vaultBooks
Vault_Documentaries => /vaultDocumentaries
Vault_Articles => /vaultArticles
Vault_Tools => /vaultTools
Vault_Rulebooks_Rules => /vaultRulebooksRules
Vault_Rulebooks_Interp => /vaultRulebooksInterp
Vault_Rulebooks_TableOff => /vaultRulebooksTableOff
Vault_Rulebooks_Equip => /vaultRulebooksEquip
Vault_Rulebooks_3X3 => /vaultRulebooks3X3
Vault_Rulebooks_Mechanics => /vaultRulebooksMechanics
Vault_Rulebooks_Misc => /vaultRulebooksMisc
Webinars_Rules => /webinarsRules
Webinars_Fouls => /webinarsFouls
Webinars_GameMgmt => /webinarsGameMgmt
Webinars_3X3 => /webinars3X3
Webinars_TableOff => /webinarsTableOff
Webinars_Mechanics => /webinarsMechanics
Webinars_Statistics => /webinarsStatistics
Webinars_Misc => /webinarsMisc
Webinars_WiO => /webinarsWiO
Webinars_FibaMon => /webinarsFibaMon
Coaches_Curriculum => /coachesCurriculum
Coaches_Books => /coachesBooks
Coaches_Drills => /coachesDrills
Coaches_Drills_Mini => /coachesDrillsMini
Coaches_Drills_1314 => /coachesDrills1314
Coaches_Drills_1518 => /coachesDrills1518
Coaches_Wabc => /coachesWabc
Coaches_FIBAEur => /coachesFIBAEur
Coaches_Wabc_General => /coachesWabcGeneral
Coaches_Wabc_Drills => /coachesWabcDrills
Coaches_Wabc_Offense => /coachesWabcOffense
Coaches_Wabc_Defense => /coachesWabcDefense
Coaches_FIBAEur_Misc => /coachesFIBAEurMisc
Coaches_FIBAEur_General => /coachesFIBAEurGeneral
Coaches_FIBAEur_Offense => /coachesFIBAEurOffense
Coaches_FIBAEur_Defense => /coachesFIBAEurDefense
Videos_Others => /videosOthers
Videos_Throwin => /videosThrowin
Videos_GameCtrl => /videosGameCtrl
Videos_DQF => /videosDQF
Videos_Fake => /videosFake
Videos_TF => /videosTF
Videos_35824 => /videos35824
Videos_GI => /videosGI
Videos_Brtbc => /videosBrtbc
Videos_ChargeBlock => /videosChargeBlock
Videos_NC => /videosNC
Videos_USF => /videosUSF
Videos_Screening => /videosScreening
Videos_Dribbling => /videosDribbling
Videos_AOS => /videosAOS
Videos_Contact => /videosContact
Videos_Cylinder => /videosCylinder
Videos_Travel => /videosTravel
Videos_35824_3sec => /videos358243sec
Videos_35824_8sec => /videos358248sec
Videos_35824_5sec => /videos358245sec
Videos_35824_24sec => /videos3582424sec
Videos_Others_FreeThrows => /videosOthersFreeThrows
Videos_Others_Jumpball => /videosOthersJumpball
Videos_Others_Special => /videosOthersSpecial
Videos_Others_Correctable => /videosOthersCorrectable
Videos_Others_Misc => /videosOthersMisc
Videos_Others_Irs => /videosOthersIrs
Feedback => /feedback
Books_Wheelchair => /booksWheelchair
Videos_Tbl_Common => /videosTblCommon
Videos_Tbl => /videosTbl
Videos_Tbl_Scorer => /videosTblScorer
Videos_Tbl_AsstScr => /videosTblAsstScr
Videos_Tbl_Timer => /videosTblTimer
Videos_Tbl_SC => /videosTblSC
Videos_Tbl_CommProt => /videosTblCommProt
Videos_APA => /videosAPA
Videos_ToSub => /videosToSub
Videos_3X3 => /videos3X3
Referees_IY => /refereesIY
[GoRouter] setting initial location /
I/Choreographer(12068): Skipped 40 frames! The application may be doing too much work on its main thread.
D/EGL_emulation(12068): app_time_stats: avg=815.65ms min=18.58ms max=2214.83ms count=3