Questions tagged [android-debug]

The Android SDK provides most of the tools that you need to debug your applications. This tag covers debugging concerns when developing Android applications.

The Android SDK provides most of the tools that you need to debug your applications. This tag covers debugging concerns when developing Android applications.

More Info

426 questions
0
votes
0 answers

Java util ConcurrentException: ProcessException in android

I am getting frustrated. Everything was fine in my project. Then i wanted to implement google custom tab and added dependency. But as soon as I sync the project it is showing the error. I tried to remove the dependency but still the problem is…
0
votes
1 answer

How to solve Unchecked call to 'GsonRequest(Params)' as a member of raw type?

I'm having a warning on my editor. Unchecked call to 'GsonRequest(int, String, Class, Map, Listener, ErrorListener)' as a member of raw type 'com.inc.woppi.demoapp.GsonRequest' The GsonRequest class is copied from Android Dev:…
Woppi
  • 5,303
  • 11
  • 57
  • 81
0
votes
1 answer

The native application freezes when starting

I'm developing an android app which is contains native part. I can not debug the native parts and it does not give any errors. After I wait for a while when I start the application, it gives the following warning but it's not crashing just freezing…
mcemilg
  • 976
  • 1
  • 11
  • 18
0
votes
2 answers

how to show background color on row in listview which is get value from server in string format ? i think i am missing something

I want to show background color inside row in listview I send color code from PHP server for particular a row which is check condition and shows the background color on a row in the listview. I'm trying and spend 2 days but I didn't get anything. …
0
votes
0 answers

Android - Is there any debug/log tools to show activated xml name?

Currently if i click Activity Manager State inside Android Studio, i will able to see such log: TASK com.blogspot.diannaoxiaobai.myorig2 id=289 ACTIVITY com.blogspot.diannaoxiaobai.myorig2/.MainActivity 3c65e06 pid=15238 Local FragmentActivity…
林果皞
  • 7,539
  • 3
  • 55
  • 70
0
votes
1 answer

aLogcat not displaying stack traces of android app on samsung galaxy

I have put log messages in my android app and created APK file. I have then installed my android app on Samsung galaxy device. I have also installed aLogcat. when I run my app on Samsung and go to aLogcat, it is not displaying log messages.i have…
user1439582
  • 103
  • 2
  • 14
0
votes
1 answer

Android debugging return to same place

Lets say that I am developing/debugging an activity that in order to reach it I need to pass 4 screens. each time I run the app I need to start over. I tried using instant run but it is not always working. for now I wrote a dedicated code that…
Zeev G
  • 2,191
  • 21
  • 37
0
votes
1 answer

Why won't Android Studio debug on my Samsung phone?

When I click the debug button, the "Select Deployment Target" shows my phone as a connected device, and I select it. My phone is a Samsung J1 Ace (SM-J110F) with Android 4.4.4, API 19. I have run the app on it several times, even once this morning,…
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
1 answer

How to debug and resolve an NPE in AnimatorListener.onAnimationEnd

Please excuse me if this is simple to resolve. I'm really new to debugging and resolving situations like this. I'm really not sure where to begin to start tracking down this issue and sure of the architecture involved. It happens sporadically and…
0
votes
1 answer

Create file and check it in debug mode in Android Studio

I am using android studio and I debug using my connected device which is my phone. I was wandering after creating a file, how can I physically see that file. I mean not programmatically. Here is my code to copy an xml file to my internal memory.…
Sina aria
  • 125
  • 1
  • 5
0
votes
0 answers

GPU monitoring on a service android(live wallpaper)

So android studio has this really nice tool that can help you monitor and track GPU work, the problem is i cant get it to work on my live wallpaper app. I would like to see the stats when i debug my live wallpaper(All other debugging options work…
0
votes
1 answer

Android, find the method that causes UI hang

Sometimes scrolling my RecyclerView makes the entire UI unresponsive for a few seconds. I did use an AsynchronousTask to update the item and not to block onBindViewHolder. Is there any way to pinpoint at what method (or code line) the application…
Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
0
votes
2 answers

Android Studio debugger throws NullPointerException

This problem started yesterday, I try and press the "Debug" button for an app and In the event log I see: 11:24:34 AM NullPointerException: null and my app wouldn't start. I'm trying to debug on the Emulator, I tried restarting both AS and computer…
eric.itzhak
  • 15,752
  • 26
  • 89
  • 142
0
votes
1 answer

How to interact with 2 dialog fragment lifecycle on Android?

I'm very new to Android development. I have gone through many android tutorials and articles but I'm still a little bit confusing about my situation right now. What I need to do: I have two dialog fragment, f1 and f2. There is an audio playing in…
0
votes
2 answers

Android Google Services: API key and SHA-1 fingerprint for release and debug

I was able to build a release-apk successfully in android studios. My app uses some services from Google like Google App Invites and Google Places for Android. To get these services, I had to register a API key on the google developers console which…
Simon
  • 19,658
  • 27
  • 149
  • 217