开发者

Not able to use Log android

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜