小编Aay*_*rai的帖子

没有这样的模块“Flutter”

我已经在 TestFlight 中发布了我的应用程序,但它在启动时崩溃。当我查看崩溃日志时,它说 \xe2\x80\x9cNo such module \'Flutter\xe2\x80\x99\xe2\x80\x9d。我确实知道如何修复。

\n

提前致谢\n\xef\xbf\xbc\n崩溃报告

\n

ios dart flutter

35
推荐指数
5
解决办法
6万
查看次数

generatedPluginRegistrant.h:10:9: 找不到“Flutter/Flutter.h”文件

我正在尝试在 iOS 模拟器中运行我的 flutter 应用程序,但出现错误提示'Flutter/Flutter.h' file not found. 我尝试了多种解决方案,例如 pod clean 和重新安装 pod。

颤振版本:- 2.10.4 xcode 版本:- 13.3.1 (13E500a)

在此输入图像描述

在此输入图像描述

ios dart flutter

2
推荐指数
1
解决办法
5653
查看次数

Flutter 无法从存储“key.jks”读取密钥上传。密钥库格式无效

我正在尝试appbundle使用生成flutter build appbundle --release,当我运行命令时它会抛出以下错误。


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Failed to read key upload from store "/android/app/key.jks": Invalid keystore format
Run Code Online (Sandbox Code Playgroud)

为了签署应用程序,我遵循了Flutter Android 官方文档

我的app/build.gradle

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
    compileSdkVersion flutter.compileSdkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    } …
Run Code Online (Sandbox Code Playgroud)

java android gradle dart flutter

1
推荐指数
1
解决办法
2997
查看次数

标签 统计

dart ×3

flutter ×3

ios ×2

android ×1

gradle ×1

java ×1