我刚刚创建了我的第一个flutter包。它只有dart代码,所以它非常基础。但是,我在包中使用了一个外部依赖项。由于我不使用包之外的任何提供程序类,因此我的理解是,我不需要向应用程序添加provider包依赖项,因此我可能只将依赖项保留在我的包中。然而,当我尝试编译这个应用程序时,我得到了这个错误:
Error: Could not resolve the package 'provider' in 'package:provider/provider.dart如果我将provide
是否有可能用一个最小的Android版本来配置一个颤振应用程序,以便pub不会尝试安装需要更高android版本的依赖关系?Warning: The plugin path_provider_android requires Android SDK versionFix this issue by adding the following to /projects/sandbox/tsacdop/android
在将 SDK添加到我的项目后,当我运行该应用程序时,将得到以下错误:
One or more plugins require a higher Android SDK version.我将compileSdkVersion flutter.compileSdkVersion更新为compileSdkVersion 32 in build.gradle并运行该应用程序,然后出现以下错误] D:\MyApplicatio
但是在添加了这个包之后,我的应用程序没有运行,给了我一个例外:The plugin cloud_firestore requires a higher Androidissue by adding the following to the file C:\Users\Jaguar\Desktop\AppDevelopment\acadmt\android\app\build.gradle: defaultConfig {
minSdkVersion
我得到了“无法为设备构建预编译的应用程序”错误。我试过了该项目只是一个flutter的默认示例项目。我可以在ios模拟器上运行。它只发生在我的iPhone X(IOS15.1)上。/Runner.app'
无法为设备生成预编译应用程序。在iPhone上启动应用程序时出错。Doctor summary (to see all det