简体   繁体   中英

“App Engine Connected Android Project” not available

According to this guide by Google the "App Engine Connected Android Project" should be available after installing/configuring ADT plugin for Eclipse, Android SDK and Google Plugin for Eclipse. I have installed everything in the most recent version in both Eclipse 3.7.2 (Indigo) and Eclipse 4.2 (Juno). However, I can't create such a project in any of the two Eclipse releases. Here are my installation details in Juno:

安装细节

And here is a part of my Android SDK details:

SDK详情

My OS is Mac OS X 10.7.4

I know that I could see the menu point on 23/6/2012 before I updated the SDK tools to the most recent version.

Is anyone experiencing a similar issue or does anyone know what I configured the wrong way?

Thanks!

I just found a (I would say semi-official) statement from a Google employee here . It says, that the "App Engine Connected Android Project" has been removed in GPE v3.0.0. It would be possible to downgrade to the last version containing this menu item (2.6.1), which can be downloaded here .

The reason for the whole migration is, that "C2DM [is now] deprecated and [we] should be using GCM instead". Furthermore

The official docs [for using GCM] are on the way. In the meanwhile do sign up for the endpoints trusted testers program at http://endpoints-trusted-tester.appspot.com .

They also "plan to add [the menu item] again in the next version of GPE with GCM integrations" and they "plan to release the next version end of July".

Also, I got a similar answer form the Google employee Sparky R.:

I believe there is a known issue that the template for making GAE-connected Android apps isn't working right now.

I don't know if it will be helpful, but i have managed to restore the Android SDK tools to rev 19 and Android SDK Platform-tools to rev 11, and installed the Google Plugin from scratch since i don't have the older version of it. It seems i still don't have the option in the menu, so i think it is about the Google Plugin.

In addition, Android Cloud to Device Messaging Framework - C2DM is deprecated since as of June 26, 2012 ( https://developers.google.com/android/c2dm/ ). It may be about this deprecation, but it should be more clear in the near future.

I've been wasting a lot of time on this. I had the option in Eclipse 3.7, but now I've upgraded to 4.2 Juno and all the latest other stuff I can no longer see the 'App Engine Connected Android Project' option. I've had multiple attempts at installing, trying to make sure I get the order right. I've had major problems with trying to update from within Eclipse, and have had to resort to the various offline options. Not happy. How am I supposed to teach this technology when I can't even install it!

Tim

There is an example here, which he creates one of these projects:

http://bradabrams.com/2011/05/google-io-session-overview-android-app-engine-a-developers-dream-combination/

And you can checkout the code:

http://code.google.com/p/cloud-tasks-io/source/checkout

So I'm trying now to strip out what I don't need and get back to basically a new "Appengine Connected Android Project" I don't know how successful that'll be, as I don't know what I need or don't!

Annoying thing is, if this is do to with C2DM, I don't even want to use C2DM. I just want to invoke my app engine app from android, not send messages to android. Maybe I'm going along the wrong lines?

Edit

I got my project working (without messages to Android, just Android invoking methods and getting results) using these two examples:

How to call your app: Android REST client, Sample?

How to access a security enabled app: http://krasserm.blogspot.co.uk/2010/01/accessing-security-enabled-google-app.html

And this to work out how to do the http connection: http://developer.android.com/reference/java/net/HttpURLConnection.html

I'm on windows 7 and I'm also seeing this as well. This had been working for me, then I updated the Android SDK tools to rev 20 and Android SDK Platform-tools to rev 12 (both updated at the same time in the Android SDK Manager) after which I noticed this was not working. I was on Eclipse 3.7 but I upgraded to 4.2 to see if that helped (which I didn't). I then downloaded the Android 4.1 SDK stuff, but that didn't help either.

In addition to "App Engine Connected Android Project" not being ava

This feature is now available for me

Update your Android and App Engine SDKs, and you should be good to go!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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