kotlin - Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lorg/jetbrains/anko/collections/CollectionsKt; -


i tried creating simple kotlin program i'm encountering unknown errors , them.

here gradle file , code i'm using:

import android.support.v7.app.appcompatactivity import android.os.bundle import org.jetbrains.anko.button import org.jetbrains.anko.edittext import org.jetbrains.anko.verticallayout  class mainactivity : appcompatactivity() {      override fun oncreate(savedinstancestate: bundle?) {         super.oncreate(savedinstancestate)         verticallayout {             edittext()             button("ok")         }     } } 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -