Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在构建私人app时,运行报错【请使用正确的应用】 #50

Open
zytcharming opened this issue May 6, 2022 · 4 comments
Open

Comments

@zytcharming
Copy link

image

@sanjinhub
Copy link
Member

1、检测 APP Json 是否正确,参数key 不要和上面的参数相同
2、检测你的 APP 是否存在未安装第三方库
3、看看你的日志是否有异常输出

@WZIH222
Copy link

WZIH222 commented May 11, 2022

有可能是main函数的问题
'''
if name == 'main':
'''
检查一下app的run.py,把调试用的main函数部分注释掉,重新打包上传。

@blockfsd
Copy link

blockfsd commented Jun 7, 2022

升级到最新版本(0.56)试下。我用0.55版本时上传的 app 名称不能自定义,必须顶替掉原有 app 的名称才行,比如把 helloword 改为 helloword1,就会报这个错,不改任何代码。把我上传的 app 目录改为 helloword,就执行正常,同样也没改任何代码就行。0.56版本就不会出这个问题。

@sanjinhub
Copy link
Member

这个会不会是缓存的问题?你可以上传新的APP,重启下服务,新建个剧本试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants