当前位置:网站首页>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
边栏推荐
- Huawei ECS installs mysqlb for mysqld service failed because the control process exited with error code. See “sys
- 全是精华的模电专题复习资料:基本放大电路知识点
- Flink real-time data warehouse (7): Flink realizes the full pull module to extract data in MySQL
- Flink real-time data warehouse (IX): incremental synchronization of data in MySQL
- 又是一年毕业季
- HMS core machine learning service helps zaful users to shop conveniently
- Teach you how to build virtual machines locally and deploy microservices
- Wise target detection 23 - pytoch builds SSD target detection platform
- 【小白聊云】中小企业容器化改造建议
- Dimension table and fact table in data warehouse
猜你喜欢
《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
蚂蚁集团大规模图计算系统TuGraph通过国家级评测
Introduction to Dynamic Planning II (5.647.62)
PostgresSQL 流复制 主备切换 主库无读写宕机场景
已知两种遍历序列构造二叉树
Why does the system convert the temp environment variable to a short file name?
处理gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exitin
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
The sea of stars hidden behind the nebula graph
Soul torture, what is AQS???
随机推荐
What are the necessary functions of short video app development?
Floyed "suggestions collection"
6090. Minimax games
ssh/scp 使不提示 All activities are monitored and reported.
PHP static members
/Bin/ld: cannot find -lxml2
/Bin/ld: cannot find -llz4
【题解】Educational Codeforces Round 82
Fiddler实现手机抓包——入门
Pattern matching extraction of specific subgraphs in graphx graph Computing Practice
QVariant与Json的各种纠葛——Qt
Use ffmpeg command line to push UDP and RTP streams (H264 and TS), and ffplay receives
How to use percona tool to add fields to MySQL table after interruption
6096. 咒语和药水的成功对数
Wise target detection 23 - pytoch builds SSD target detection platform
Ssh/scp does not prompt all activities are monitored and reported
Aiko ai Frontier promotion (7.2)
Moveit obstacle avoidance path planning demo
Strings and arrays
The outline dimension function application of small motherboard