Android Studio does not recognize Kotlin code – (Arctic Fox)
After cleaning the Android-Studio cache (File-> Invalidate Cache/Restart) Kotlin code is not recognized by the Android Studio and code suggestions are not appearing. Thanks.
After cleaning the Android-Studio cache (File-> Invalidate Cache/Restart) Kotlin code is not recognized by the Android Studio and code suggestions are not appearing. Thanks.
Hello Stack Overflow, I'm new to Android! I'm designing two buttons, that one of them is above another button like two layers in Photoshop. Button ONE position in Android XML editor I cannot embed photos yet! And here's button ONE:…
I've got a bunch of onclicklisteners just like this, but this one just doesn't want to work for some reason, I'm sure I'm missing something obvious lol. All the button tryna do is logout. I know at this point that…
I am having some problems with my import statements of my view model class. If I clean or add a single line in the two ViewModels that causes the errors, and their dependencies, I can build one more time successfully.…
I want use android:onClick to access the functions at MainActivity from activity_main.xml but it's deprecated. Is there another way or replacement for onClick? Here the code: <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" android:orientation="horizontal"> <Button android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" android:textSize="30dp" android:id="@+id/btn00" android:onClick="click"></Button></LinearLayout> and my…
I'm a complete newbie to android development and I've been stuck on this problem for the past two days and I've never felt more frustrated in my life. A little backstory first, I'm creating the most basic Book Library app…
Empty spaces in recyclerView when trying to hide cards with null properties Hi, i'm new here. So this is my first question. I am trying to use the google Books API for a task and when I implement everything, I…
My problem is that when i want to press the button it should show the image from firebase. But every time the app crashes with this error "Default FirebaseApp is not initialized in this process com.example.example. Make sure to call…
I have updated my Android Studio to Artic Fox as well as Gradle wrapper to 7.0.2 (plugin 7.0.0) and JDK 1.8 -> 11. When I install a debug build on my device through Android Studio, it works, and no error.…
[Build file 'F:GOOGLE PROJECTSMusicPlayer-devappbuild.gradle' line: 1 A problem occurred evaluating project ':app'. Failed to apply plugin 'com.android.internal.application'. The option 'android.enableBuildCache' is deprecated. The current default is 'false'. It was removed in version 7.0 of the Android Gradle plugin. The Android-specific…