Monday, September 14, 2015

Using Android Support V7 Appcompat on Eclipse

Had an interesting request - customer wanted to convert the Android Studio project to Eclipse - I did that and found a couple of weird errors including:


error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.

when importing the Android Support V7 AppCompat library into Eclipse. The solution is fairly simple!

Just change the Android SDK to 23 (the latest/ Right click on appcompat project and click on Android, choose Build) and the errors will be gone.