当前位置:网站首页>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
边栏推荐
- Leetcode--45. jumping game II (greed)
- Electrotechnics Volume II self study notes 1.23
- Analysis of Alibaba cloud Tianchi competition questions (in-depth learning) -- Reading Notes 1 -- competition question 1
- TensorFlow2.0(十二)--实现简单RNN与LSTM网络
- Branch and loop statements
- 3D point cloud processing series - ---- PCA
- 1.1- notes
- 公众号和视频号互相绑定带来的功能
- The difference between probability function p (x), probability distribution function f (x) and probability density function f (x)
- 视频关联商品销量提升88%
猜你喜欢

Digital filter (V) -- design IIR filter

【干货】如何建立支持和产品之间的密切关系?

Mmdetection3d (2) -- visualization of results and logs

TensorFlow2.0(十一)--理解LSTM网络

centos使用docker运行mysql后,远程连接需要开放端口

横向listview的最佳实现——RecycleView

数字滤波器(四)--模拟滤波器转化为数字滤波器

Encapsulation, inheritance, polymorphism

mysql5.7压缩包安装教程

Openmv (II) -- ide installation and firmware download
随机推荐
Electrotechnics self study notes 1.22
LeetCode--45. 跳跃游戏Ⅱ(贪心)
TensorFlow2.0(十一)--理解LSTM网络
Leetcode--45. jumping game II (greed)
视频号一条视频播放2.6亿
OpenMV(三)--实时获取摄像头图片
PS fast making full screen watermark
Openmv (I) -- basic introduction and hardware architecture
【干货】如何建立支持和产品之间的密切关系?
Internal class, common class
如何简简单单地自己动手磨刀
[unity FPS] tutorial | using unity to make a first person character controller
OpenMV(五)--STM32实现人脸识别
3.2- random numbers
The solution to the problem that the computer cannot be charged
Digital filter (I) -- basic structure and matlab implementation of IIR and fir
公众号和视频号互相绑定带来的功能
视频号直播支持商品回放
Digital filter (II) -- minimum phase delay system and all pass system
TensorFlow2.0(十二)--实现简单RNN与LSTM网络