-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: crashStack traces logged to the consoleStack traces logged to the consolefound in release: 3.32Found to occur in 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33Found to occur in 3.33fyi-toolFor the attention of Flutter Tool teamFor the attention of Flutter Tool teamhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
Command
flutter logsSteps to Reproduce
Trying to run flutter logs from my flutter_modules directory in my repo: https://github.com/mboetger/test-add-to-app
Logs
_TypeError: (#0 AndroidApk.fromAndroidProject (package:flutter_tools/src/android/application_package.dart:122:61))
#0 AndroidApk.fromAndroidProject (package:flutter_tools/src/android/application_package.dart:122:61)
#1 FlutterApplicationPackageFactory.getPackageForPlatform (package:flutter_tools/src/flutter_application_package.dart:58:29)
#2 LogsCommand.runCommand (package:flutter_tools/src/commands/logs.dart:61:64)
<asynchronous suspension>
#3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1560:27)
<asynchronous suspension>
#4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#5 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:494:9)
<asynchronous suspension>
#7 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#8 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:429:5)
<asynchronous suspension>
#9 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:101:11)
<asynchronous suspension>
#10 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#11 main (package:flutter_tools/executable.dart:105:3)
<asynchronous suspension>�[33m[!]�[39m Flutter (Channel master, 3.33.0-1.0.pre-1154, on macOS 15.5 24F74 darwin-arm64, locale en) [2.4s]
�[32m•�[39m Flutter version 3.33.0-1.0.pre-1154 on channel master at /Users/boetger/src/flutter
�[33m!�[39m Upstream repository [email protected]:flutter/flutter.git is not the same as FLUTTER_GIT_URL
�[32m•�[39m FLUTTER_GIT_URL = [email protected]:mboetger/flutter.git
�[32m•�[39m Framework revision 7063ea19c4 (62 minutes ago), 2025-07-28 14:07:33 -0700
�[32m•�[39m Engine revision 7063ea19c4
�[32m•�[39m Dart version 3.10.0 (build 3.10.0-28.0.dev)
�[32m•�[39m DevTools version 2.48.0
�[32m•�[39m Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-swift-package-manager
�[32m•�[39m If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,724ms]
�[32m•�[39m Android SDK at /Users/boetger/Library/Android/sdk
�[32m•�[39m Emulator version 35.6.6.0 (build_id 13402334) (CL:N/A)
�[32m•�[39m Platform android-36, build-tools 36.0.0
�[32m•�[39m Java binary at: /Library/Java/JavaVirtualMachines/openjdk-17.jdk/Contents/Home/bin/java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
�[32m•�[39m Java version OpenJDK Runtime Environment Homebrew (build 17.0.15+0)
�[32m•�[39m All Android licenses accepted.
�[32m[✓]�[39m Xcode - develop for iOS and macOS (Xcode 16.3) [506ms]
�[32m•�[39m Xcode at /Applications/Xcode.app/Contents/Developer
�[32m•�[39m Build 16E140
�[32m•�[39m CocoaPods version 1.16.2
�[32m[✓]�[39m Chrome - develop for the web [2ms]
�[32m•�[39m Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
�[32m[✓]�[39m Connected device (3 available) [5.7s]
�[32m•�[39m sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36) (emulator)
�[32m•�[39m macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64
�[32m•�[39m Chrome (web) • chrome • web-javascript • Google Chrome 138.0.7204.169
�[32m[✓]�[39m Network resources [118ms]
�[32m•�[39m All expected network resources are available.
�[33m!�[39m Doctor found issues in 1 category.
Flutter Application Metadata
Type: module
Version: 1.0.0+1
Material: true
Android X: true
Module: true
Plugin: false
Android package: com.example.flutter_module
iOS bundle identifier: com.example.flutterModule
Creation channel: [user-branch]
Creation framework version: 6d9a904
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: crashStack traces logged to the consoleStack traces logged to the consolefound in release: 3.32Found to occur in 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33Found to occur in 3.33fyi-toolFor the attention of Flutter Tool teamFor the attention of Flutter Tool teamhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform teamTriaged by Android platform team