Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency issue #62

Open
sashk0 opened this issue Jun 10, 2017 · 0 comments
Open

Dependency issue #62

sashk0 opened this issue Jun 10, 2017 · 0 comments

Comments

@sashk0
Copy link

sashk0 commented Jun 10, 2017

Hi!
When I'm adding your library dependency to my gradle file, my app begins to crash on launch with following exception. As I understand that is some conflict between support libraries I use and your library:

06-10 14:34:47.163 32314-32314/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                   Process: info.oleksandr.utilitymeter, PID: 32314
                                                   java.lang.RuntimeException: Unable to start activity ComponentInfo{info.oleksandr.utilitymeter/info.oleksandr.utilitymeter.MainActivity}: android.view.InflateException: Binary XML file line #42: Error inflating class android.support.design.widget.FloatingActionButton
                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
                                                       at android.app.ActivityThread.access$800(ActivityThread.java:151)
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
                                                       at android.os.Handler.dispatchMessage(Handler.java:102)
                                                       at android.os.Looper.loop(Looper.java:135)
                                                       at android.app.ActivityThread.main(ActivityThread.java:5254)
                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                       at java.lang.reflect.Method.invoke(Method.java:372)
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
                                                    Caused by: android.view.InflateException: Binary XML file line #42: Error inflating class android.support.design.widget.FloatingActionButton
                                                       at android.view.LayoutInflater.createView(LayoutInflater.java:633)
                                                       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
                                                       at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
                                                       at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:143)
                                                       at info.oleksandr.utilitymeter.MainActivity.onCreate(MainActivity.java:73)
                                                       at android.app.Activity.performCreate(Activity.java:5990)
                                                       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 
                                                       at android.app.ActivityThread.access$800(ActivityThread.java:151) 
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 
                                                       at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                       at android.os.Looper.loop(Looper.java:135) 
                                                       at android.app.ActivityThread.main(ActivityThread.java:5254) 
                                                       at java.lang.reflect.Method.invoke(Native Method) 
                                                       at java.lang.reflect.Method.invoke(Method.java:372) 
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 
                                                    Caused by: java.lang.reflect.InvocationTargetException
                                                       at java.lang.reflect.Constructor.newInstance(Native Method)
                                                       at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
                                                       at android.view.LayoutInflater.createView(LayoutInflater.java:607)
                                                       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743) 
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) 
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) 
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) 
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) 
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:504) 
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:414) 
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:365) 
                                                       at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288) 
                                                       at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:143) 
                                                       at **info.oleksandr.utilitymeter.MainActivity**.onCreate(MainActivity.java:73) 
                                                       at android.app.Activity.performCreate(Activity.java:5990) 
                                                       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) 
                                                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) 
                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) 
                                                       at android.app.ActivityThread.access$800(ActivityThread.java:151) 
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) 
                                                       at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                       at android.os.Looper.loop(Looper.java:135) 
                                                       at android.app.ActivityThread.main(ActivityThread.java:5254) 
                                                       at java.lang.reflect.Method.invoke(Native Method) 
                                                       at java.lang.reflect.Method.invoke(Method.java:372) 
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 

my gradle dependencies are the following:

compile 'net.danlew:android.joda:2.9.2'
  compile 'com.android.support:appcompat-v7:23.4.0'
  compile 'com.android.support:design:23.4.0'
  compile 'com.android.support:recyclerview-v7:23.4.0'
  compile 'com.android.support:cardview-v7:23.4.0'
  compile 'com.larswerkman:lobsterpicker:1.0.1'
  compile 'com.github.lecho:hellocharts-library:1.5.8@aar'
  compile 'com.google.android.gms:play-services-ads:10.2.1'
  compile 'com.google.android.gms:play-services-drive:10.2.1'
  compile 'org.jetbrains:annotations-java5:15.0'
  compile 'com.google.android.gms:play-services-auth:10.2.1'
  compile 'com.facebook.stetho:stetho:1.3.1'
  compile 'com.jakewharton:butterknife:8.4.0'
  compile 'com.squareup:otto:1.3.8'
  compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
  compile 'io.reactivex.rxjava2:rxjava:2.0.9'
  compile 'com.android.support:support-v13:23.4.0'
  compile 'com.android.support:support-annotations:23.4.0'
  compile 'com.google.firebase:firebase-core:10.2.1'
  compile 'com.android.support.constraint:constraint-layout:1.0.2'
  testCompile 'junit:junit:4.12'
  androidTestCompile 'org.testng:testng:6.9.6'
  apt 'com.jakewharton:butterknife-compiler:8.4.0'
  compile 'lib.kashif:folderpicker:2.2'

  compile 'com.futuremind.recyclerfastscroll:fastscroll:0.2.5'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant