You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ example flutter run --no-sound-null-safety
Multiple devices found:
zy ph (mobile) • 00008030-000864321147802E • ios • iOS 15.4 19E241
iPhone 12 Pro Max (mobile) • AF33C3D7-D6B2-4A8A-AF46-CB391E66A2DE • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
[1]: zy ph (00008030-000864321147802E)
[2]: iPhone 12 Pro Max (AF33C3D7-D6B2-4A8A-AF46-CB391E66A2DE)
Please choose one (To quit, press "q/Q"): 1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at
https://flutter.dev/go/android-project-migration
to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:
/Users/yusael/Downloads/flutter_tencentplayer-master/example/android/app/src/main/AndroidManifest.xml uses `android:name="io.flutter.app.FutterApplication"`
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
Launching lib/main.dart on zy ph in debug mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Automatically signing iOS fordevice deployment using specified development teamin Xcode project: S287654PSW
Running pod install... 4.2s
Running Xcode build...
Xcode build done. 39.8s
Failed to build iOS app
Error output from Xcode build:
↳
2022-04-30 10:44:09.510 xcodebuild[65714:1346124] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-04-30 10:44:09.512 xcodebuild[65714:1346124] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:↳ Writing result bundle at path: /var/folders/qp/fmxlb6012z5f3bssb7f3633h0000gp/T/flutter_tools.4GqaRV/flutter_ios_build_temp_dirpJWtYJ/temporary_xcresult_bundle lib/page/file_video_page.dart:70:23: Error: A value of type 'PickedFile?' can't be assigned to a variable of type'PickedFile' because 'PickedFile?' is nullable and 'PickedFile' isn't. - 'PickedFile' is from 'package:image_picker_platform_interface/src/types/picked_file/io.dart' ('../../../.pub-cache/hosted/pub.flutter-io.cn/image_picker_platform_interface-2.4.4/lib/src/types/picked_file/io.dart'). PickedFile file = await picker.getVideo(source: ImageSource.gallery); ^ Failed to package /Users/yusael/Downloads/flutter_tencentplayer-master/example. Command PhaseScriptExecution failed with a nonzero exit code note: Using new build system note: Planning note: Build preparation complete note: Building targets in dependency order /Users/yusael/Downloads/flutter_tencentplayer-master/example/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.4.99. (in target 'TXLiteAVSDK_Player' from project 'Pods') Result bundle written to path: /var/folders/qp/fmxlb6012z5f3bssb7f3633h0000gp/T/flutter_tools.4GqaRV/flutter_ios_build_temp_dirpJWtYJ/temporary_xcresult_bundleCould not build the precompiled application for the device.Error launching application on zy ph.
The text was updated successfully, but these errors were encountered:
报错如下:
The text was updated successfully, but these errors were encountered: