readium / r2-testapp-kotlin

BSD 3-Clause "New" or "Revised" License
134 stars 38 forks source link

build error on latest develop #426

Closed mrifni closed 3 years ago

mrifni commented 3 years ago

r2-testapp-kotlin/r2-testapp/build/tmp/kapt3/stubs/debug/org/readium/r2/testapp/reader/ReaderViewModel.java:5: error: cannot find symbol @kotlin.OptIn(markerClass = {Search.class}) ^ symbol: class Search[WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor (DYNAMIC).

mrifni commented 3 years ago

I guess its because test app develop branch is still using release 2.0 of the streamer and navigator

mickael-menu commented 3 years ago

If you use the develop branch of r2-testapp-kotlin, you need to use submodules to make sure you get the develop version of the other modules too.

It's not clear if Search is missing or kotlin.OptIn, in which case you need to make sure that your workspace is using Kotlin version 1.4.31 or more.

mrifni commented 3 years ago

If you use the develop branch of r2-testapp-kotlin, you need to use submodules to make sure you get the develop version of the other modules too. this done the trick, cheers