我使用MFP CLI 7.1和原生Android Studio应用程序。 我已经使用CLI启动了本地开发服务器(127.0.0.1)。我已成功通过应用程序连接到此服务器。如何将Android Studio原生应用程序移至不同的MobileFirst服务器?
我正尝试将应用程序重新部署到远程Tst MFP服务器(192.168.1.117)。该服务器也是从CLI启动的。
我已经从应用程序Android Studio项目运行mfp推送。它成功完成。我可以在Tst服务器操作控制台中看到本机API应用程序,并且wlclient.properties有新的I.P.和运行应用程序。
我收到以下错误的logcat为WLClient.connect操作:
D/wl.request: WLRequestSender.run in WLRequestSender.java:40 :: Sending request http://192.168.1.117:10080/tstMFP/apps/services/api/com_example_timurmarkunin_mfpstart/Androidnative/init
D/com.worklight.nativeandroid.common.WLUtils: WLUtils.convertStringToJSON in WLUtils.java:437 :: Input string does not contain brackets, or input string is invalid. The string is: Error 500: FWLSE0304E: Unhandled exception caught: null [project tstMFP]
D/wl.failResponse: WLFailResponse.parseErrorFromResponse in WLFailResponse.java:100 :: Additional error information is not available for the current response and response text is: Error 500: FWLSE0304E: Unhandled exception caught: null [project tstMFP]
任何想法?
在此先感谢。
在你的问题描述中,你在“移动服务器”吗?你不解释你实际做了什么。日志中显示的IP地址是您期望看到的(远程服务器的)IP地址?提供messages.log文件。编辑问题并提供完整的复制步骤。 –
重现错误的简单方法:使用CLI:1.创建新的MFP项目2.启动服务器3.将Android Studio应用程序推送到此服务器4.停止服务器5.创建新的MFP项目6.启动新项目的服务器7将Android Studio应用程序推送到新服务器(步骤6)8.尝试从Android Studio应用程序连接到新服务器 – TMarkunin