Overview of FAQs
FAQs are used to help developers solve problems frequently encountered during development. They cover a wide range of topics.
Environment Setup
Mini and Small Systems
- What should I do if garbled characters and segmentation faults occur during hb installation?
- What should I do if the message "cannot import 'sysconfig' from 'distutils'" is displayed during hb installation?
- What should I do if the message "module 'platform' has no attribute 'linux_distribution'" is displayed during hb installation?
- What should I do if the message "Could not find a version that satisfies the requirement ohos-build" is displayed during hb installation?
- What should I do when the message configure: error: no acceptable C compiler found in $PATH is displayed during Python 3 installation?
- What should I do when the message -bash: make: command not found is displayed during Python 3 installation?
- What should I do when the message zlib not available is displayed during Python 3 installation?
- What should I do when the message No module named '_ctypes' is displayed during Python 3 installation?
- What should I do when an error with lsb_release occurs during kconfiglib installation?
- What should I do if the message "ImportError: No module named apt_pkg" is displayed during the execution of an unidentifiable command?
Compilation and Building
Mini and Small Systems
- Invalid -- w Option
- Library ncurses Not Found
- mcopy not Found
- No riscv File or Directory
- No Crypto
- Unexpected Operator
- What should I do when the message Could not find a version that satisfies the requirement six>=1.9.0 is displayed during compilation and building?
- What should I do when the message cannot find -lgcc is displayed during compilation and building?
- What should I do when the message indicating Python cannot be found is displayed during compilation and building?
- What should I do when the message indicating Python 3 cannot be found is displayed during compilation and building?
Burning
Mini and Small Systems
-
"Error: Opening COMxx: Access denied" Is Displayed After a Serial Port Is Selected for Burning
-
What should I do when Windows-based PC failed to be connected to the board?
Kernel
Basic Kernel
- What are the differences between APIs provided by LiteOS-A and LiteOS-M?
- How do I analyze thread stack overflow?
File System
Chip Adaptation
- What hardware platforms are supported by the LiteOS kernel?
- What chip architectures are supported by the LiteOS kernel?
Third-party Components
- What third-party components are supported by OpenHarmony?
- What should I do if the key length verification fails when OpenSSL is used on OpenHarmony?
- Does setsockopt support SO_RCVBUF and SO_SNDBUF?
Compilation and Linking
- How do I run an application developed by ARM Linux on LiteOS-A?
- What system is used for OpenHarmony compilation? What compiler is used?
- For a third-party component that is independently compiled into a static library and used on LiteOS-M, what should I do when the component's global variable value is incorrect or the system is suspended after the component's function is called?
- What should I do if the message "use VFP register arguments, xxx.o does not" is displayed when LiteOS-A generates a target executable file?
- What should I do when calling clock_gettime obtains an incorrect time?
Porting
Startup and Recovery
- System startup interrupted due to "parse failed!" error
- System automatically restarted again and again
- Failed to call the SetParameter or GetParameter API with correct parameter values
System Services
Utils
Visual Applications
- Is there a global variable that can be accessed by all pages?
- How do I obtain DOM elements?
- How do I pass values between pages?
- How do I scroll a list to an item?
- Does the <text> component support multiple lines?
- Why is a component not displayed?
- How do I implement scrolling on a page?
- Why do not the left and top attributes take effect?
- Why does not dynamic binding take effect?
- How do I implement relative and absolute positioning?
- How do I display or hide a component?
- What are the precautions for using the margin attribute?
- What are the precautions for event subscription?
- What are the precautions for using dynamic binding?
- How does the loop attribute take effect for <swiper>?
- What are the precautions for using an array?