当前位置:网站首页>APICloud云调试解决方案
APICloud云调试解决方案
2022-07-05 15:35:00 【51CTO】
APICloud云调试如何实现?由于apploader对于调用模块开发,得保证apploader有对应的模块功能,比如要用融云模块,必须用带有融云功能的apploader。否则就不能调试,会抛出init方法不可用的错误。于是乎我就想到了一个方法(可能你们都在用),既能方便调试,又保证所有功能正常:
1、安装一个web服务,比如Apache、nginx、IIS等,保证自己正在开发的App能够正常的访问,并记录下来访问地址,填入第二步代码红色部分。
2、做一个空盒的APP,我使用就是默认的HelloApp,首页改成
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
<title>本地学习测试</title>
</head>
<body style="margin-top:100px;">
<input type="text" value="<font color="Red">正在做的app的访问地址</font>" id="url" style="width:100%;height:50px;line-height:50px;font-size:24px;">
<button id="into" style="width:100%;height:50px;line-height:50px;font-size:24px;margin-top:20px;">进入</button>
</body>
<script type="text/javascript">
apiready = function() {
api.clearCache();
};
document.getElementById("into").onclick = function(event) {
api.openWin({
name: 'cjn',
url: 'http://'+document.getElementById("url").value+'/'
});
}
</script>
</html>
提交SVN。
3、去 apicloud对于控制台,把创建这个空盒APP(或者HelloApp)的模块页面,勾选出自己需要的模块。
4、通过云编译打包好,然后安装到自己的测试机,这样就是自己专有的一个调试器。
5、新增模块也很简单,只需把空盒APP的模块勾选,重新云编译。正在开发的APP就可以正常使用了。
以上是 apicloud云调试思路的全部内容。APICloud- APP开发、 app定制服务商,提供一站式移动应用解决方案,满足您的各类需求,欢迎免费评估需求和获取报价。
边栏推荐
- Batch update in the project
- Arduino控制微小的六足3D打印机器人
- How to introduce devsecops into enterprises?
- Vulnhub-Moneybox
- MySQL giant pit: update updates should be judged with caution by affecting the number of rows!!!
- Data communication foundation - routing communication between VLANs
- Obj resolves to a set
- 【 note 】 résoudre l'erreur de code IDE golang
- 【网易云信】超分辨率技术在实时音视频领域的研究与实践
- Data communication foundation ACL access control list
猜你喜欢
示例项目:简单的六足步行者
[brief notes] solve the problem of IDE golang code red and error reporting
ES6深入—ES6 Class 类
Write a go program with vscode in one article
Which keywords will conflict with the abstract keyword
F. Min cost string problem solving Report
obj集合转为实体集合
Data communication foundation OSPF Foundation
Lesson 4 knowledge summary
18.[STM32]读取DS18B20温度传感器的ROM并实现多点测量温度
随机推荐
抽象类和接口的区别
I'm fat, huh
CSDN I'm coming
Basic JSON operations of MySQL 5.7
Research and practice of super-resolution technology in the field of real-time audio and video
示例项目:简单的六足步行者
[graduation season] as a sophomore majoring in planning, I have something to say
ES6深入—ES6 Generator 函数
ES6深入—ES6 Class 类
Six common transaction solutions, you sing, I come on stage (no best, only better)
List de duplication and count the number
Defining strict standards, Intel Evo 3.0 is accelerating the upgrading of the PC industry
go语言编程规范梳理总结
Linear DP (basic questions have been updated)
Explanation report of the explosion
具有倍数关系的时钟切换
F. Weights assignment for tree edges problem solving Report
Data communication foundation - Ethernet port mirroring and link aggregation
Virtual base class (a little difficult)
Verilog realizes the calculation of the maximum common divisor and the minimum common multiple