Kotlin Build APK From Android Studio


#1

I installed Kotlin on Android Studio and then created a simple app, but when I built the app into APK 'Build APK' and I installed it on my Android It brings up the message “App is not installed”, anyone knows why?


#2

I think it is not the fault of Kotlin (or Kotlin plugin). I am recently developing Android apps with Kotlin and nothing wrong occurred so far.
The followings may cause such problem:

  1. In your android device has already installed an app with the same package (app id) but diffrent singture.
  2. In your android device has already installed an app with the same package (app id) but higher version code.
  3. Your device is not prepared for debuging with computer. (is Developer options turned on? is there any securety options?)
  4. The min api level is higher than your device’s (if you are using old devices)