title: Android 2.3.x crashing on com.google.android.gms.location.LocationSettingsResult.startResolutionForResult
body: <p>I'm in middle of a big issue, </p>
  
  <p>OS VERSION: Android 2.3.x
  DEVICE: GT i9100 (samsung galaxy s II)
  LOCATION API:  com.google.android.gms:play-services-location:9.4.0</p>
  
  <p>PROBLEM: app crash calling 
  com.google.android.gms.location.LocationSettingsResult.startResolutionForResult</p>
  
  <pre><code>com.google.android.gms.ui E/AndroidRuntime: FATAL EXCEPTION: main   java.lang.RuntimeException: Binary XML file line #25: You must supply a layout_height attribute.
  </code></pre>
  
  <p>FATAL EXCEPTION: main
                                                     java.lang.RuntimeException: Binary XML file line #25: You must supply a layout_height attribute.
                                                         at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:543)
                                                         at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3599)
                                                         at android.view.ViewGroup$MarginLayoutParams.(ViewGroup.java:3678)
                                                         at android.widget.LinearLayout$LayoutParams.(LinearLayout.java:1400)
                                                         at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1326)
                                                         at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:47)
                                                         at android.view.LayoutInflater.rInflate(LayoutInflater.java:625)
                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
                                                         at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
                                                         at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2261)
                                                         at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2316)
                                                         at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1478)
                                                         at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2165)
                                                         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1672)
                                                         at android.app.ActivityThread.access$1500(ActivityThread.java:117)
                                                         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
                                                         at android.os.Handler.dispatchMessage(Handler.java:99)
                                                         at android.os.Looper.loop(Looper.java:130)
                                                         at android.app.ActivityThread.main(ActivityThread.java:3691)
                                                         at java.lang.reflect.Method.invokeNative(Native Method)
                                                         at java.lang.reflect.Method.invoke(Method.java:507)
                                                         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
                                                         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
                                                         at dalvik.system.NativeStart.main(Native Method)</p>
  
  <p>please refer the following link, i've exactly same issue
  <a href="https://code.google.com/p/android/issues/detail?id=215183" rel="nofollow noreferrer">https://code.google.com/p/android/issues/detail?id=215183</a></p>
  
  <p>please help me to fix this</p>
  
  <p>Thanks</p>