简体   繁体   English

能够连接到在线应用程序服务但无法在实际设备上运行的移动应用程序仿真

[英]Mobile app emulation able to connect to online application service but not working on actual device

I'm currently trying to solve an issue with a mobile application that is throwing a "Error communicating with application service' alert upon being launched. 我目前正在尝试解决移动应用程序启动时引发“与应用程序服务通信时出错”警报的问题。

  • The error occurs on both ios and android versions of the app across 在iOS的ios版本和android版本的应用程序上均发生错误
    multiple device's, wifi, 4G etc. 多设备,无线网络,4G等

  • An emulation of the application using Android Studios DOES work. 使用Android Studios的应用程序仿真可以正常工作。 The app successfully communicates with the sites API. 该应用程序成功与网站API通信。 I can see all of this information on the logcat within Android Studio. 我可以在Android Studio的logcat中看到所有这些信息。

  • The mobile application has not been updated recently, the local version i'm running the emulation with is identical to the live version. 移动应用程序最近尚未更新,运行仿真的本地版本与实时版本相同。 The app hasn't been updated prior to the error occurring. 发生错误之前,该应用尚未更新。
  • The domain/URL that the application is connecting to has recently had a Certificate Signup Request generated for the SSL certificate that expires in a few months. 应用程序要连接到的域/ URL最近为SSL证书生成了一个证书注册请求,该请求在几个月后到期。 I'm not sure if this is relevant however I have read that a emulated device handles https differently to an actual device. 我不确定这是否相关,但是我已阅读到模拟设备对https的处理方式与实际设备不同。

To further diagnose the issue on an actual device I'm looking into "tcpdump" as it can potentially show everything that is happening on the device. 为了进一步诊断实际设备上的问题,我正在研究“ tcpdump”,因为它可能显示设备上正在发生的一切。 I've tried using LogcatExtreme but it doesn't show a more verbose detailing of the error that is occurring. 我尝试使用LogcatExtreme,但是它没有显示出所发生错误的详细信息。

Here is a link to the application that you can download right now. 这是您现在可以下载的应用程序链接。 If anyone believes this is a security risk, please let me know and I will take it down. 如果有人认为这是安全隐患,请告诉我,我将其删除。 https://play.google.com/store/apps/details?id=au.com.silkhospitality.Silk https://play.google.com/store/apps/details?id=au.com.silkhospitality.Silk

Even though I haven't exhausted all avenues of diagnosis I wanted to ask the community before I potentially end up in a culdesac. 即使我还没有用尽所有的诊断方法,但我还是想向社区询问,然后才可能陷入罪魁祸首。

Both the Android and iOS version of the application in question were redeployed to their respective app stores in order to solve this. 为了解决这个问题,相关应用程序的Android和iOS版本都重新部署到了各自的应用程序商店中。 The real reason for them failing to connect to the application was never discovered. 从未发现他们无法连接到应用程序的真正原因。 These applications were both 5+ years old and needed some minor environmental changes to be made but none of the core programming was changed/altered in order to successfully redeploy. 这些应用程序都有5年以上的历史,需要对环境进行一些小的更改,但是为了成功进行重新部署,没有更改/更改任何核心程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 应用程序无法在特定移动设备上运行 - App not working on a specific mobile device 无法在客户设备中运行移动仿真 - Unable to run mobile emulation in custome device 我如何能够在单个测试应用程序中编写 Selenium web 桌面上的页面测试以及 Android 移动设备上的本机应用程序测试? - How can I be able to code Selenium web page testing on the desktop Plus native app testing on an Android mobile device, in a single test application? 无法连接服务 - Not able to connect with a Service 使用 Ajax 调用将 Cordova 9 移动应用程序连接到 Java Web 服务 - Connect Cordova 9 mobile app to Java Web Service using Ajax call 如何使用套接字将Android移动设备上的移动应用程序连接到笔记本电脑服务器? - How to connect a mobile application from your android mobile device to your laptop server using sockets? 在线应用程序调用Web服务 - Online application calling Web service 如何将安装在移动设备上的J2me Midlet连接到Java应用程序? - How to connect a J2me Midlet installed on a mobile device to a java application? 应用程序只能在模拟器上运行,而不能在实际设备上运行 - App working on the emulator but not on actual devices MediaPlayer可在模拟器上运行,但不能在android中的实际设备上运行 - MediaPlayer working on emulator, but not on actual device in android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM