Kotlin: RegisterResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Question or issue of Kotlin Programming: Using new android studio with new 3.0.0 Gradle pluging. When building some warning happened:
Continue ReadingQuestion or issue of Kotlin Programming: Using new android studio with new 3.0.0 Gradle pluging. When building some warning happened:
Continue ReadingQuestion or issue of Kotlin Programming: After downloaded and installed latest Kotlin plugin I have Outdated Kotlin Runtime warning from Android Studio that telling me:
Continue ReadingQuestion or issue of Kotlin Programming: From Android 9 Pie now, requests without encryption will never work. And by default, the System will expect you to use TLS by default.You can read this feature here So if you only make requests via HTTPS you are safe. But what about apps that make requests through different […]
Continue ReadingQuestion or issue of Kotlin Programming: I am having issue with the new Android Navigation Architecture component when I try to navigate from one Fragment to another, I get this weird error:
Continue ReadingQuestion or issue of Kotlin Programming: Error:Execution failed for task ‘:app:compileDebugKotlin’. > Compilation error. See log for more details build:gradle(Module:app) buildscript { repositories { maven { url ‘https://jitpack.io’ url ‘https://maven.fabric.io/public’ } } dependencies { classpath ‘io.fabric.tools:gradle:1.+’ } } apply plugin: ‘com.android.application’ apply plugin: ‘kotlin-android’ apply plugin: ‘io.fabric’ apply plugin: ‘kotlin-android-extensions’ repositories { maven { url […]
Continue ReadingQuestion or issue of Kotlin Programming: How to get the index in a for each loop? I want to print numbers for every second iteration
Continue ReadingQuestion or issue of Kotlin Programming: I’m trying to rebuild my Android Studio Gradle project (containing mostly Kotlin code), but it started to throw an UnableToDeleteFileException during the cleaning/rebuilding process:
Continue ReadingQuestion or issue of Kotlin Programming: As the title, is there any way to call a function after delay (1 second for example) in Kotlin?
Continue ReadingQuestion or issue of Kotlin Programming: I am trying to set text in a EditText but it says:
Continue ReadingQuestion or issue of Kotlin Programming: How is it recommended to create constants in Kotlin? And what’s the naming convention? I’ve not found that in the documentation.
Continue Reading