All Questions
Tagged with debugging android-studio
706 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 ...
0
votes
0
answers
8
views
how to change uninstall_after_test: true to uninstall_after_test: false when debug by android studio?
I found apk was auto uninstalled after debug failed, so I try ./gradlew connectedDebugAndroidTest --info and here is I think why the apk was uninstalled:
apks_to_install {
apk_paths:
"/home/...
-1
votes
0
answers
40
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
32
views
Flutter inspector can't load and it stucks
Flutter inspector is not loading in one of my projects, it stucks in loading, see attached image.
I tried clearing cache, restarting, still does not work.
It's such a useful feature, debugging UI is ...
0
votes
0
answers
45
views
RN App crashes on start (Metro unable to connect)
I have upgraded my RN project from 0.66 to 0.68 and after that the app is unable to connect to the metro.
Also, the app does not display the below red error screen, the App directly crashes.
I have ...
0
votes
1
answer
82
views
Database inspector in Android Studio is not showing when I connect my device and run my application
Database Inspector is not working on my device with API level more than 26 since somedays earlier it was working perfectly. I tried everything that is available over internet, but nothing is helping ...
1
vote
0
answers
37
views
AndroidStudio debugger cannot debug armeabi-v7a devices
Android Studio Koala Feature Drop | 2024.1.2
NDK 26.1.10909125
plugins {
alias(libs.plugins.android.application)
}
android {
namespace 'com.example.androiddebug'
compileSdk 34
...
1
vote
1
answer
119
views
Android Studio Evaluate Expression issue
I am using Android Studio for Flutter development, and I can't debug code lately! I can set breakpoints but can't see what data is inside the object.
Ex: I have one object for (this happens for every ...
0
votes
0
answers
53
views
Android studio debugger not stopping on breakpoints in submodules in flutter project
So I have this flutter project that consists of 3 git repositories, 1 main repository and 2 submodules. the submodules are connected via symbolic links. I used to use Android Studio for developing, ...
2
votes
1
answer
86
views
How to prevent Android app from reverting to previous build?
I'm working on an android app. I'm using Jetpack compose and Kotlin and it is debug build. The issue is that if I install a version from android studio to my physical device using USB debugging, then ...
0
votes
0
answers
10
views
Android Studio debugging off
Something happened with my Android Studio.
Till now when I click debugging, showed a debugging window at the bottom, and I could see the values of the variables.
Now no debugging window, and not ...
1
vote
0
answers
64
views
Stay Awake in developer options turns on automatically
I turned off Stay Awake in developer options, but when ever I connect my phone to PC, running Android Studio, it turns on Stay Awake automatically, this will keep my screen on forever.
I checked ...
0
votes
0
answers
10
views
android studio iguana evaluate is now examine. How do I evaluate code
I noticed the evaluate window in the debugger has changed. I used to be able to put kotlin code into the window: eg "val x = list.sum(); x + accumulator" and I would get the sum of the ...
1
vote
0
answers
272
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
1
answer
36
views
How can I find logcat files if I delete them in Android Studio?
What program or code could I use to automatically save my logcat files in Android Studio?
I was doing a testcase and recording the console logs in Logcat, and when I found a bug, I was trying to get ...