当前位置:网站首页>Fluent: exception handling
Fluent: exception handling
2022-07-28 18:03:00 【Two dollars and three dollars】
Abnormal information :Gradle task assembleRelease failed with exit code 1
This message is executing the terminal command :flutter build apk pack APK when Reported that ,
reason : No configuration Android Pack and sign ;
Configure signature :
1、 stay android Create a file under the module “key.properties”, And fill in the key information .( How to create APP secret key I won't go into that , Baidu once you know )
storePassword= Your password
keyPassword= Your password
keyAlias= Your key alias
storeFile= Your key path , Such as D:/app_key.jks
2、 stay android/app/build.gradle file Configure the following information :
def keystorePropertiesFile = rootProject.file("key.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android {
... Some information is omitted here ...
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
Flutter pack APK
Okay , Then you can re execute the packaging command :> flutter build apk
The installation package is located at :build\app\outputs\apk\release\app-release.apk
边栏推荐
- Openpcd installation process record
- com.mysql.jdbc. Configuration files of driver and com.mysql.cj.jdbc.driver
- Connect other computers to local MySQL
- Tips--解决No module named matlab.engine的问题
- Jetson Nano 上安装 tensorflow2.1 和 pytorch1.4
- Prize essay solicitation | the 2022 cloud native programming challenge draft activity is open!
- 1.1-注释
- Digital filter (VI) -- design FIR filter
- OpenMV(四)--STM32实现特征检测
- Openmv (IV) -- STM32 to realize feature detection
猜你喜欢
![[advanced C language] - Advanced pointer [i]](/img/62/d3410a61b931177fc02c1801489b5a.png)
[advanced C language] - Advanced pointer [i]

Leetcode systematic question brushing (II) -- greed, backtracking, recursion

Idea error running 'application' command line is too long solution

OpenMV(二)--IDE安装与固件下载

Digital filter (VI) -- design FIR filter

Flutter:异常处理

OpenMV(六)--STM32实现物体识别与手写数字识别

横向listview的最佳实现——RecycleView

Compilation principle learning notes 1 (compilation principle overview and lexical analysis)

Uniapp local packaging permission configuration problem
随机推荐
企业微信和视频号的关联
有一种密码学专用语言叫做ASN.1
Digital filter (IV) -- converting analog filter into digital filter
MySQL and idea connection
2.2- data type
Domain name resolution problem record
Tips -- tips in SCI thesis writing
关于图片的像素、分辨率、尺寸问题的解答,以及显示器的显示大小。
Electrotechnics self study notes 1.21
Compilation principle learning notes 2 (Introduction to syntax analysis)
OpenMV(四)--STM32实现特征检测
Digital filter (III) -- Design of analog filter
分支与循环语句
Grid in pytorch_ How to use sample
通过公众号等私域渠道,为视频号直播引流
进程、线程、信号量和互斥锁
视频号从每周2-3场到每天3场
xcode打包ipa配置手动配置证书
$(document).Width() in WebView is a value
The solution to the problem that the computer cannot be charged