scala - How to set multi-dex in Intellij -


i have scala sbt android project have imported intellij. builds fine using sbt when compile intellij following error:

error:android pre dex: [scala-compiler-2.11.7.jar] trouble writing output: many method references: 69269; max 65536. error:android pre dex: [scala-compiler-2.11.7.jar] may try using --multi-dex option. ... 

i can't find way of setting 'multi-dex' option however. in modules under project structure have clicked 'enable multi-dex support' no avail. tried adding below build.scala still no success:

dexmulti := true, dexadditionalparams := seq("--multi-dex"), 

how can pass --multi-dex option pre-dex?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -