ExpandableLayout
ExpandableLayout copied to clipboard
android.view.InflateException: Binary XML file line #0
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
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
android.enableAapt2=false is deprecated with the newest gradle. Is there any other solution?
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