简体   繁体   English

如何从 Android Studio 运行 Spring Boot 服务?

[英]How can I run Spring Boot service from Android Studio?

I am a newbie in Android development and I am currently facing issues to find any relevant reference for running a spring boot service on Android.我是 Android 开发的新手,我目前面临着寻找在 Android 上运行 Spring Boot 服务的任何相关参考的问题。 What I could find was more related to Client-Server architecture.我能找到的更多与客户端-服务器架构有关。 What If I do not want to use it as a Client and run the service locally ?如果我不想将其用作客户端并在本地运行服务怎么办? Is there any reference or does someone has an idea about it ?是否有任何参考或有人对此有想法?

You need to learn Retrofit.你需要学习改造。

Here is a link that can help you: https://www.vogella.com/tutorials/Retrofit/article.html这是一个可以帮助您的链接: https : //www.vogella.com/tutorials/Retrofit/article.html

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

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