darkmoon_uk
10/16/2024, 7:10 AM8.6.1
- any common causes? Android Preview worked once and never since!
Cleaned project, still the same.Giorgi
10/16/2024, 8:28 AMGiorgi
10/16/2024, 8:33 AMwwalkingg
10/17/2024, 1:35 AMdarkmoon_uk
10/17/2024, 1:36 AMAndy Dent
10/17/2024, 4:53 AMAndy Dent
10/17/2024, 6:41 AMcompose-plugin = "1.7.0-alpha01"
(in libs.versions.toml)
Iāve been back and forth trying this out and neither 1.7.0-rc01
nor 1.7.0
work with Android previews in Fleet.
Note that you also need to do an Android build after changing this version. It seems to work OK if just build and run in Fleet but Iāve found things more robust if I run Android Studio and do a Clean then Run in there.darkmoon_uk
10/17/2024, 6:42 AMAndy Dent
10/17/2024, 7:00 AMAndy Dent
10/17/2024, 7:13 AMAndy Dent
10/17/2024, 7:14 AMAndy Dent
10/17/2024, 1:31 PMAndroid Studio previews are available only for composables in Android source sets. They also require one of the latest versions of AGP: 8.5.2, 8.6.0-rc01, or 8.7.0-alpha04.So the big fix in my list of changes above is probably the agp bump up from 8.2.2 (the gotcha being that it worked fine with 1.7.0-alpha01)
darkmoon_uk
10/17/2024, 10:57 PMdarkmoon_uk
10/18/2024, 12:16 AM8.7.0-alpha04
but Fleet just ignores it, always saying 8.7.0
is incompatible. I may just have to give up on Preview for now and revert to running the App, it's slow but this is slower. What a waste of time.Andy Dent
10/18/2024, 2:52 AMAndroid preview as below in Fleet - AGPsorry hadnāt noticed in your earlier post that point. OK, so itās not just that I updated to AGP 8.6.1 that fixed things. Itās something about the combination of stuff (he says hopefully)- any common causes? Android Preview worked once and never since!8.6.1
darkmoon_uk
10/18/2024, 2:53 AM