I don’t know whats wrong with my project, but sinc...
# compose
g
I don’t know whats wrong with my project, but since I changed from dev2 to dev3, my
setContent
en
Text
functions wont work/import. I tried to import gradle as using api/implementation, am I missing something? Dependencies:
Copy code
implementation 'androidx.ui:ui-layout:0.1.0-dev03'
implementation 'androidx.ui:ui-material:0.1.0-dev03'
implementation 'androidx.ui:ui-tooling:0.1.0-dev03'
l
You probably need
ui-framework
dependency
👍 2
s
Looking into the Jetnews sample project helped me a lot to migrate from
dev02
to
dev03
https://github.com/android/compose-samples/blob/master/JetNews/app/build.gradle
n
@Geert there are more dependencies on
dev-03
g
Yes, I missed framework indeed. Do you recommand to just import all of the dependencies (Jetnews example) or just the ones you need? Currently it is working with these 3 and ui framework
n
I did a presentation last Saturday but I didn’t have a chance to check which ones are required to do an specific work…
I put them all 😅
r
show
r
Copy code
implementation 'androidx.ui:ui-android-text:0.1.0-dev03'
implementation 'androidx.ui:ui-animation:0.1.0-dev03'
implementation 'androidx.ui:ui-animation-core:0.1.0-dev03'
implementation 'androidx.ui:ui-core:0.1.0-dev03'
implementation 'androidx.ui:ui-foundation:0.1.0-dev03'
implementation 'androidx.ui:ui-framework:0.1.0-dev03'
implementation 'androidx.ui:ui-layout:0.1.0-dev03'
implementation 'androidx.ui:ui-material:0.1.0-dev03'
implementation 'androidx.ui:ui-platform:0.1.0-dev03'
implementation 'androidx.ui:ui-test:0.1.0-dev03'
implementation 'androidx.ui:ui-text:0.1.0-dev03'
implementation 'androidx.ui:ui-tooling:0.1.0-dev03'
implementation 'androidx.ui:ui-vector:0.1.0-dev03'
Its overkill of course, and many things have changed, not all are well documented yet.