{"action":"created","issue":{"url":"https://api.github.com/repos/Shusshu/Android-RecurrencePicker/issues/15","labels_url":"https://api.github.com/repos/Shusshu/Android-RecurrencePicker/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Shusshu/Android-RecurrencePicker/issues/15/comments","events_url":"https://api.github.com/repos/Shusshu/Android-RecurrencePicker/issues/15/events","html_url":"https://github.com/Shusshu/Android-RecurrencePicker/issues/15","id":124076026,"number":15,"title":"App crashing right away after including the library ","user":{"login":"Shajeel-Afzal","id":3718283,"avatar_url":"https://avatars.githubusercontent.com/u/3718283?v=3","gravatar_id":"","url":"https://api.github.com/users/Shajeel-Afzal","html_url":"https://github.com/Shajeel-Afzal","followers_url":"https://api.github.com/users/Shajeel-Afzal/followers","following_url":"https://api.github.com/users/Shajeel-Afzal/following{/other_user}","gists_url":"https://api.github.com/users/Shajeel-Afzal/gists{/gist_id}","starred_url":"https://api.github.com/users/Shajeel-Afzal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shajeel-Afzal/subscriptions","organizations_url":"https://api.github.com/users/Shajeel-Afzal/orgs","repos_url":"https://api.github.com/users/Shajeel-Afzal/repos","events_url":"https://api.github.com/users/Shajeel-Afzal/events{/privacy}","received_events_url":"https://api.github.com/users/Shajeel-Afzal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-28T14:43:20Z","updated_at":"2015-12-28T14:59:29Z","closed_at":null,"body":"I am getting following exception after including in the project:\r\n\r\n```\r\n                                                                                 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shajeelafzal.quicktasks_app/com.shajeelafzal.quicktasks_app.MainActivity}: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.FloatingActionButton\r\n                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)\r\n                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)\r\n                                                                                     at android.app.ActivityThread.access$800(ActivityThread.java:135)\r\n                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)\r\n                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102)\r\n                                                                                     at android.os.Looper.loop(Looper.java:136)\r\n                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5001)\r\n                                                                                     at java.lang.reflect.Method.invokeNative(Native Method)\r\n                                                                                     at java.lang.reflect.Method.invoke(Method.java:515)\r\n                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\n                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\n                                                                                     at dalvik.system.NativeStart.main(Native Method)\r\n                                                                                  Caused by: android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.FloatingActionButton\r\n                                                                                     at android.view.LayoutInflater.createView(LayoutInflater.java:620)\r\n                                                                                     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)\r\n                                                                                     at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)\r\n                                                                                     at android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n                                                                                     at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n                                                                                     at com.shajeelafzal.quicktasks_app.fragments.HomeFragment.onCreateView(HomeFragment.java:79)\r\n                                                                                     at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)\r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)\r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)\r\n                                                                                     at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)\r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)\r\n                                                                                     at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330)\r\n                                                                                     at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547)\r\n                                                                                     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)\r\n                                                                                     at android.app.Activity.performStart(Activity.java:5241)\r\n                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)\r\n                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) \r\n                                                                                     at android.app.ActivityThread.access$800(ActivityThread.java:135) \r\n                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) \r\n                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102) \r\n                                                                                     at android.os.Looper.loop(Looper.java:136) \r\n                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5001) \r\n                                                                                     at java.lang.reflect.Method.invokeNative(Native Method) \r\n                                                                                     at java.lang.reflect.Method.invoke(Method.java:515) \r\n                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) \r\n                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) \r\n                                                                                     at dalvik.system.NativeStart.main(Native Method) \r\n                                                                                  Caused by: java.lang.reflect.InvocationTargetException\r\n                                                                                     at java.lang.reflect.Constructor.constructNative(Native Method)\r\n                                                                                     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n                                                                                     at android.view.LayoutInflater.createView(LayoutInflater.java:594)\r\n                                                                                     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) \r\n                                                                                     at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) \r\n                                                                                     at android.view.LayoutInflater.inflate(LayoutInflater.java:492) \r\n                                                                                     at android.view.LayoutInflater.inflate(LayoutInflater.java:397) \r\n                                                                                     at com.shajeelafzal.quicktasks_app.fragments.HomeFragment.onCreateView(HomeFragment.java:79) \r\n                                                                                     at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962) \r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) \r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248) \r\n                                                                                     at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) \r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613) \r\n                                                                                     at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330) \r\n                                                                                     at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547) \r\n                                                                                     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171) \r\n                                                                                     at android.app.Activity.performStart(Activity.java:5241) \r\n                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157) \r\n                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) \r\n                                                                                     at android.app.ActivityThread.access$800(ActivityThread.java:135) \r\n                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) \r\n                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102) \r\n                                                                                     at android.os.Looper.loop(Looper.java:136) \r\n                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5001) \r\n                                                                                     at java.lang.reflect.Method.invokeNative(Native Method) \r\n                                                                                     at java.lang.reflect.Method.invoke(Method.java:515) \r\n                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) \r\n                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) \r\n                                                                                     at dalvik.system.NativeStart.main(Native Method) \r\n                                                                                  Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2\r\n                                                                                     at android.content.res.TypedArray.getColor(TypedArray.java:327)\r\n                                                                                     at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:120)\r\n                                                                                     at android.support.design.widget.FloatingActionButton.<init>(FloatingActionButton.java:104)\r\n                                                                                     at java.lang.reflect.Constructor.constructNative(Native Method) \r\n                                                                                     at java.lang.reflect.Constructor.newInstance(Constructor.java:423) \r\n                                                                                     at android.view.LayoutInflater.createView(LayoutInflater.java:594) \r\n                                                                                     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) \r\n                                                                                     at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) \r\n                                                                                     at android.view.LayoutInflater.inflate(LayoutInflater.java:492) \r\n                                                                                     at android.view.LayoutInflater.inflate(LayoutInflater.java:397) \r\n                                                                                     at com.shajeelafzal.quicktasks_app.fragments.HomeFragment.onCreateView(HomeFragment.java:79) \r\n                                                                                     at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962) \r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) \r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248) \r\n                                                                                     at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) \r\n                                                                                     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613) \r\n                                                                                     at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330) \r\n                                                                                     at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547) \r\n                                                                                     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171) \r\n                                                                                     at android.app.Activity.performStart(Activity.java:5241) \r\n                                                                                     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157) \r\n                                                                                     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233) \r\n                                                                                     at android.app.ActivityThread.access$800(ActivityThread.java:135) \r\n                                                                                     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) \r\n                                                                                     at android.os.Handler.dispatchMessage(Handler.java:102) \r\n                                                                                     at android.os.Looper.loop(Looper.java:136) \r\n                                                                                     at android.app.ActivityThread.main(ActivityThread.java:5001) \r\n                                                                                     at java.lang.reflect.Method.invokeNative(Native Method) \r\n                                                                                     at java.lang.reflect.Method.invoke(Method.java:515) \r\n                                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) \r\n                                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) \r\n                                                                                     at dalvik.system.NativeStart.main(Native Method) \r\n```\r\n\r\nMy `build.gradle` file looks like this:\r\n\r\n```\r\nandroid {\r\n    compileSdkVersion 23\r\n    useLibrary 'org.apache.http.legacy'\r\n\r\n    defaultConfig {\r\n        applicationId \"com.shajeelafzal.quicktasks_app\"\r\n        minSdkVersion 16\r\n        targetSdkVersion 23\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n        buildToolsVersion '23'\r\n        compileSdkVersion 23\r\n    }\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n\r\n    packagingOptions {\r\n        exclude 'META-INF/LICENSE'\r\n        exclude 'META-INF/LICENSE-FIREBASE.txt'\r\n        exclude 'META-INF/NOTICE'\r\n    }\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Shusshu/Android-RecurrencePicker/issues/comments/167584531","html_url":"https://github.com/Shusshu/Android-RecurrencePicker/issues/15#issuecomment-167584531","issue_url":"https://api.github.com/repos/Shusshu/Android-RecurrencePicker/issues/15","id":167584531,"user":{"login":"Shajeel-Afzal","id":3718283,"avatar_url":"https://avatars.githubusercontent.com/u/3718283?v=3","gravatar_id":"","url":"https://api.github.com/users/Shajeel-Afzal","html_url":"https://github.com/Shajeel-Afzal","followers_url":"https://api.github.com/users/Shajeel-Afzal/followers","following_url":"https://api.github.com/users/Shajeel-Afzal/following{/other_user}","gists_url":"https://api.github.com/users/Shajeel-Afzal/gists{/gist_id}","starred_url":"https://api.github.com/users/Shajeel-Afzal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shajeel-Afzal/subscriptions","organizations_url":"https://api.github.com/users/Shajeel-Afzal/orgs","repos_url":"https://api.github.com/users/Shajeel-Afzal/repos","events_url":"https://api.github.com/users/Shajeel-Afzal/events{/privacy}","received_events_url":"https://api.github.com/users/Shajeel-Afzal/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T14:59:29Z","updated_at":"2015-12-28T14:59:29Z","body":"Yup may be. But what will be solution?\r\n"}}