Questions tagged [android-studio]
Use for questions about using Android Studio, an official IDE by Google targeted at Android app development. Do NOT use for questions about programming for Android in general; instead, use the [android] tag.
android-studio
90,757
questions
0
votes
0
answers
20
views
getting different boolean values while connecting to sql server
DatabaseConnection.kt
import java.sql.Connection
import java.sql.DriverManager
import java.sql.PreparedStatement
import java.sql.ResultSet
class DatabaseConnection {
fun validateUser(username: ...
1
vote
0
answers
41
views
I'm unable to accessing Codeium chat, Connection Error, Missing chat language server URL?
When I open Codeium Chat window on Android Studio, a Codeium chat window opens and fails to connect,
This is the error:
Connection Error
Missing chat language server URL. Please ensure that you are ...
-1
votes
0
answers
24
views
While building in andriod studio 2024 building failed [closed]
While building in andriod studio 2024 the app, it shows" app:processdebugresources" as failed. How to solve it?
i try clean project,synyc gradles
0
votes
0
answers
14
views
Cannot access 'com.unity3d.player.IUnityPlayerLifecycleEvents'
I am trying to export an Android project from Unity to use XR in an Android application. When I copy the project over from Unity, I am unable to reference com.unity3d.player....
0
votes
0
answers
21
views
Unresolved reference when adding module dependency in Gradle for Compose Multiplatform project
I'm having trouble resolving a module dependency in my Compose Multiplatform project. I have a module named designSystem under the path composeApp:core:designSystem, and I'm trying to include it in my ...
0
votes
1
answer
33
views
A problem occurred configuring project ‘:flutter_inappwebview_android’
Could someone help me with the following error in flutter when trying to build "There was a problem setting up project ':flutter_inappwebview_android'".
I have tried clean flutter, get pub, ...
-2
votes
0
answers
12
views
How to routing with OSM2po and pbf file in android? [closed]
I tried to test offline routing with PBF file in android studio. I read this link https://osm2po.de/ and tried this code:
public class Main implements Configurer {
final static String LOGLEVEL = &...
-1
votes
0
answers
24
views
Why my test-receive-notifications app needs multiple restarts to receive notifications?
I have this kotlin application. It's sole purpose is to test if the FCM notifications are received (so the most basic setup here) The problem I have and cannot get a root cause for this is that it ...
0
votes
0
answers
15
views
Flutter Plugin for Android not finding the "io" import (Kolin file highlighting broken) Android Studio
I'm trying to develop a android flutter plugin. The problem im encountering is that i cant't find a way to open up the android file that provides propper highlighting. The code in Kotlin works fine ...
0
votes
0
answers
20
views
Pub get gives me error and can't import libraries
First of all, thanks in advance for your time.
I just installed android studio and visual studio code. I followed all steps. PATH included... During the installation all went perfect. But some things ...
0
votes
0
answers
32
views
In Android Studio, flutter project hot reload is not working when saving files
Steps to Reproduce
In Android Studio, hot reload is not working when saving files.
Version info
flutter doctor -v
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.4.1 23E224 darwin-x64, locale en-CN)
...
1
vote
0
answers
28
views
How to get rid of HTTP Proxy authentication on Android Studio?
I am using Android Studio Koala | 2024.1.1
My proxy server doesn't have a password.
It always asks me for my username and password.
I've been suffering from this problem for a long time.
I tried a ...
-3
votes
0
answers
16
views
Android Studio Dormitory Reservation System [closed]
i would like to ask how can we do in our project that when the client clicked the button "RESERVE" it will notify the owner thru our application like "User1 Has applied for a ...
1
vote
0
answers
38
views
"run all tests" on Android Studio Koala not working
Android Studio Koala | 2024.1.1 Patch 1
Build #AI-241.18034.62.2411.12071903, built on July 11, 2024
Runtime version: 17.0.11+0--11852314 amd64
Windows 10.0
WSL2
When I try to "Run all tests&...
0
votes
0
answers
16
views
Mockito not able to mock Room Dao Class?
I have the following code to try and test my AppRepository class:
@RunWith(AndroidJUnit4::class)
@MediumTest
class AppRepositoryTest {
@Mock private lateinit var counterDao: CounterDao
@Mock ...