Can't create an app engine module in Android studio 3.0 - google-app-engine

I'm working on an Android app with a Google app engine backend, but i can't find how to create the app engine module. In Android studio 3.0 there is no app engine module under:
File->NewModule.
How can I make the relation between the app in android studio and the backend in app engine?

Regarding using the App Engine's backend with Android studio 3.0 the documentation says:
Creating App Engine-based cloud backends is not supported in Android
Studio 3.0; however, your existing projects with cloud backends will
continue to work in Android Studio.
There is more information about this in the provided link but also this "Build an Android App Using Firebase and the App Engine Flexible Environment" could be interesting for your purposes.

Related

How can I change Google App Engine Deployment from Standard to Flex in IntelliJ

I installed the Cloud Code Plugin for IntelliJ to deploy a Java 8 project to App Engine (Standard)
I added the Framework Support by running:
Tools > Cloud Code > App Engine > Add App Engine Support > Google App Engine Standard
Now I have to change this to App Engine Flexible but when I try to do this the same way as for App Engine Standard I get the following error:
All modules already have App Engine support, or no modules were found.
What files do I have to modify or how can I remove App Engine support and start over?
I already tried right-clicking the project and selecting Add Framework support...but the Google App Engine option isn't checked and when I select it doesn't give me any options
From my understanding of this issue is that in IntelliJ you cannot add child framework support when parent is already added. What this means is that since you have your application running under the standard environment you are unable to add in an additional environment (in this case, the app engine flexible).
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000073610-Cannot-add-child-framework-support-when-parent-is-already-added
I ran into the same error as the one stated in your situation. You can simply import the project again from your project directory and select the framework (App Engine Flexible) instead of the standard environment.

Using Amazon SDK on Google App Engine

We are using amazon sdk for sns push notifications. We deployed our app on Google App engine. While using amazon sdk we are getting following exception
Could not initialize class com.amazonaws.ClientConfiguration
at com.amazonaws.services.sns.AmazonSNSClient.<init>(AmazonSNSClient.java:128)
Looks like is it because of Sockets/Threads using by Amazon SDK.
Is there anyway to use amazon sdk on google app engine application.
Which App Engine environment are you using? (standard or flex). App Engine standard may require the use of the Sockets API or UrlFetch for outbound connections, which won't always work with open source libraries (today).
One option here is to deploy your app to App Engine Flexible, which won't have the same requirements.

Google App Engine's Web Application server and Apache Tomcat

I read this sentence in google resources for GAE : "Google App Engine has it's own Web Application Server for simulating in desktop environment", so, my question is: Can I deploy Google App Engine apps (in .war format) on TomCat?
Thanks for any help!
the short answer is: it depends
according to the app engine doc:
App Engine Java applications use the Java Servlet standard for
interacting with the web server environment.
so for a simple servlet app, it can be run on tomcat
but
The App Engine runtime environment imposes some constraints to ensure
that your app can be scaled to multiple instances on App Engine's
distributed infrastructure
if you have used apis from app engine such as UserService, or Datastore then you are not able to run it on tomcat. in this case, you can use the development web server from app engine sdk for dev and test purpose.

Google AppEngine in Intellij

How do I set up the Google App Engine in IntelliJ? I think I'm missing something here.
I see that they have app engine instructions on IntelliJ's site, but I don't see how to install it into Intellij.
I don't think that the Google App Engine is available in the Community Edition. Otherwise it is available as a plugin in the Ultimate Edition. It should have been available directly after installation unless you deliberately unchedked it.
Ultimate Edition plugins, Google App Engine Integration plugin available.
Community Edition plugins, no Google App Engine Integration plugin :-(
There is now a Google Cloud Plugin for Intellij (docs) (github).
App Engine (Standard) (Flexible)
(Stackdriver Debugger)

Executable from Google App Engine project

Is it possible to create an executable file from a Google App engine project in Python?
Well... no. But there are open-source projects available that allow you to run your App Engine application locally, and that attempt to be compatible with Google's App Engine API.
For example, check out typhoonae:
http://code.google.com/p/typhoonae/
You could develop your application using the Google SDK, and then deploy it on a local machine using the TyphoonAE app server.

Resources