简体   繁体   English

如何使用 android 模拟器应用程序测试 springboot

[英]How to test springboot with from an android emulator app

I am working on an android project which I used springboot for the webservice.我正在开发一个 android 项目,我将 springboot 用于 web 服务。 It the any possible way of testing the spring boot project before deployment.它是在部署之前测试 spring 引导项目的任何可能方法。 What I mean is- how can I run the spring boot project and and make the app from the emulator to work with it .我的意思是 -我怎样才能运行 spring 引导项目,并使模拟器中的应用程序与它一起工作 I'm using volley for the http client request.我正在为 http 客户端请求使用截击。

Use ip adress of pc where spring boot app turn ( ex: http://192.168.100.100:port ) as base url for volley request.使用 ip PC 的地址,其中 spring 启动应用程序转(例如: http://192.168.100.100:port )作为 url 的基本地址用于 volley 请求。

The two device must be connected to the same access point(WI-FI).两个设备必须连接到同一个接入点 (WI-FI)。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM