我已经安装了Open EDX Eucalyptus.2 . 我正在为Android和IOS准备应用程序连接 .
我严格遵循Github的步骤:
OpenEdXMobile中的文件edx.properties:
edx.dir = '../../my_config'
在文件夹my_config中:
#file edx.properties
edx.android {
configFiles = ['config.yaml', 'local.yaml']
}
#file local.yaml
OAUTH_CLIENT_ID: 'xxxxxxxxxxxxxxx'
#file config.yaml
API_HOST_URL: 'http://my_server/' # localhost is 10.0.2.2 in Android
ENVIRONMENT_DISPLAY_NAME: 'PRO'
PLATFORM_NAME: 'Mooc'
PLATFORM_DESTINATION_NAME: 'my_server'
FEEDBACK_EMAIL_ADDRESS: 'edx@my_server'
该应用程序编译完美并开始 . 问题是,当我尝试登录时,它什么都不做 .
在Open EDX中,一切都设置正确 . 我已经使用相同的参数为IOS编译了应用程序并且它可以正常工作 .
任何的想法??
谢谢!!!
1 回答
你应该检查以下文件:
edx / app / edxapp / lms.env.json
edx / app / edxapp / cms.env.json
并确保它们是真的
并重启服务
有关详细信息,请参阅:http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/mobile.html