Questions tagged [android-debugging]

41 questions
0
votes
0 answers

Xamarin android debugging taking a lot of time?

I am creating an application in Xamarin Android, the problem is my application Takes a lot of time(around two to three minutes) for debugging even in second or plus attempt and even when I don't do any changes. I have enabled fast deployment in…
Asad Ullah
  • 465
  • 4
  • 10
0
votes
2 answers

Comparing different adb logs

Does anyone know of any proper way to compare adb logs of different timestamp? I normally use Beyond compare text compare option. but that will show all the lines as different since the timestamp will be different. If I want to compare the workflow…
0
votes
1 answer

Android Studio Variables not appearing in OnClickListener body

I'm working in android studio using the debugger. var loginButton = findViewById
Blue
  • 1,408
  • 4
  • 17
  • 36
0
votes
2 answers

Application not installed error Developing Android app

I developed an app recently and send it to a shop in our country called CafeBazaar to put it for sale but in an email they said: we installed this app on Huawei P8lite with android 6.0 and we got this error "Application not installed" Now I…
0
votes
0 answers

Android studio debug working on the main activity, but not do anything with other activities

I have a problem with Android studio 3.0.1, I'm trying to debug my app on virtual device. The debugger is stopped only on breakpoints in the Main Activity, but ignore all breakpoints in the other activities How to solve this?
0
votes
1 answer

Out of Memory Error while Debugging on android device

This is the error which appear while debugging on my android device. But, while running my application on the Emulator, it returns everything completely correct. E/AndroidRuntime: FATAL EXCEPTION: main java.lang.OutOfMemoryError …
Mohamed Atef
  • 69
  • 13
0
votes
1 answer

Unfortunately MusicPlayerApp has Stopped

Please help my app crashes this is my logcat at java.lang.reflect.Method.invoke(Method.java:372)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)  at…
0
votes
0 answers

Android 5 change reference object during debug

I want to change the reference object during debug. For example, I have a String object and I want assign it another value. When I change it with "Set Value... (F2)", the debugger shows a new value. But when I try to call some method (like…
0
votes
1 answer

Android crashed on waiting for debugger screen

IntelliJ is my android development IDE. And it help me to generate the apk. One situation is: The apk runs well when I debug with real phone. But if I use run model ,it does not work. Another situation is that: The apk runs well the first time ,but…
fcbflying
  • 693
  • 1
  • 7
  • 23
-1
votes
1 answer

Google Pixel 7 losing debugging connection in wireless debugging, also "Allow USB debugging" keeps on popping up cable connection

I have a Google Pixel 7 which I'm using for Android app development. I'm using it on 2 PCs, in both environment the phone produces the very same errors: When I connect it via USB cable it keeps popping up the "Allow USB debugging" dialog no matter…
Adam Varhegyi
  • 11,307
  • 33
  • 124
  • 222
-1
votes
1 answer

How to debug android apps running in background and Foreground

When we remove an app from foreground logcat gets full of other stuff.
1 2
3