引入自定义库
Include of non-modular header inside framework module
在要编译的工程的目标下将Allow Non-modular Includes In Framework Modules的No值改为Yes
Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator.
https://flutter.dev/docs/development/ios-project-migration
No Scaffold widget found.
使用showModalBottomSheet代替showBottomSheet
Android打包时出现:
Transform’s input file does not exist: /xxx/xxx/build/app/intermediates/flutter/profile/libs.jar. (See https://issuetracker.google.com/issues/158753935)
在app/build.gradle文件的lintOptions中添加如下代码
lintOptions {
checkReleaseBuilds false
}
参考链接:https://github.com/flutter/flutter/issues/58247#issuecomment-636253593