Additionally, I expect `android.xxx.` symbols will...
# android
a
Additionally, I expect
android.xxx.
symbols will be visible in the
androidMain
code but compiler does not find them in my case. How is it supposed to implement
actual
methods if I need android namespace methods?
l
Are you using
android()
target in your gradle build config?
a
Yes, but
fromPreset(presets.jvm, 'android')
. Does it make a difference? I have also learned that I need to
apply plugin: 'com.android.library'
but the project still does not compile
l
Yes, a big one, the jvm preset is jvm, not android
@Andy Victors Use
android()
, or
fromPreset(presets.android, 'android')
a
Thank you, indeed, using jvm preset should have been the root of all my problems. it works now!