Menu
  • HOME
  • TAGS

Android Device Monitor doesnt open - error on log file

android,android-studio,runtime-error,ddms

If you are on windows try opening your Android Studio in Administrative Mode (Run as administrator)

Android memory leak on textview - LeakCanary (Leak can be ignored)

android,memory-leaks,ddms,android-memory,leakcanary

From AndroidExcludedRefs.java: // TextLine.sCached is a pool of 3 TextLine instances. TextLine.recycle() has had at least two // bugs that created memory leaks by not correctly clearing the recycled TextLine instances. // The first was fixed in android-5.1.0_r1: // https://github.com/android/platform_frameworks_base/commit // /893d6fe48d37f71e683f722457bea646994a10bf // The second was fixed, not released yet:...

Data folder not opening in File Explorer

java,android,eclipse,sqlite,ddms

You do not have permissions to view the directory contents. To verify from the command line: adb shell cd data ls <-- Probably yeilds opendir failed, Permission denied If you can't access it via adb, DDMS won't do much better. If you're phone is rooted, you can do adb root...

How does traceview work in Eclipse?

android,eclipse,ddms

OK, I'm answering my own question. If you want to know how something works, you the best read the source code. The source code can be found here : https://android.googlesource.com/platform/sdk/+archive/796b6c0491833587ba096a33bd0d34329f6213c5/ddms.tar.gz It's actually the code of DDMS. When you are reading the code, you can find even more useful information in...

My Activity cannot be connected with my Database

java,android,database,sqlite,ddms

You are passing database name as null in line db = new MyDatabase(this, null); I can not see code to create 'kategori' table and in query you are trying to get data from table name as 'kategori' String query = "SELECT _id FROM kategori"; which do not exists.. Change...

Unable to open DDMS in Android Studio. Mysterious Eclipse error pops up

android,eclipse,android-studio,ddms,android-sdk-tools

I think the problem is about your %20 in your name, then you can try it out this answer, it seems like yours : I've just come across this problem too. My workaround was to create a symbolic >directory link from "Test%20User" to "Test User". Open a command prompt as...

How to stop video on Android after calling ddmlib's startScreenRecorder method?

android,video,record,ddms

I know I can stop it by IShellOutputReceiver. When I want to stop it, its "isCancelled()" method has to return true.

Android Studio Ubuntu - Android Device Monitor - Empty View

android,android-studio,ddms

now i am trying to find the corresponding Ubuntu file location corresponding to the file shared earlier in this post. That would be ~/.android/monitor-workspace/. In general, the .android directory will be in ~ on OS X and Linux, and in %USERPROFILE%\ (e.g., C:\Users\my_user\) on Windows....

I cannot view any folders (or it shows it as empty) in my ddms - at data/data - even though the file path saves to that location

java,android,eclipse,ddms

On rooted device you can do this: Open cmd Type 'adb shell' su chmod 777 /data /data/data /data/data/com.application.pacakage /data/data/com.application.pacakage/* Press 'Allow' on device Go to the DDMS view in Eclipse After this you should be able to browse the files on the device. If it returns permission denied on su...