https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

gaetan

07/19/2018, 11:07 AM
I did it manually by adding gradle build files to a bigger project. You have to use :``` apply plugin: 'kotlin-platform-android' ```
👍 1
b

bffcorreia

07/19/2018, 1:01 PM
Hi Gaetan. Thx for your reply. So, there is no simple way to add an Android module to the project? I need to add a gradle build file, manifest, src, res and test folders manually?
g

gaetan

07/19/2018, 9:50 PM
In fact, I created a library and an app using Android studio and then I moved them into a multiplatform project and added the kotlin-platform-android plugin.
b

bffcorreia

07/20/2018, 4:27 PM
That’s exactly what I’m trying to do. Thx 🙂 Now, I have another problem. After creating the Android project and add it to the multiplatform project I’m trying to edit the configurations to run the Android app but I always get the error:
Module not specified
. Any hint on this problem?
4 Views