All Questions
102 questions
0
votes
0
answers
49
views
How can i remove java’s own classes from the debugging in Kotlin?
How do I skip the java's own classes (ex: Activity.java) while debugging? In other words, how do I skip the debug part here? I only want to see the classes I wrote.
I tried to debug, but java's own ...
-1
votes
0
answers
39
views
Why does android LocationRequest run once instead of continuously in android studio?
I have implemented this request which previously worked and returned multiple locations but now it gets one then stops it seems. I can see with logs that I only receive 1 location update. I have ...
1
vote
0
answers
271
views
What could be causing Gradle to fail to resolve these dependencies?
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.github.warkiz....
0
votes
0
answers
42
views
Various errors when using debug mode in a new android studio project
Every time I open debug mode with any Java project with any launcher activity, if exception breakpoints enabled the app crashed. The exception location that is shown is in the ...
1
vote
1
answer
22
views
Understanding debugger output in Android Studio
I am setting up a simple example to show inheritance and polymorphism. I'm not sure how to explain the behavior I'm seeing in Android Studio debugger.
I have these two simple classes declared in an ...
0
votes
1
answer
860
views
Find who is making call to gms.persistent
I am working on a big java + kotlin codebase - it has services, activities, etc - which ultimately compiles to an Android apk. I am trying to improve performance of this app. I found that in Perfetto, ...
2
votes
0
answers
344
views
Fix "Waiting until last debugger command completes" in Android Studio?
My project in My Android Studio. Version of my android studio "Android Studio Flamingo | 2022.2.1 Patch 2"
When I try debug, after end progress, Android Studio shows this message:
Waiting ...
0
votes
0
answers
350
views
How to correctly duplicate an existing project in IntelliJ and launch on device
I want to use an existing Android application as the foundation of a new project in Android Studio, then wish to make changes to the code and create a new application which is completely unrelated to ...
1
vote
1
answer
182
views
Android Studio - destroying when not connected to debugserver
So I've started to create an application with some native C++ code in Android Studio. My phone is Realme 8i.
I've deployed my app to this phone. Everything works great until I try to debug my app.
...
1
vote
1
answer
2k
views
Android Studio error: android:exported needs to be explicitly specified ..... Android 12
I started programming with AndroidStudio today and a friend sent me a small sample app but I can't run any code because this error keeps coming up. I've been trying to solve it for about 3 hours now ...
0
votes
1
answer
316
views
How do I set Text size by emulator setting text size in android studio [closed]
I wanna change text size not by android:textSize but change in setting emulator front size
-1
votes
1
answer
31
views
How do I get my Android Intent to work properly?
I am making an intent for my application, however, everytime I enter my context, the IDE errors with java compilation errors. I have no idea how to fix this. Please help.
Code for MainActivity.java:
...
1
vote
0
answers
2k
views
com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store
I'm new tho android please help me to fix this issue.
when I debug apk with generate signed apk option. it will generate debug.apk successfully. I'm getting issue when I run project with my physical ...
0
votes
0
answers
109
views
crashing on opening HomeActivity
My app is working fine in my phone Xiaomi Redmi Note 8 pro, Redmi 7s, Redmi y2 and Samsung F41. But it crashes on startup in Samsung J7 Prime and Redmi 4. I installed it on my phone and in logcat ...
-3
votes
1
answer
53
views
I'm trying to run this code but I'm getting this as an error in Stack trace [duplicate]
I am trying to run a piece of code but the following stack trace is shown when running my program:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.mytrial, PID: 8868
java.lang....