当前位置:网站首页>In memory of becoming the first dayu200 tripartite demo contributor
In memory of becoming the first dayu200 tripartite demo contributor
2022-07-02 15:56:00 【Hua Weiyun】
Write it down once OpenHarmony Submission code 【 order 】- Static check failed
Today, I submitted a Pr
https://gitee.com/openharmony/vendor_hihope/pulls/308
I have a problem , Just make a note by the way ,
What problem did you encounter ? You can see from the figure below
Static check failed
The above figure clearly shows that the static check failed , So do you know why ?
First of all, I also try to solve it by myself , But it turns out , Not very well , Think about the premise 5 individual Pr There is no problem , Why did you meet today ,
Let's take a look at the places I marked for you in the figure below ,
You can click report here
Show fatal error 16 individual ,
Let's click on the code question to have a look
OAT.3 License header
License Header Invalid: NoLicenseHeader
Yes, it's all such mistakes
Let's guess , basic
All are License To blame ,
So according to what I said above 16 The path pointed out by the error , Copyright information is added to the corresponding files , As shown in the figure :
For your convenience, I add my Licensed Post relevant , Just copy as needed
/* * Copyright (C) 2022 HiHope Open Source Organization . * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:// www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * * limitations under the License. */
I follow the above tips , After modifying all the files , Re trigger the access control ,
start build
As a result, the access control tools were upgraded ,satrt build Temporarily closed ; Please be there. 1h Post retry !
So I tried again an hour later
, Still failed
But when I checked the details this time, I found that there were two things left unchanged , I continue to follow the prompts to modify , Finally, the code access control passes .
The merger was successful
Finally became the first DAYUs200 The three party demo contributor
summary
When you encounter problems, you should learn to analyze the causes of the problems ,
Learn to read tips ,
Learn to find help in the community ,
Finally, you can check the code I submitted here .
https://gitee.com/openharmony/vendor_hihope/tree/master/rk3568/demo/QRCodeGenerator
边栏推荐
- HMS core machine learning service helps zaful users to shop conveniently
- Comment réaliser un graphique Nebula d'importation CSV hors ligne de niveau milliard
- 数据湖(十一):Iceberg表数据组织与查询
- 图数据库|Nebula Graph v3.1.0 性能报告
- XPT2046 四线电阻式触摸屏
- 动态规划入门一,队列的bfs(70.121.279.200)
- Pyinstaller's method of packaging pictures attached to exe
- 处理gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exitin
- /bin/ld: 找不到 -lgssapi_krb5
- 6095. Strong password checker II
猜你喜欢
Huawei ECS installs mysqlb for mysqld service failed because the control process exited with error code. See “sys
智联招聘的基于 Nebula Graph 的推荐实践分享
Introduction to Dynamic Planning II (5.647.62)
Application of visualization technology in Nebula graph
[experience cloud] how to get the metadata of experience cloud in vscode
全是精华的模电专题复习资料:基本放大电路知识点
GraphX 图计算实践之模式匹配抽取特定子图
PostgresSQL 流复制 主备切换 主库无读写宕机场景
idea 公共方法抽取快捷键
华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys
随机推荐
The task cannot be submitted after the installation of flick is completed
2303. Calculate the total tax payable
Dimension table and fact table in data warehouse
Fiddler realizes mobile packet capturing - getting started
Invalid bound statement (not found)解决方法总结
6091. 划分数组使最大差为 K
Demo of converting point cloud coordinates to world coordinates
仙人掌之歌——投石问路(2)
Song of cactus - throwing stones to ask the way (2)
《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
6096. 咒语和药水的成功对数
已知兩種遍曆序列構造二叉樹
Flink real-time data warehouse (IX): incremental synchronization of data in MySQL
Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points
The outline dimension function application of small motherboard
Teach you how to build virtual machines locally and deploy microservices
手机app通达信添加自定义公式(分时T+0)为例子讲解
/Bin/ld: cannot find -lgssapi_ krb5
Pyinstaller's method of packaging pictures attached to exe
/bin/ld: 找不到 -lxml2