So, recently I had to move my project from where it was due to the Error: File path too long on windows, keep below 240 characters. After moving, and solving other errors when I run my project, the app crashes with android.view.InflateException: Binary XML file line #31: Error inflating class com.android.internal.widget.ActionBarContainer. Unfortunately, I cannot post the logcat message as it is too big to post, so I will just put some Caused by messages here. Apart from the inflate exception the other two exceptions are: Caused by: java.lang.reflect.InvocationTargetException and Caused by: java.lang.RuntimeException: Failed to resolve attribute at index 13. All of the exceptions and the error itself refers to a class' setContentView(R.layout.activity_automatic_floor_plan_loader);. In this layout file I am using AppTheme.AppBarOverlay. I am quite sure everything relates to this apptheme, but I do not know what to change and how to. I have gone through many Stackoverflow questions, but none of them seems to answer or solve the error I am getting. Here is my Style.xml file:
And here is my class' activity in the Android-Manifest.xml file:
And here is my activity.xml (activity_automatic_floor_plan_loader):
And here is my build.gradle(app) file: How to solve this error? Many thanks.
No comments:
Post a Comment