title: java.lang.NoSuchMethodError: android.support.v4.app.ActivityCompat.startActivity
body: <p>I created a login app with facebook. When I click login button it shows this error.</p>
  
  <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main
                    Process: com.myapp.test, PID: 16970
                    java.lang.NoSuchMethodError: android.support.v4.app.ActivityCompat.startActivity
                        at android.support.customtabs.CustomTabsIntent.launchUrl(CustomTabsIntent.java:200)
                        at com.facebook.internal.CustomTab.openCustomTab(CustomTab.java:48)
                        at com.facebook.CustomTabMainActivity.onCreate(CustomTabMainActivity.java:67)
                        at android.app.Activity.performCreate(Activity.java:5299)
                        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
                        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2151)
                        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2236)
                        at android.app.ActivityThread.access$800(ActivityThread.java:138)
                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
                        at android.os.Handler.dispatchMessage(Handler.java:102)
                        at android.os.Looper.loop(Looper.java:136)
                        at android.app.ActivityThread.main(ActivityThread.java:5061)
                        at java.lang.reflect.Method.invokeNative(Native Method)
                        at java.lang.reflect.Method.invoke(Method.java:515)
                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
                        at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>I have check dependencies in build.gradle, I have AppCompat library</p>
  
  <blockquote>
    <p>compile 'com.android.support:appcompat-v7:25.0.1'</p>
  </blockquote>
  
  <p>I think it is the latest.</p>
  
  <p>Did anyone ever seen this? Please help.</p>
  
  <p>I have read this : <a href="https://stackoverflow.com/a/39300065/5241603">https://stackoverflow.com/a/39300065/5241603</a> Not help.</p>