title: Kotlin start Application crash
body: <p>my application is built with kotlin,here is my build.gradle file:</p>
  
  <pre><code>compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  </code></pre>
  
  <p>and my workspace's build.gradle file:</p>
  
  <pre><code>ext.kotlin_version = '1.1.3-2'
  ext.kotlin_plugin_version = '1.1.1'
  dependencies {
      classpath "io.realm:realm-gradle-plugin:3.4.0"
      classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_plugin_version"
  }
  </code></pre>
  
  <p>in my project,I already use java8 with jack, so the gradle-plugin version can only be 1.1.1</p>
  
  <p>when I start my application, it crashes randomly,here is the log:</p>
  
  <pre><code>FATAL EXCEPTION: main                                                                                
  Process: com.ss.android.caijing.stock.debug, PID: 31962                                                                                 
  java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;                                                                                      
     at com.ss.android.caijing.stock.main.MainActivity.initData(MainActivity.kt:33)                                                                                      
     at com.ss.android.caijing.stock.base.BaseActivity.onCreate(BaseActivity.java:25)                                                                                      
     at android.app.Activity.performCreate(Activity.java:6367)                                                                                      
     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)                                                                                      
     at com.bytedance.frameworks.plugin.hook.InstrumentationHook$PluginInstrumentation.callActivityOnCreate(InstrumentationHook.java:248)                                                                                      
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2404)                                                                                      
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2511)                                                                                      
     at android.app.ActivityThread.access$900(ActivityThread.java:165)                                                                                      
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1375)                                                                                      
     at android.os.Handler.dispatchMessage(Handler.java:102)                                                                                      
     at android.os.Looper.loop(Looper.java:150)                                                                                      
     at android.app.ActivityThread.main(ActivityThread.java:5621)                                                                                      
     at java.lang.reflect.Method.invoke(Native Method)                                                                                      
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)                                                                                      
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)                                                                                      
  Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/com.ss.android.caijing.stock.debug-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ss.android.caijing.stock.debug-1/lib/arm64, /data/app/com.ss.android.caijing.stock.debug-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]                                                                                      
     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)                                                                                      
     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)                                                                                      
     at java.lang.ClassLoader.loadClass(ClassLoader.java:469)                                                                                      
     at com.ss.android.caijing.stock.main.MainActivity.initData(MainActivity.kt:33)                                                                                       
     at com.ss.android.caijing.stock.base.BaseActivity.onCreate(BaseActivity.java:25)                                                                                       
     at android.app.Activity.performCreate(Activity.java:6367)                                                                                       
     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)                                                                                       
     at com.bytedance.frameworks.plugin.hook.InstrumentationHook$PluginInstrumentation.callActivityOnCreate(InstrumentationHook.java:248)                                                                                       
     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2404)                                                                                       
     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2511)                                                                                       
     at android.app.ActivityThread.access$900(ActivityThread.java:165)                                                                                       
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1375)                                                                                       
     at android.os.Handler.dispatchMessage(Handler.java:102)                                                                                       
     at android.os.Looper.loop(Looper.java:150)                                                                                       
     at android.app.ActivityThread.main(ActivityThread.java:5621)                                                                                       
     at java.lang.reflect.Method.invoke(Native Method)                                                                                       
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)                                                                                       
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)                                                                                 
  Suppressed: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics not found                                                                                      
     at com.bytedance.frameworks.plugin.core.DelegateClassLoader.findClass(DelegateClassLoader.java:137)                                                                                      
     at java.lang.ClassLoader.loadClass(ClassLoader.java:511)                                                                                      
     at java.lang.ClassLoader.loadClass(ClassLoader.java:504)                                                                                                         
  Suppressed: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics                                                                                      
     at java.lang.Class.classForName(Native Method)                                                                                      
     at java.lang.BootClassLoader.findClass(ClassLoader.java:781)                                                                                      
     at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)                                                                                      
     at java.lang.ClassLoader.loadClass(ClassLoader.java:504)                                                                                                          
  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available                                                                                      
  Caused by: java.lang.reflect.InvocationTargetException                                                                                      
     at java.lang.reflect.Method.invoke(Native Method)                                                                                      
     at com.bytedance.frameworks.plugin.core.DelegateClassLoader.findClass(DelegateClassLoader.java:60)                                                                                                            
  Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList[[zip file "/data/app/com.ss.android.caijing.stock.debug-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ss.android.caijing.stock.debug-1/lib/arm64, /data/app/com.ss.android.caijing.stock.debug-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]                                                                                      
     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
  
  
   private var mPagerAdapter: MainFragmentAdapter? = null 
  </code></pre>
  
  <p>override </p>
  
  <pre><code>fun initData() { mPagerAdapter = MainFragmentAdapter(supportFragmentManager, this) }
  </code></pre>
  
  <p>the crash happens in the init of the mPageAdapter, the constructor of the MainFragmentPagerAdapter is below: </p>
  
  <pre><code>class MainFragmentAdapter : FragmentPagerAdapter { private val mContext:     Context constructor(fm: FragmentManager, context: Context) : super(fm) { mContext = context }
  </code></pre>
  
  <p>can somebody help me out,thx a lot!</p>