当前位置:网站首页>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 buildAs 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
边栏推荐
- /Bin/ld: cannot find -lcrypto
- [experience cloud] how to get the metadata of experience cloud in vscode
- Comment réaliser un graphique Nebula d'importation CSV hors ligne de niveau milliard
- 《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
- Fastjson list to jsonarray and jsonarray to list "suggested collections"
- Nebula Graph & 数仓血缘关系数据的存储与读写
- What are the necessary functions of short video app development?
- Introduction to Dynamic Planning II (5.647.62)
- Use ffmpeg command line to push UDP and RTP streams (H264 and TS), and ffplay receives
- 6091. Divide the array so that the maximum difference is K
猜你喜欢

基于 Nebula Graph 构建百亿关系知识图谱实践

Xpt2046 four wire resistive touch screen
![[salesforce] how to confirm your salesforce version?](/img/ce/4c844b1b686397faa1b6aa3d57e034.png)
[salesforce] how to confirm your salesforce version?

HMS core machine learning service helps zaful users to shop conveniently

XPT2046 四线电阻式触摸屏

华为云服务器安装mysqlb for mysqld.service failed because the control process exited with error code.See “sys

Crawl the information of national colleges and universities in 1 minute and make it into a large screen for visualization!

Aiko ai Frontier promotion (7.2)

可视化技术在 Nebula Graph 中的应用
![[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)](/img/26/3f19d36c048e669c736e27384e0fa7.jpg)
[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
随机推荐
/bin/ld: 找不到 -lxslt
Invalid bound statement (not found)解决方法总结
【idea】推荐一个idea翻译插件:Translation「建议收藏」
动态规划入门二(5.647.62)
Astra: could not open "2bc5/ [email protected] /6“: Failed to set USB interface
可视化技术在 Nebula Graph 中的应用
Digital collection system development (program development) - Digital Collection 3D modeling economic model system development source code
又是一年毕业季
Introduction to Dynamic Planning II (5.647.62)
数据库系统概论第一章简答题-期末考得怎么样?
Multi data source configuration code
Idea jar package conflict troubleshooting
Moveit 避障路径规划 demo
使用 percona 工具给 MySQL 表加字段中断后该如何操作
2020.4.12 byte written test questions B DP D monotone stack
SQL FOREIGN KEY
Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
图数据库|Nebula Graph v3.1.0 性能报告
/bin/ld: 找不到 -lcrypto
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals