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
1 answer

beginner - issue when moving from one activity to another

I'm very new to application development and I'm getting an error of Application has stopped unexpectedly when moving between secondActivity and threelayer. Code for the both follows below: SecondAcivity package com.example.expandinglists; import…
joebegborg07
  • 821
  • 3
  • 14
  • 27
0
votes
2 answers

Tool to Check if code contains higher API calls than minimum level

I am working with a large project, which has a minimum API level:16. however, I came across API usages that are above API level 16. Is there any tool in Android studio or elsewhere, other than testing with a device, to check if the code doesn't…
rgv
  • 1,186
  • 1
  • 17
  • 39
0
votes
1 answer

RecyclerView smoothScrollToPosition bug

I have a RecyclerView with GridLayoutManager and a button, when i click the button i want to smoothScrollToPosition. My custom view is simply a RelativeLayout containing a TextView. When i run the program on Lollipop everything's fine, i press the…
0
votes
0 answers

Eclipse automatically creates a breakpoint in ThreadPoolExecutor class

I am creating an app in which I'm calling an asmx service. Service works fine in browser, but in android every time I run my app eclipse will create automatic breakpoint in ThredPoolExecutor class[ in runWorker() method at w.lock()]. I tried to…
user3527400
  • 35
  • 1
  • 8
0
votes
1 answer

Online Device Not visible on Eclipse Android Device Chooser

I have been trying to run my android project on different devices but my Android Device Chooser doesn't seem to be detecting them. USB Debugging is enabled on my device. The Minimum API version is 10 and Target API version is 19. I have tried all…
glo
  • 1,408
  • 3
  • 25
  • 54
0
votes
2 answers

Why does visual studio 2013 run adb.exe when I try to debug using an android device?

I have a Sony Xperia Z3 and I'm trying to debug an Apache Cordova application aka: Multi-device hybrid application on my device but visual studio builds and then opens adb.exe after the build is complete. It doesn't launch the application on my…
0
votes
0 answers

Android Studio - Local path doesn't exist. (debug using an Android phone)

I have been trying to use my phone to debug, and keep getting the error "Local path doesn't exist." Waiting for device. Target device: htc-htc_one_mini_2-SH45LWR05741 Uploading file local path:…
user3461933
  • 33
  • 1
  • 6
0
votes
3 answers

what does this error means?

i got lots of crashes on lots of devices but on my device(lg p920) it works fine. the below report is from goggle play my app crashed and got 6 reports. by the way i use sql pre created database.and also created android_metadata table and locale…
0
votes
2 answers

android-NullPointerException on settext for a textView

I've published an application , it's been downloaded about 5000 times . I've tested it on 4 different devices and lot more people said that it works fine , although , there are some users that app caches for them . this is the code : TextView tv =…
Navid Abutorab
  • 1,667
  • 7
  • 31
  • 58
0
votes
1 answer

edittext not getting editable from read only mode dynamically

I am trying to make edittext editable after a button click. Below is my code snippet. Before click event: name_value = (EditText)…
kavuru
  • 379
  • 3
  • 4
  • 14
0
votes
2 answers

debugging step by step android system (audioflinger)

I'm currently working on an android rom, and i would want to know if it's possible to debug some part of the system with debug tools like gdb?... Or do you know how contributors that propose/add patch to the android source code test there own code…
CollioTV
  • 684
  • 3
  • 13
0
votes
0 answers

Starting New Activity is not working

I wrote an application in which a new activity should start,and the activity did not start when i ran the application on my device. I tried to debug that using debugger, the debugger gave me a result telling me that "Source is not found" in a new…
doubleH90
  • 163
  • 4
  • 17
0
votes
1 answer

Aren't all Android tablets supposed to be recognized by ADB/Android studio?

I have a Nexus 7 which is recognized just fine, but I'm trying to get a 10" to work with and have been through two (iRulu and e-Passion (running KitKat), neither of which show up in ADB or are recognized as a connected device in Android Studio. …
Tab
  • 155
  • 9
0
votes
2 answers

How to run specific Activity first?

I'm writing android app and currently debugging some functionality which runs on Activity X. Activity X depends on some value from Activity Y, which depends on Activity B, which runs when I click button on Main Activity. It's really painful…
fenix
  • 1,716
  • 2
  • 20
  • 26
0
votes
1 answer

New to Android: debugging

So I am almost totally new to Android Development. I played around with it a long time ago in the Froyo days but it's so different now and it has been so long that I am basically new to the whole thing. So, I am trying to get a Camera application…
Luke
  • 2,434
  • 9
  • 39
  • 64