开发者

Not able to use Log android

开发者 https://www.devze.com 2023-03-23 08:06 出处:网络
I\'m making about my 4th android app, and nothing that I try to log is showing up, I\'m so confused. All my other apps will log things just fine, but this won\'t I think this is the error message for

I'm making about my 4th android app, and nothing that I try to log is showing up, I'm so confused. All my other apps will log things just fine, but this won't I think this is the error message for logging, ignoring message with no sender credentials Although I'm not sure, as it shows up alot. Here is what I'm doing to log.

@Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method s开发者_StackOverflow中文版tub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Log.d("SMS", "testing");
}

I really don't understand what could be wrong. I've compared the application manifests with those of my other apps, and they don't seem to be different.

Any help is much appreciated, thanks.


I think it is kind of obvious isn't it?

The tag SMS is taken by the android native SMS application. Rename your tag and you'll have no problems.

0

精彩评论

暂无评论...
验证码 换一张
取 消