Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
13 views

permission for saving pdf Android studio

i created a simple app that generated a pdf with 2 pages now i need to share the pdf and also save it in the device from what i already know it requires permissions to do that. i am new to this and ...
Jaimin Vashi's user avatar
0 votes
1 answer
15 views

Execution of Gradle Tasks and find out why are they executed

I'm currently doing a Udemy Course to learn Kotlin and I've a Question about Gradle and Tasks. I've tried HILT and had to add kapt to my Project (empty project with jetpack-compose). My app/build....
John Doe's user avatar
  • 135
0 votes
0 answers
40 views

Difficulties upgrading old project to Android 14

I am experiencing tremendous difficulties upgrading a project to Android 14. A little background into the project. The project currently cannot be upgraded past Java 15 , API Level 33 and Gradle 7.0.2 ...
Julian Silvestri's user avatar
0 votes
0 answers
9 views

Issue of default scripting plugin getting disabled

Hey I'm getting and error like this when i'm trying to run my app in android studio warning: default scripting plugin is disabled: The provided plugin org.jetbrains.kotlin.scripting.compiler.plugin....
Mathew's user avatar
  • 1
0 votes
1 answer
16 views

Dinamically Change the Image from a imageview that is in a recyclerview from the adapter

this stuff is beating me for hours. I want to change the image on a imageview that is inside a recyclerview from the adapter. The name of the image is coming from firebase (in the field Time from the ...
Alexandre Leitão's user avatar
0 votes
0 answers
31 views

Android Studio : The application could not be installed. Device went into offline mode after running MainActivity

I have been installing a debug app on my physical Android phone, but today it suddenly stopped working and showed this error: "The application could not be installed". There is no error log ...
NhVNgn's user avatar
  • 1
0 votes
1 answer
14 views

java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked

I got this error when I use JUnit5 for Unit testing: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. at android.os.Looper.getMainLooper(Looper.java) at androidx.arch....
Mona Baharlou's user avatar
0 votes
0 answers
20 views

Getting error " application installation failed " in android studio while using it with kotlin

I have just started with kotlin in android studio, and i am constantly getting encountered by error "The Device already has newer version of this application. In order to proceed, you will have ...
Srujan Deshmukh's user avatar
0 votes
0 answers
23 views

Android Studio error: ENOENT (No such file or directory) for file that exists

I am working on an app that has a "report" object. The idea is to be able to export the report to a .txt file as a JSON to external storage (public), and it should also be able to read .txt ...
Siddhant Samarth's user avatar
0 votes
1 answer
22 views

Adding Bottom Navigation to Existing Project Built with Activities (Android)

Several years ago I built an application using a few different Activities to handle different screens throughout my app (I was a complete beginner at Android app development). As time progressed, so ...
user3221892's user avatar
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: ...
lokesh peddamalla's user avatar
-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
Amal Devasya's user avatar
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....
Kasey Chakos's user avatar
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 ...
Hossam Sadekk's user avatar
-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 ...
fewfew's user avatar
  • 289

15 30 50 per page
1
2 3 4 5
421