Android Question AppCompat issue with latest Google lib

joneden

Active Member
Licensed User
Longtime User
Hi All,

I updated my libraries this morning and since then cannot run my app that uses the AppCompat lib.

I think that it's upgraded the Android Support Library from 23.1.0 to 23.1.1 and now get the error show below on app start before the app bombs out completely.

B4X:
java.lang.RuntimeException: Unable to start activity ComponentInfo{amonet.wastemonitor/amonet.wastemonitor.main}: android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.widget.FitWindowsLinearLayout

Does anyone know how to roll back to an earlier version of the Android Support Library so I can test if that is the issue?

Cheers

Jon
 

joneden

Active Member
Licensed User
Longtime User
Whoops, missed an important line from the setup. After updating the sdk files always update the libs in the custom libs folder.

3. Copy v4 and v7 support libraries from <...>\android-sdk\extras\android\support\v7\appcompat\libs to your CustomLibs folder
 
Upvote 0
Top