skip to Main Content

Android Studio – Unable to launch Kotlin REPL: CommandLineWrapper is ill-suited for launching apps

I'm trying to use the Kotlin REPL within Android Studio. However, when I open it, I get the following output: "E:Program FilesAndroidArctic Foxandroid-studiojrebinjava.exe" -Dkotlin.repl.ideMode=true -Dfile.encoding=UTF-8 -classpath "E:Program FilesAndroidArctic Foxandroid-studiolibidea_rt.jar;C:UsersmeAppDataLocalTempclasspath901685403.jar" com.intellij.rt.execution.CommandLineWrapper C:UsersmeAppDataLocalTempclasspath901685403.jar org.jetbrains.kotlin.cli.jvm.K2JVMCompiler `CommandLineWrapper` is ill-suited for launching apps on Java…

VIEW QUESTION

Android Studio – Using GridView in XML, getting java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView

Every time I try to start my app it crashes leaving this message in logcat Caused by: android.view.InflateException: Binary XML file line #15 in com.example.connect3game:layout/activity_main: addView(View, LayoutParams) is not supported in AdapterView Caused by: java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported…

VIEW QUESTION
Back To Top
Search