https://kotlinlang.org logo
#compose
Title
# compose
j

jaqxues

08/28/2020, 7:43 PM
Having an issue with getting started with Compose. I only copy pasted these dependencies and configs in an existing project https://developer.android.com/jetpack/compose/setup
@Diego Pappalardo you should reply here that works
d

Diego Pappalardo

08/28/2020, 7:53 PM
the sample app works?
File -> New -> New Project -> Empty Compose Activity
j

jaqxues

08/28/2020, 7:59 PM
yes the sample app does work
d

Diego Pappalardo

08/28/2020, 8:04 PM
something in your app is not compatible, maybe some dependency
Copy code
sun.rmi.transport
maybe?
j

jaqxues

08/28/2020, 8:08 PM
updated gradle and build tools plugin
💥 1
now i have issues with kotlin-android-extensions
Copy code
e: java.lang.AssertionError: Unbound symbols not allowed
	Unbound public symbol for public kotlinx.android.synthetic.main.app_bar_main/toolbar.<get-toolbar>|8602296731635469777[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.activity_main/drawer_layout.<get-drawer_layout>|2810292106632111586[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.activity_main/nav_view.<get-nav_view>|-2130019291970725765[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.frag_pack_downloader/txt_last_checked.<get-txt_last_checked>|8145968925342224461[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.frag_pack_manager/view_pager.<get-view_pager>|4158410468220309091[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.frag_pack_manager/tab_layout.<get-tab_layout>|3732270423893646307[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.frag_pack_manager/txt_app_version.<get-txt_app_version>|-8017951905265989129[0]
	Unbound public symbol for public kotlinx.android.synthetic.main.frag_pack_manager/txt_sc_version.<get-txt_sc_version>|4545408621482236886[0]
👍 1
n

Nemanja Mladenović

08/31/2020, 7:11 AM
@jaqxues have you managed to solve it?
d

Diego Pappalardo

08/31/2020, 1:00 PM
don't updated gradle and build tools plugin, that will fix it
n

Nemanja Mladenović

08/31/2020, 2:25 PM
can I use compose if I don't update ?
d

Diego Pappalardo

08/31/2020, 2:26 PM
create a new project haha
n

Nemanja Mladenović

08/31/2020, 2:26 PM
😄
j

jaqxues

08/31/2020, 5:09 PM
@Nemanja Mladenović had a few other hiccups, for example the android-kotlin-extensions gradle plugin doesnt work with new gradle and everything, so i rewrote quite a bit