title: Service error "... has no zero argument constructor"
body: <p>I want start a service, I use:</p>
  
  <pre><code>inner class HomeService : Service() {
      override fun onBind(intent: Intent?): IBinder? {
          return null
      }
  
      override fun onCreate() {
          super.onCreate()
      }
  
      override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
          notification(light.toString())
          return START_STICKY
      }
  
      override fun onDestroy() {
          super.onDestroy()
      }
  }
  </code></pre>
  
  <p>start it:</p>
  
  <pre><code>val i = Intent(this@Main3Activity, HomeService()::class.java)
  startService(i)
  </code></pre>
  
  <p>after my app crashed, logcat return:</p>
  
  <blockquote>
    <p>java.lang.Class
    has no zero argument constructor
            at android.app.ActivityThread.handleCreateService(ActivityThread.java:3201)
            at android.app.ActivityThread.-wrap5(ActivityThread.java)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1586)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:154)
            at android.app.ActivityThread.main(ActivityThread.java:6186)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
         Caused by: java.lang.InstantiationException: java.lang.Class
    has no zero argument constructor
            at java.lang.Class.newInstance(Native Method)
            at android.app.ActivityThread.handleCreateService(ActivityThread.java:3198)
            at android.app.ActivityThread.-wrap5(ActivityThread.java) 
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1586) 
            at android.os.Handler.dispatchMessage(Handler.java:102) 
            at android.os.Looper.loop(Looper.java:154) 
            at android.app.ActivityThread.main(ActivityThread.java:6186) 
            at java.lang.reflect.Method.invoke(Native Method) 
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) 
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)</p>
  </blockquote>
  
  <p>what should I do?</p>