Fixed
Status Update
Comments
st...@blocoware.com <st...@blocoware.com> #2
note that this code does work using Google API version 7 for android 2.1
br...@google.com <br...@google.com>
br...@google.com <br...@google.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)
st...@blocoware.com <st...@blocoware.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.
Description
demonstration page if at all possible, or attach code.
1. Clone the git repo at
2. Run "pod install" from the project directory (this is required because I could not commit the GoogleMaps SDK binary to Bitbucket (or GitHub) as it is too large).
3. Open the project workspace in Xcode
4. Select "Generic iOS Device" as the Xcode build target.
5. Select Product > Archive
6. The compiler will crash with the errors "clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)" while attempting to link the app binary with the CocoaPods libraries.
Note: This does not occur if "Generate Bitcode" is set to "NO" in build settings for the GMapsTest target. Also, this only occurs on archive builds, development builds are unaffected.
Operating system version: Mac OS X 10.11.3, Xcode 7.2.1
Google Maps SDK for iOS version: 1.12.2
Hardware model: MacBook Pro (Retina, 13-inch, Early 2015)
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************