Firebaseui-android: [Known Issue] NoSuchMethodError: No virtual method launchUrl

Created on 6 Nov 2016  路  7Comments  路  Source: firebase/FirebaseUI-Android

There is a known issue in the 1.0.0 release that can occur when using Facebook login with the optional Chrome Custom Tabs configuration and support library version 25.x. There is a fix being discussed in #396.

Some known workarounds:

  • Do not use Chrome Custom tabs with Facebook login
  • Downgrade your application to support libraries 24.x

If the above workarounds do not solve the issue, please chime in so we can further diagnose.

auth fix-implemented bug

Most helpful comment

@lawloretienne Got it, check out our build.gradle file. You basically need to include all of the support libraries Facebook uses and override them with the version of the support library you are using to prevent incompatibilities.

All 7 comments

The fix for this issue has been released in version 1.0.1.

I think this is still an issue with Custom Tabs
http://stackoverflow.com/questions/40319860/com-android-supportcustomtabs-no-virtual-method-launchurl

This is still an issue with the following dependencies : compile "com.android.support:customtabs:25.0.1" and compile 'com.facebook.android:facebook-android-sdk:4.19.0'

@lawloretienne you're mixing support library versions. Please use v25.1.0 to use the same version as FirebaseUI and see if that fixes it.

so i'm not using firebase at the moment, but i noticed this same issue of facebook login and custom tabs was documented here.

@lawloretienne Got it, check out our build.gradle file. You basically need to include all of the support libraries Facebook uses and override them with the version of the support library you are using to prevent incompatibilities.

Got it. That worked. Looks like these dependencies can get very brittle sometimes. Wish it wasn't the case.

@lawloretienne Glad to hear the issue was fixed!

Was this page helpful?
0 / 5 - 0 ratings