Don't build with jetpack compose
felipeleon73 opened this issue · comments
Describe the bug
Jetpack compose app dont'build with Locus.
Errors:
AAPT: error: style attribute 'attr/colorAccent (aka com.example.testapplication:attr/colorAccent)' not found.
AAPT: error: style attribute 'attr/colorPrimary (aka com.example.testapplication:attr/colorPrimary)' not found.
AAPT: error: style attribute 'attr/colorPrimaryDark (aka com.example.testapplication:attr/colorPrimaryDark)' not found.
To Reproduce
Steps to reproduce the behavior:
1- Create empty compose app
2- Configure use of Locus
3- Try to build
This error appears when appcompat
and material versions are mismatched.
Make sure your app's build.gradle
file has this dependency.
implementation "com.google.android.material:material:1.4.0"
Perfect. Now works.