Runtime Error Resolution
 Updated: 2025/10/10
 Read Time: 5 min
Analyze permission exceptions, plugin issues, and API compatibility errors that occur when running packaged APKs, and provide corresponding solutions to ensure stable application operation.
Runtime Error Cause Analysis
Packaged APKs may encounter errors during runtime, typically related to the following aspects:
1. Permission Issues
- Application operation requires specific permissions, but if scripts or software do not check or obtain these permissions, it may cause functional abnormalities or crashes.
 - Solution: Ensure required permissions are checked before packaging and correctly requested during runtime.
 
2. Plugin Issues
- If plugins used in scripts are not selected or included during packaging, it will cause plugin loading failures.
 - Solution: Confirm that all plugins called in scripts are enabled in packaging options.
 
3. API Compatibility Issues
- Both first-generation and second-generation APIs support packaging. Refer to the official development documentation: Bot.js Pro Official Documentation
 - APIs currently not supported for packaging:
- Cloud Control APP specific APIs (such as 
$cloudmodule) - New APIs in testing phase. These APIs are usually first released in the cloud control community and will be integrated into the packaging architecture after testing completion, while being synchronized to the Bot.js Pro Official Documentation.
 
 - Cloud Control APP specific APIs (such as 
 
If you have questions or encounter unsolvable problems, please contact official customer service for assistance in a timely manner.