Android Studio red display…?

Hiii, I recently downloaded Android Studio and am currently following a few YouTube tutorials. This project is from the video https://youtu.be/atw2uYyX1ps?si=w2RXykDO1-j1njTa starting at minute 9:30. Unfortunately, I'm having the problem that, due to the newer version of the program, some functions are probably different… for example, the two terms "layout" and "amount" are displayed in…

File upload with webview?

Hello, I'm currently experimenting with WebView in Android Studio. I have a problem. I have a file upload form on my website. It works fine outside of WebView, but it doesn't work at all in WebView. Can someone help me? package com.example.bierausdemschlauch; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import android.webkit.WebChromeClient; //…

What can I do if I get the following error in Android Studio?

I get the following error message when committing in Android Studio: Running git pre-commit hook *************************** > Task :buildSrc:compileKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':buildSrc:compileKotlin'. > Error while evaluating property 'compilerOptions.jvmTarget' of task ':buildSrc:compileKotlin'. > Failed to calculate the value of property 'jvmTarget'. > Unknown…

Create a text file in Android Studio (Java) and save it with your own extension?

How can you take a plain text file (or similar file type) in Android Studio, write a string (an object converted to a JSON string using gson), and then save the file with its own file extension? And if possible, save it as a document, since according to Google, you don't need permission to save….