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

Testing android apps with TDD vs Debugger

I would like to ask something interesting. When I am developing native android apps,and want to make sure that there no null objects,I use the debugger as shown. So I put a break point in the line I want,I step over my code and the fun begins:).…
Theo
  • 3,099
  • 12
  • 53
  • 94
-1
votes
1 answer

Run and Debugging Application using hardware device but its showing usb device not recognized

I am trying to run and debug android project using hardware device. I have Huawei P8 Lite and whenever i enable developer mode and usb debugging from my phone, it shows the message that usb device not recognized. It happens just when i enable usb…
-1
votes
1 answer

Modifying shared preference on run?

I want to know is there any tool which allows me to change the value of shared preferences of an installed Android app?
sv_jan5
  • 1,543
  • 16
  • 42
-1
votes
1 answer

How come I can't see my android device anymore on Android Studio?

Just yesterday I updated Android Studio. Before I updated it everything was working fine, meaning I was able to use my Samsung Galaxy S4 to debug my apps with no problem. After the update, Android Studio no longer sees my device when I try to debug.…
-1
votes
1 answer

Android app crashes on release mode

I have tested my android app(debug-apk) on android devices it's working fine but it is crashing in release mode. I think it is problem in configuration but i am unable to recognise it. Please suggest. Caused by:…
dharmendra vaishnav
  • 1,851
  • 2
  • 17
  • 23
-1
votes
3 answers

Problems with locating ArrayAdapter creation

this is the result of the Logcat that I'm currently getting: E/AndroidRuntime( 8814): java.lang.NullPointerException E/AndroidRuntime( 8814): at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394) E/AndroidRuntime( 8814): …
Filnik
  • 352
  • 1
  • 12
  • 33
-1
votes
2 answers

Title: How to differentiate sub package and main package name in android?

Problem: I'm developing content display app. Now I want to enable GCM push notification app, for that I downloaded a sample project from…
Neal
  • 194
  • 3
  • 15
-1
votes
1 answer

Android error when I set android:debuggable = "false" or "true"

Please help me to solve this error. When I put debuggable, the error appear like this "Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one". So i don't know what to do.... Anyone can help…
thet
  • 21
  • 1
  • 5
-1
votes
1 answer

Error when trying to Debug Android app

Please help.!! I'm getting the error posted in the image when i try to debug my app, it was working fine and now i cant find the problem.. Any suggestion?? The app stucks in waiting for device for debugging. but it works fine if i run the app in…
gustav12
  • 327
  • 3
  • 20
-1
votes
3 answers

android : Need Same output in all the screen sizes

I am defining a layout using relative layout using 320*480 size. I am using "dp" while defining the length and width of the elements. However when I try to check with a different size say 1024*600 or 480*800. I am getting a strange output. I need…
iappmaker
  • 2,945
  • 9
  • 35
  • 76
-2
votes
0 answers

Lack of libraries build source ADB using gcc

I download the source code here: https://android.googlesource.com/platform/packages/modules/adb/. I build the source code but it gives an error of missing libraries. For example string_view, ... and many other libraries. where do i download those…
Phong
  • 1
-2
votes
1 answer

UninitializedPropertyAccessException while working with lateinit

I'm working on Android development using Kotlin, and encountering an issue with a lateinit var named polyline. The error I'm getting suggests that even though I assigned a value to polyline inside a function called from the onCreate, the app is…
kosi
  • 1
  • 1
-2
votes
1 answer

What could be the cause of this error? (Kotlin) (AndroidRuntime: FATAL EXCEPTION: main)

I got the following error while debugging my app: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.studycountdowntimer, PID: 16161 java.lang.RuntimeException: Unable to instantiate activity…
devAndre
  • 1
  • 5
-2
votes
1 answer

Is there a way to know what all functions are called when a certain action is done by the user in an android application?

I am a beginner android developer and trying to fix some bugs in the app. I was using Android Studio Debugger to manually put breakpoints and see how the execution was going. This process was working fine for me until now, when I am in a situation,…
k786
  • 1
  • 3
-2
votes
1 answer

How to debug android app on dell inspiron 3542?

This may sound silly but I already know how to debug apps using android studio both on mobile and emulator. My problem is that currently my mobile usb mechanism is damaged so my laptop unable to recognize it even for file transfer. and I can't use…
1 2 3
28
29