SimpleCustomTabs icon indicating copy to clipboard operation
SimpleCustomTabs copied to clipboard

Crash on latest library version

Open theblixguy opened this issue 8 years ago • 0 comments

Using the latest version of the library in my app, which is targeting 7.1.1 and latest Google Play Services and support v7/v4 libraries.

FATAL EXCEPTION: main
                                                                   Process: com.ssrij.warnindia, PID: 8826
                                                                   java.lang.NoSuchMethodError: No static method startActivity(Landroid/app/Activity;Landroid/content/Intent;Landroid/os/Bundle;)V in class Landroid/support/v4/app/ActivityCompat; or its super classes (declaration of 'android.support.v4.app.ActivityCompat' appears in /data/app/com.ssrij.warnindia-1/split_lib_dependencies_apk.apk:classes13.dex)
                                                                       at android.support.customtabs.CustomTabsIntent.launchUrl(CustomTabsIntent.java:200)
                                                                       at io.github.eliseomartelli.simplecustomtabs.CustomTabs$Operable.openUrl(CustomTabs.java:120)
                                                                       at io.github.eliseomartelli.simplecustomtabs.CustomTabs$Operable.openUrl(CustomTabs.java:149)
                                                                       at com.ssrij.warnindia.TsunamiFragment$1.onActionClicked(TsunamiFragment.java:93)
                                                                       at com.dexafree.materialList.card.action.TextViewAction$1.onClick(TextViewAction.java:77)
                                                                       at android.view.View.performClick(View.java:5637)
                                                                       at android.view.View$PerformClick.run(View.java:22429)
                                                                       at android.os.Handler.handleCallback(Handler.java:751)
                                                                       at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                       at android.os.Looper.loop(Looper.java:154)
                                                                       at android.app.ActivityThread.main(ActivityThread.java:6119)
                                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
                                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

theblixguy avatar Jan 16 '17 17:01 theblixguy