Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. Receiver: HashMap arguments: (String,Int?)Į: /home/XXXXXXXXXXXX/flutter/.pub-cache/hosted//camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (427, 23): Type mismatch: inferred type is ByteBuffer? but ByteBuffer was expectedĮxecution failed for task ':camera_with_rtmp:compileDebugKotlin'. Receiver: MutableMap arguments: (String,Int?) Receiver: MutableMap arguments: (String,Any) Expected type mismatch: inferred type is Int? but Int was expectedĮ: /home/XXXXXXXXXXXX/flutter/.pub-cache/hosted//camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/CameraUtils.kt: (51, 13): Type inference failed: Cannot infer type parameter V in inline operator fun t(key: K, value: V): Unit Setting up IntelliJ IDEAįollowing is a guide on how to setup IntelliJ IDEA Community edition after installation.E: /home/XXXXXXXXXXXX/flutter/.pub-cache/hosted//camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (682, 45): Type inference failed. You can also use an online compiler to run the Kotlin codes. I will be using the IntelliJ IDEA Community edition which is completely free. Once, you are done with the JDK, you can run Kotlin programs from your terminal or any IDE of your choice. In this series, we will discuss the Kotlin for JVM.īefore getting started, make sure you have JDK version 8+ installed in your system else visit OpenJDK’s official website and install it in your respective systems. Kotlin mainly targets the Java Virtual Machine but can also be compiled to JavaScript or native code. It is primary language for Android application development since 2017. If you have not read my previous article where I described I migrated from Java to Kotlin, I highly suggest you to give it a look by clicking here.įor those who still do not know what Kotlin is, it is a statically-typed, general-purpose programming language developed by JetBrains and is completely open-sourced.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |