{"action":"created","issue":{"url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/68","labels_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/68/comments","events_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/68/events","html_url":"https://github.com/brianwernick/ExoMedia/issues/68","id":125996390,"number":68,"title":"Binary XML file: Error inflating class com.devbrackets.android.exomedia.EMVideoView","user":{"login":"ivanovpv","id":1309260,"avatar_url":"https://avatars.githubusercontent.com/u/1309260?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovpv","html_url":"https://github.com/ivanovpv","followers_url":"https://api.github.com/users/ivanovpv/followers","following_url":"https://api.github.com/users/ivanovpv/following{/other_user}","gists_url":"https://api.github.com/users/ivanovpv/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovpv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovpv/subscriptions","organizations_url":"https://api.github.com/users/ivanovpv/orgs","repos_url":"https://api.github.com/users/ivanovpv/repos","events_url":"https://api.github.com/users/ivanovpv/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovpv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-11T17:32:41Z","updated_at":"2016-01-11T17:38:54Z","closed_at":null,"body":"Here's my layout xml file:\r\n\r\n        <RelativeLayout\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"match_parent\"\r\n            >\r\n            <TextView\r\n                android:id=\"@+id/fieldName\"\r\n                android:layout_width=\"wrap_content\"\r\n                android:layout_height=\"wrap_content\"\r\n                android:textSize=\"@dimen/default_text_size\"\r\n                />\r\n            <com.devbrackets.android.exomedia.EMVideoView\r\n                android:id=\"@+id/fieldValue\"\r\n                android:layout_width=\"match_parent\"\r\n                android:layout_height=\"300dp\"\r\n                android:layout_gravity=\"center\"\r\n                android:layout_below=\"@id/fieldName\"\r\n                android:layout_alignParentLeft=\"true\"\r\n                android:layout_alignParentRight=\"true\"\r\n                app:defaultControlsEnabled=\"true\"\r\n                />\r\n        </RelativeLayout>\r\n\r\nWhen I'm inflating it dymamically:\r\n\r\n        view=LayoutInflater.from(parent.getContext()).inflate(R.layout.field_video_layout, parent, false);\r\n\r\n using Gradled jar linked through \r\n\r\n       compile 'com.devbrackets.android:exomedia:2.5.1'\r\n\r\nit works perfect, but whenever I embed ExoMedia sources as library to my project, like:\r\n\r\n      compile project(\":exomedia\")\r\n\r\nwhere **:exomedia** is library subproject I have this:\r\n\r\n         android.view.InflateException: Binary XML file line #44: Error inflating class  com.devbrackets.android.exomedia.EMVideoView\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.rInflate(LayoutInflater.java:758)\r\n                                           at android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n                                           at android.view.LayoutInflater.inflate(LayoutInflater.java:397)\r\n                                           at ru.ivanovpv.cellboxkeeper.android.FieldListAdapter.onCreateViewHolder(FieldListAdapter.java:117)\r\n                                           at ru.ivanovpv.cellboxkeeper.android.FieldListAdapter.onCreateViewHolder(FieldListAdapter.java:75)\r\n                                           at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5228)\r\n                                           at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4453)\r\n                                           at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4363)\r\n                                           at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961)\r\n                                           at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1370)\r\n                                           at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333)\r\n                                           at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:562)\r\n                                           at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2900)\r\n                                           at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3071)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)\r\n                                           at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)\r\n                                           at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)\r\n                                           at android.widget.FrameLayout.onLayout(FrameLayout.java:388)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)\r\n                                           at android.widget.FrameLayout.onLayout(FrameLayout.java:388)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)\r\n                                           at android.widget.FrameLayout.onLayout(FrameLayout.java:388)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)\r\n                                           at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)\r\n                                           at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)\r\n                                           at android.widget.FrameLayout.onLayout(FrameLayout.java:388)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)\r\n                                           at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)\r\n                                           at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)\r\n                                           at android.view.View.layout(View.java:14817)\r\n                                           at android.view.ViewGroup.layout(ViewGroup.java:4631)\r\n                                           at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)\r\n\r\nNo any other changes in sources. What it could be?"},"comment":{"url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/comments/170628704","html_url":"https://github.com/brianwernick/ExoMedia/issues/68#issuecomment-170628704","issue_url":"https://api.github.com/repos/brianwernick/ExoMedia/issues/68","id":170628704,"user":{"login":"brianwernick","id":8961257,"avatar_url":"https://avatars.githubusercontent.com/u/8961257?v=3","gravatar_id":"","url":"https://api.github.com/users/brianwernick","html_url":"https://github.com/brianwernick","followers_url":"https://api.github.com/users/brianwernick/followers","following_url":"https://api.github.com/users/brianwernick/following{/other_user}","gists_url":"https://api.github.com/users/brianwernick/gists{/gist_id}","starred_url":"https://api.github.com/users/brianwernick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianwernick/subscriptions","organizations_url":"https://api.github.com/users/brianwernick/orgs","repos_url":"https://api.github.com/users/brianwernick/repos","events_url":"https://api.github.com/users/brianwernick/events{/privacy}","received_events_url":"https://api.github.com/users/brianwernick/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T17:38:54Z","updated_at":"2016-01-11T17:38:54Z","body":"Where in your `build.gradle` do you have the `compile project(':exomedia')` line?  \r\nDoes it follow the same ordering in the ExoMedia demos `build.gradle`?\r\n\r\nAlso, are you including the entire ExoMedia project, or just the `library` project?"}}