I did the google tutorial on the app engine connected android app . Both the app engine and the android app are working fine, when I register the emulator device. I get the screen saying registration succeeded and Im able to view the registered device on the localhost:8888/admin/_ah page. However when I open the localhost:8888/index file to send a message, the page says "searching for devices" instead of listing the registered device. Have any of you encountered a similar problem? Any help would be appreciated..Thx..
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- Plugin with id 'com.google.gms.google-services
- __call__() missing 1 required positional argument:
- Non-static method isGooglePlayServicesAvailable an
- Upload file to Google Cloud Storage using AngularJ
相关文章
- Is there a size limit for HTTP response headers on
- appcfg.py command not found
- Google app engine datastore string encoding proble
- Angular route not working when used with Google Ap
- Doctrine not finding data on Google App Engine?
- Using OkHttp client via OKClient on Google App Eng
- Google appEngine: 404 when accessing /_ah/api [dup
-
Google App Engine Error:
INVALID_ARGUMENT
I came across the same problem. here is what I understood before trying to resolve the issue. - go to yourproject-AppEngine-->war-->index.html
This html file is what is loaded when you go to localhost:8888. Now look inside the code of this html file. There are few javascript methods being called here. Look out for two methods
and
These the two methods which do the job of getting the registered devices from datastore and display on html page. You can play around with this html file to debug the reason. In my case the reason was the backend libraries were not registered. When I am creating my own entities and using them to be displayed in the index.html then it works fine. the GCMEndpoint libraries come default when you install GPE and enabled the backend engine. Hence just redo the process and manually register the libraries and your error should be gone.