小编Moh*_* 21的帖子

Flutter Android Studio 错误:无法获取未知属性“keystoreProperty”

我是 flutter 新手,我正在尝试运行我的第一个项目,而不对演示应用程序的源代码进行任何更改。但我不断收到以下错误:

Launching lib\main.dart on SM A115F in release mode...
Running Gradle task 'assembleRelease'...

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\METRO\StudioProjects\helloworld\android\app\build.gradle' line: ??

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'keystoreProperties' for SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=pkcs12, v1SigningEnabled=true, v2SigningEnabled=true, enableV1Signing=null, enableV2Signing=null, enableV3Signing=null, enableV4Signing=null} of type com.android.build.gradle.internal.dsl.SigningConfig.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get …
Run Code Online (Sandbox Code Playgroud)

gradle android-keystore android-studio flutter

11
推荐指数
2
解决办法
2万
查看次数