Skip to content

Instantly share code, notes, and snippets.

@rayshih
Created August 2, 2015 08:16
Show Gist options
  • Save rayshih/8beb993eaff6d7a0372d to your computer and use it in GitHub Desktop.
Save rayshih/8beb993eaff6d7a0372d to your computer and use it in GitHub Desktop.
package com.rayshih.scala_example
import android.app.Application
import android.content.Context
import android.support.multidex.MultiDex
class MyApp extends Application {
// add this
override protected def attachBaseContext(base: Context) = {
super.attachBaseContext(base)
MultiDex.install(this)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment