ExpandableLayout icon indicating copy to clipboard operation
ExpandableLayout copied to clipboard

android.view.InflateException: Binary XML file line #0

Open MohamedHashim opened this issue 7 years ago • 3 comments

I am getting this weird error while integrating your library in my app! I don't know why and I need your help urgently?

Caused by: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class com.andexert.expandablelayout.library.ExpandableLayout Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class com.andexert.expandablelayout.library.ExpandableLayout Caused by: @java.lang.reflect.InvocationTargetException

MohamedHashim avatar Dec 14 '17 13:12 MohamedHashim

For Android Studio 3.0.1

I have got the same issue and I have resolved finally Opening the gradle.properties and added following line:

android.enableAapt2=false

sshahidaslamm avatar Feb 13 '18 07:02 sshahidaslamm

android.enableAapt2=false is deprecated with the newest gradle. Is there any other solution?

skined90 avatar May 21 '18 09:05 skined90

Android Studio 3.3 : 我引入ExpandableLayout,出现这个异常,android.enableAapt2=false 设置了这个就正常了

For Android Studio 3.0.1

I have got the same issue and I have resolved finally Opening the gradle.properties and added following line:

android.enableAapt2=false

sunnydlee avatar Jun 15 '19 10:06 sunnydlee