Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] LogCat não está gravando

Adicionou no Manifest?

<uses-permission android:name="android.permission.READ_LOGS"/>

Abraços,
Pedro Subutzki
__________________________________________
HADI - Makes SQLite in Android easy and simple
https://github.com/PepeuCps/Hadi


2014-05-21 13:32 GMT-03:00 Gustavo Schwartz <gusvato@gmail.com>:
Boa tarde.
Estou fazendo o capítulo 3 do livro do Lecheta, pra Android.
Mas não está logando no LogCat.
Meu código:

private static final String CATEGORIA = "livro";
   
    @Override
    public void onCreate(Bundle icicle){
        super.onCreate(icicle);
        setContentView(R.layout.layout_exemplo2);
       
        Log.v(CATEGORIA, "LOG DE VERBOSE");
        Log.d(CATEGORIA, "LOG DE DEBUG");
        Log.i(CATEGORIA, "LOG DE Info");
        Log.w(CATEGORIA, "Log de warn");
        Log.e(CATEGORIA, "Log de erro", new RuntimeException("Teste de erro"));
}
Sugestões de onde tenho que procurar pra resolver esse problema?
Obrigado.
Gustavo

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário