[英]connect to google cloud mysql using android studio app
I am doing a project which requires me to query google cloud mysql database to save, delete, retrieve and update data using app build in android studio. 我正在做一个项目,需要使用Google Studio中的应用程序构建来查询Google Cloud mysql数据库以保存,删除,检索和更新数据。 I have been googling for quite some time, all the tutorials are using AppEngine. 我已经搜索了一段时间,所有教程都使用AppEngine。 However in android studio 3.0+, there isn't any App Engine available anymore. 但是在android studio 3.0+中,不再有任何App Engine可用。 Please give advice / guidance on what should I do? 请提供建议/指导,我该怎么办?
thanks in advance 提前致谢
Since Android Studio 3 doesn't support AppEngine anymore, you have two options : 由于Android Studio 3不再支持AppEngine,因此您有两种选择 :
Build your own custom backend (web service) to function as a layer that allows database consumption via the Android app. 构建自己的自定义后端(Web服务)以用作允许通过Android应用程序使用数据库的层。 This will require more development effort than option 2. 与选项2相比,这将需要更多的开发工作。
Set up Firebase and use its database instead. 设置Firebase并使用其数据库 。
You will have to do a bit of research on getting Firebase up and running, but you wan't have to build a custom backend. 您将需要做一些有关启动和运行Firebase的研究,但是您不必构建自定义后端。
If using the Google Cloud MySQL database is a must, then you can't get around to foreseeing your own backend layer. 如果必须使用Google Cloud MySQL数据库,那么您将无法预见自己的后端层。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.