Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle App Engine Java and Android Getting Started
    primarykey
    data
    text
    <p>I've been struggling to get the example running from below:</p> <p><a href="https://developers.google.com/eclipse/docs/getting_started">https://developers.google.com/eclipse/docs/getting_started</a></p> <p>The first problem I had was didn't have installed 'Google Cloud Messaging for Android Library' in the Android SDK (obvious I know).</p> <p>But now I have an issue with the auto-generated code in two files in the Android project: GCMIntentService.java and RegisterActivity.java</p> <p>The errors are:</p> <ul> <li>The method getDeviceInfo(String) is undefined for the type Deviceinfoendpoint GCMIntentService.java</li> <li>The method listMessages() is undefined for the type MessageEndpoint RegisterActivity.java</li> <li>The method insertDeviceInfo(DeviceInfo) is undefined for the type Deviceinfoendpoint GCMIntentService.java</li> <li>The method removeDeviceInfo(String) is undefined for the type Deviceinfoendpoint GCMIntentService.java</li> </ul> <p>I'm using Java SDK v1.7.0_15 on Ubuntu but I also tried on Windows 7 with Java SDK v1.6 and had the same issue. Latest Android Platform 4.2.2 and Google App Engine 1.7.7. Eclipse is Juno Service Release 2.</p> <p>The problem looks like they are doing some casting wrong, because there is a method getDeviceInfo for inner class DeviceInfoEndpoint inside Deviceinfoendpoint (different capatilisations). </p> <p>I could try and fix it, but just wondering if I have something wrong in my setup for this to be happening?</p> <p>Any help would be appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload