我已经在 TestFlight 中发布了我的应用程序,但它在启动时崩溃。当我查看崩溃日志时,它说 \xe2\x80\x9cNo such module \'Flutter\xe2\x80\x99\xe2\x80\x9d。我确实知道如何修复。
\n\n我正在尝试在 iOS 模拟器中运行我的 flutter 应用程序,但出现错误提示'Flutter/Flutter.h' file not found. 我尝试了多种解决方案,例如 pod clean 和重新安装 pod。
颤振版本:- 2.10.4 xcode 版本:- 13.3.1 (13E500a)
我正在尝试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)