Hi,
I tried to run hello world program using tutorial kart. The link is:
Android Programming usingKotlin Tutorial
It does not ask to write any code nor does it ask for altering any built in code. I ran it by connecting both by mobile phone and using emulator.
Error log when connected to mobile ph:
“Session app” Error installing APK
Error log file shows :
12:30 PM Gradle build finished in 21s 332ms
12:33 PM Instant Run is not supported on devices with API levels 20 or lower.
(Don't show again)
12:33 PM Executing tasks: [:app:assembleDebug]
12:34 PM Gradle build finished in 1m 33s 345ms
12:34 PM Session 'app': Error Installing APK
Error log file when connected to emulator:
Error log file while running using an emulator (visual studio android 23 arm ph)
12:34 PM Session 'app': Error Installing APK
12:44 PM Executing tasks: [:app:assembleDebug]
12:44 PM Emulator: emulator: WARNING: UpdateCheck: Failure: Error
12:45 PM Emulator: Process finished with exit code -1073741819 (0xC0000005)
12:46 PM Gradle build finished in 2m 0s 438ms
Also another run:
12:57 PM Executing tasks: [:app:assembleDebug]
12:57 PM Emulator: emulator: WARNING: UpdateCheck: Failure: Error
12:57 PM Gradle build finished in 10s 856ms
12:58 PM ADB rejected shell command (getprop): closed
12:58 PM Emulator: Process finished with exit code -1073741819 (0xC0000005)
Files:
activity_main.xml
main_activity.kt
package com.example.hp.kotlinandroiddemotk
Some body please guide me.
Zulfi.