Flutter 编译异常问题收集

 

目录

异常1: applicationName  is provided

问题描述

原因分析:

解决方案:


异常1: applicationName  is provided

问题描述

Attribute application@name at AndroidManifest.xml:10:9-42 requires a placeholder substitution but no value for is provided


原因分析:

manifestPlaceholders设置格式异常


解决方案:

Attribute application@name at AndroidManifest.xml:10:9-42 requires a placeholder substitution but no value for is provided. · Issue #98316 · flutter/flutter · GitHubI cannot run my app because of this error. [✓] Flutter (Channel dev, 2.3.0-24.0.pre, on macOS 11.1 20C69 darwin-arm, locale en-PH) • Flutter version 2.3.0-24.0.pre at /Applications/Development/flutter • Upstream repository https://github...https://github.com/flutter/flutter/issues/98316

defaultConfig {
        // ...
        manifestPlaceholders = [
                'appAuthRedirectScheme': 'xxxxxx'
        ]
}

to

defaultConfig {
        // ...
        manifestPlaceholders['appAuthRedirectScheme'] = "'xxxxxx"
}

你可能感兴趣的:(android)