logcat

Unable to run Linphone-android source code on actual device

て烟熏妆下的殇ゞ 提交于 2019-12-05 08:24:28
I have downloaded the Linphone-android source code using git clone. When I imported the source codes into eclipse, there were no errors found. I then tried to run the app on the actual device, however, the app was unable to load and it crashed. Here is the logcat of the errors. May I know how to resolve this issue? And what is causing this issue? 04-09 11:19:37.332: E/AndroidRuntime(9930): FATAL EXCEPTION: main 04-09 11:19:37.332: E/AndroidRuntime(9930): java.lang.ExceptionInInitializerError 04-09 11:19:37.332: E/AndroidRuntime(9930): at java.lang.Class.classForName(Native Method) 04-09 11:19

What does the logcat warning `Unknown element under <manifest>: meta-data` mean?

假如想象 提交于 2019-12-05 07:40:34
While running a a freshly installed app, I find this Warning messages in the logcat: W/PackageManager( 1233): Couldn't remove dex file for package: at location /data/app/xx.yy.zz-1/base.apk, retcode=-1 I/SmartHeartBeat( 1233): listenAppUpdate, package: xx.yy.zz has been Updated W/PackageParser( 2909): Unknown element under <manifest>: meta-data at /storage/emulated/0/xxx/zz.apk Binary XML file line #143 Trying to track down the offending meta-data element tagged Binary XML file line #143 , I find the following: # aapt l -a zz.apk AndroidManifest.xml META-INF/CERT.RSA META-INF/CERT.SF META-INF

Suppressing toast from package in Android

心不动则不痛 提交于 2019-12-05 03:52:04
I'm developing an Android app and I'm trying to show some information with a Toast . I used Toast s in other projects and everything works, but in this app, when the Toast should appear, it doesn't do it and Logcat shows the next message: Suppressing toast from package com.xxxxxxx by user request. I'm creating the toast with the next code: Context context = xxxxxxx.this; CharSequence text = "Hello toast!"; int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, text, duration); toast.show(); I tried to set the context with getApplicationContext() and getBaseContext() too, but

how see an array in logcat for android

耗尽温柔 提交于 2019-12-05 02:39:20
I would like to log raw data like arrays in my logcat, so I know what is the output. Lets say I have an array... like that: File[] mp3List = ... Log.v("test", mp3List); Why can't I just log the array to console? How can I do it? The reason why this doesn't work is simply because the 2nd argument of Log.v is a String not a File[] . Java strictly enforces argument types. Update : You can easily transform the information contained a File object into a String object. All java objects implement a toString() , which if I remember correctly returns a combination of the ClassName and the address of

Over populating Logcat causes windows to freeze, until hard reboot is performed

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 02:18:37
The title speak for itself, but I would add some pointers I've noticed along the way. I would like anyone which also experience the end result while developing for Android to try to reproduce this and see if this scenario is really the case, and if someone have a solution, that would make me very happy :), it is extremely frustrating that I need to hard reboot my computer while developing... The crash happens when Logcat is over populated. By over populated I mean that from a point in time, if you would leave a device connected in debug mode for a while, and you would look at the Logcat view,

What the logcat message: “E/MoreInfoHPW_ViewGroup(2905): Parent view is not a TextView” means?

强颜欢笑 提交于 2019-12-05 02:16:42
I'm developing an android app, and I put a filter in my logcat to filter logs by my application package name. Unfortunately, this error message always appear and I don't know how to fix it. My app works well, without any problem or crash. However I want to fix this error log. 07-15 11:14:48.808: E/MoreInfoHPW_ViewGroup(2905): Parent view is not a TextView you can ignore this , it's a known issue with Samsung models. 来源: https://stackoverflow.com/questions/24760745/what-the-logcat-message-e-moreinfohpw-viewgroup2905-parent-view-is-not-a-te

Log.e does not print the stack trace of UnknownHostException

江枫思渺然 提交于 2019-12-05 00:36:42
Calling Log.e(TAG, "some message", e) where e is an UnknownHostException , does not print the stack trace on the logcat. Since May 20, 2011, there is a change in the Log class, such that UnknownHostException exceptions are not printed. This is to reduce the amount of log spew that apps do in the non-error condition of the network being unavailable. https://github.com/android/platform_frameworks_base/commit/dba50c7ed24e05ff349a94b8c4a6d9bb9050973b The e you are including is useless, remove it and it would be visible in logcat . Log.e(TAG, "some message"); 来源: https://stackoverflow.com/questions

LogCat Missing from Android Studio 3.1.3

送分小仙女□ 提交于 2019-12-05 00:32:32
I recently installed Android Studio 3.1.3 on my laptop in order to start learning android/mobile development (I am still new to all of this). The LogCat option seems to be missing though (refer to images below) What I tried to do in order to fix the problem: -uninstalling and reinstalling android studio (along with updating it...) -researching the problem (no useful results as all the solutions were to press alt-6 or go to View->Tool Windows) It would be a huge help/relief if someone knows how to solve this problem. Thanks in advance. I know it is an old question, but I encountered this

How to get Verbose logging in logcat for a specific module

感情迁移 提交于 2019-12-04 23:48:08
One of the android Modules (AudioFlinger) has support for verbose logging (with Tag=AudioFlinger). Question is how can I see those logs in the logcat? I did the setprop log.tag.AudioFlinger VERBOSE - but it doesn't seem to work. Do I need to change something and then rebuild the android source again? KurtCobain The logcat documentation doesn't really help. But with more digging I was able to find the answer, as I was expecting the VERBOSE logging is by default OFF at compile time. Looking at the cutils/log.h helps to find the answer: http://www.netmite.com/android/mydroid/system/core/include

Trying to output my LogCat to a file

雨燕双飞 提交于 2019-12-04 19:49:00
问题 I've been told it's a command line option. But Eclipse's Run!Run Configurations...!Target!Additional Emulator Command Line Options field is already occupied with -sdcard "C:\android-sdk-windows\tools\sd9m.img" If I wanted to write something like adb logcat -s MessageBox > "C:\Users\me\Documents\LogCatOutput.txt" then where do I write it, and how (i.e., is the syntax even correct)? I need to output only a filtered tag, not verbose. ("MessageBox" is my TAG. Again I don't know if any of this