Fixed
Status Update
Comments
ds...@google.com <ds...@google.com>
do...@gmail.com <do...@gmail.com> #2
note that this code does work using Google API version 7 for android 2.1
oc...@gmail.com <oc...@gmail.com> #3
I am also having the same issue with an AVD created for Google API v8.
List<Address> addresses = geocoder.getFromLocationName("Clock Tower, Anantapur, Andhra Pradesh, India", 1);
The full stacktrace is as below:
java.io.IOException: Service not Available
at android.location.Geocoder.getFromLocationName(Geocoder.java:159)
at org.prashlabs.android.taskmanager.AddLocationMapActivity.mapCurrentAddress(AddLocationMapActivity.java
at org.prashlabs.android.taskmanager.AddLocationMapActivity$2.onClick(AddLocationMapActivity.java:60)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
List<Address> addresses = geocoder.getFromLocationName("Clock Tower, Anantapur, Andhra Pradesh, India", 1);
The full stacktrace is as below:
java.io.IOException: Service not Available
at android.location.Geocoder.getFromLocationName(Geocoder.java:159)
at org.prashlabs.android.taskmanager.AddLocationMapActivity.mapCurrentAddress(AddLocationMapActivity.java
at org.prashlabs.android.taskmanager.AddLocationMapActivity$2.onClick(AddLocationMapActivity.java:60)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
ca...@gmail.com <ca...@gmail.com> #4
It will work on the actual 2.2 device. That's the only information I know (not affiliated with Google). I'm actually going to look into the SAME bug this evening. Seems like a giant thing to overlook.
ah...@gmail.com <ah...@gmail.com> #5
Still not fixed? I have the same issue when using the Geocoder...
[Deleted User] <[Deleted User]> #6
I'm getting the same error here
ca...@gmail.com <ca...@gmail.com> #7
Just installed CyanogenMod 6 alfa and now GeoCoder works fine. I guess it will work on final builds of stock Froyo too.
ca...@gmail.com <ca...@gmail.com> #8
[Comment deleted]
oc...@gmail.com <oc...@gmail.com> #10
I also meet the same error
rs...@google.com <rs...@google.com> #11
rs...@google.com <rs...@google.com> #12
Are you guys using this code on the Android 2.2 emulator? I'm also getting this error on the emulator but it works on the actual device (nexus one - android 2.2)
oc...@gmail.com <oc...@gmail.com> #13
Same error for me on 2.2 emulator. Haven't tried on actual device yet, but I'm glad I found this. Yikes.
r....@gmail.com <r....@gmail.com> #14
For info: If the Eclipse build properties link with the Google APIs level 7 and the target is AVD level 8 I still get the "Service not Available" IOException on coder.getFromLocationName. So it seems that the problem lies within the level 8 AVD not the API jars.
rs...@google.com <rs...@google.com>
rd...@gmail.com <rd...@gmail.com> #16
Please stop posting "I'm getting the same error" and the like. Remember that people get email everytime such a comment is posted.
Instead of posting such an uninformative comment, the design of the system is that you vote for the issue, so please do that instead.
Instead of posting such an uninformative comment, the design of the system is that you vote for the issue, so please do that instead.
Description
Error loading cron.yaml:
Traceback (most recent call last):
File "/home/User/google_appengine/google/appengine/tools/devappserver2/admin/cron_handler.py", line 42, in get
values['cronjobs'] = self._get_cron_jobs()
File "/home/User/google_appengine/google/appengine/tools/devappserver2/admin/cron_handler.py", line 48, in _get_cron_jobs
cron_info = self._parse_cron_yaml()
File "/home/User/google_appengine/google/appengine/tools/devappserver2/admin/cron_handler.py", line 78, in _parse_cron_yaml
with open(os.path.join(self.configuration.servers[0].application_root,
AttributeError: 'ApplicationConfiguration' object has no attribute 'servers'
SDK Version : 1.8.2
Language: Python
OS: Ubuntu (Don't know the same issue in other OS too)
SDK 1.8.1 works as expected.