Re: [androidbrasil-dev] open failed: EACCES (Permission denied)

Willian, boa tarde

Se for Android 7 da uma olhada:


Também precisa ativar o controle de permissões no código:


On Mon, Mar 20, 2017 at 4:42 PM, Willian do Amor <willsazon@gmail.com> wrote:
Olá boa tarde a todos,

será que alguém poderia me dar uma ideia do que seja esse erro?

Mesmo setando as permissões no Manifest (Android 4) ao tentar criar um arquivo esse recebo esse erro.

open failed: EACCES (Permission denied)

Permissões:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

--
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.



--
Ricardo Lecheta

--
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