Questions tagged [android-monitor]

14 questions
10
votes
2 answers

Android Device Monitor dependency on legacy Java SE 6 runtime

With Android Studio v2.2, the DDMS is deprecated in favor of Android Device Monitor. But when I try to open the Monitor, it doesn't open citing that it is dependant on legacy Java SE 6 runtime which in missing in my Mac Os Sierra. This is crazy,…
4
votes
4 answers

Android studio 2.3 "Debug shows Connected and Disconnected lines but nothing in between"

I'm testing my app in a physical device On debug run Console $ adb push C:\Users\arjun\AndroidStudioProjects\Scol\app\build\outputs\apk\app-debug.apk /data/local/tmp/com.example.arjun.scol $ adb shell pm install -r…
2
votes
1 answer

Android device monitor using different java version from JAVA_HOME and Android Studio

I've got Android Studio 3.0 The settings in the Project Structure - JDK location - "C:\Java\jdk1.8" and there is my 1.8 jdk. But on this PC the JAVA_HOME variable is set to "C:\Java\jdk1.7". Then then I can't open the Android device monitor. I am…
Avtontom_
  • 305
  • 2
  • 6
  • 19
2
votes
1 answer

Why is the Android GPU monitor working for 6.0.1, but not 7.1.2?

I want to use the GPU monitor to view statistics for my app. However, I cannot get the GPU monitor to show any stats for my Google Pixel XL, running 7.1.2, only for my ASUS Nexus running 6.0.1. It is simply blank. In my project structure, the…
1
vote
1 answer

Reduce "code" memory usage

I'm monitoring the memory usage of my Android application through the Android Profiler and I see that my app is using more than 30MB of RAM for the code. But I don't have a clue on how to reduce the memory used by this code. Quoting the android…
MHogge
  • 5,408
  • 15
  • 61
  • 104
1
vote
2 answers

Need help figuring out why App keeps stopping when I click "Settings" Button

I receive the following error in Android Studio "Android Monitor" There's a lot of mumbo-jumbo but it's essentially saying the cause of the error is the following: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void…
iBEK
  • 622
  • 2
  • 8
  • 27
1
vote
2 answers

How to Monitor CPU/Memory/GPU Usage of an Android Device without Connecting it to a PC?

Based on my understanding of Android Monitor, an Android device needs to be connected to the machine that is running Android Studio in order to profile CPU/memory/GPU usage. Are there any methods that allow profiling an app without connecting it to…
Matt
  • 796
  • 12
  • 25
1
vote
1 answer

Why we are making index.android.bundle file while do changes in react native?

Every time I will need to make index.android.bundle file in android studio. Command 1: react-native bundle --platform --dev false --entry-file index.android.js --bundle-output android /app/src/main/assets/index.android.bundle/ --assets-dest…
Madhur
  • 1,702
  • 4
  • 23
  • 39
1
vote
0 answers

How to increase y-axis on Memory Monitor in Android Studio?

The app that I'm working on uses a lot of memory and as soon as it starts, I see this blue brick wall. Is there any way I can increase the y-axis of the plot to go over the 169MB shown here?
1
vote
2 answers

Why doesn't Android Debug mode and Android Monitor work together

Why do android studio close its monitor if I debug the application ? I need to change database table once I get results while debugging and then again debug , but the process goes like android debug closes the monitor as soon I start to debug .
Yatin
  • 2,969
  • 9
  • 34
  • 68
0
votes
1 answer

My app crashes and hangs after 30 seconds

I am getting this Log warnings 09-29 17:05:27.539 16093-19955/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message,…
Bilal Ujede
  • 39
  • 2
  • 6
0
votes
1 answer

How to log and view errors in Android Studio 3?

I just upgraded to Android Studio 3.0. After some changes to my app, I ran the application and got a crash on my phone. This was not unexpected, but when I opened the Android Profiler, which is supposed to replace the Android Monitor, I could not…
Sachin Rammoorthy
  • 1,355
  • 1
  • 7
  • 10
0
votes
2 answers

Logcat in Android Studio Android Monitor only runs once

I am new to Android Studio (running the latest updated version) however I am trying to debug with Android monitor and Logcat only seems to work once then stops reporting!!! This occurs for all my projects?!? If i restart Logcat it just clears the…
Benjamin Roberts
  • 476
  • 4
  • 12
0
votes
1 answer

Android monitor does show files

I am working on a DBMS project in Android using SQLite I want to see the database after its creation in the Data/data folder in Android monitor. I am using rooted Android device for running my app. I am unable to see the app files in Android monitor…