skip to Main Content

Android Studio – Using kotlin 1.8.22 version using command prompt , toUpperCase() and toLowerCase() not working reason

fun main() { var txt = "Hello World" println(txt.toUpperCase()) println(txt.toLowerCase()) } Error: D:kt>kotlinc Upper_Lower_case.kt Upper_Lower_case.kt:4:13: warning: 'toUpperCase(): String' is deprecated. Use uppercase() instead. println(txt.toUpperCase()) ^ Upper_Lower_case.kt:5:13: warning: 'toLowerCase(): String' is deprecated. Use lowercase() instead. println(txt.toLowerCase()) Using kotlin 1.8.22 version using…

VIEW QUESTION

React native – ios error [!] Invalid `Podfile` file: unexpected token at 'TypeError: Cannot read properties of undefined (reading 'configurations')

npx pod-install Scanning for pods... 1.12.1 pod install [!] Invalid Podfile file: unexpected token at 'TypeError: Cannot read properties of undefined (reading 'configurations') at Object.dependencyConfig (/Users/dhanushraj/Desktop/PRO/mobile/app/node_modules/@react-native-community/cli-platform-ios/build/config/index.js:102:37) at /Users/dhanushraj/node_modules/@react-native-community/cli-config/build/loadConfig.js:47:61 at Array.reduce (<anonymous>) at getDependencyConfig (/Users/dhanushraj/node_modules/@react-native-community/cli-config/build/loadConfig.js:44:51) at Object.get react-native-splash-screen [as react-native-splash-screen] (/Users/dhanushraj/node_modules/@react-native-community/cli-config/build/loadConfig.js:99:18)…

VIEW QUESTION

BuildConfig could not resolve after upgrading Android Studio to Flamingo | 2022.2.1 Patch 1

My project ran on the device successfully but when I upgraded my project BuildConfig file did not resolve classpath 'com.android.tools.build:gradle:8.0.1' distributionUrl=https://services.gradle.org/distributions/gradle-8.0-bin.zip compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() } I have done Invalidate Caches... and…

VIEW QUESTION
Back To Top
Search