Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

AGORA ON FLUTTER 2 NOT WORKING

Open RalphLincoln opened this issue 4 years ago • 5 comments

W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone1/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more E/libc (21080): Access denied finding property "net.dns1" E/libc (21080): Access denied finding property "net.dns2" E/libc (21080): Access denied finding property "net.dns3" E/libc (21080): Access denied finding property "net.dns4" I/WifiManager(21080): WifiManager---->calculateSignalLevel---->rssi: -19 numLevels:5 W/GENP.0 (21080): type=1400 audit(0.0:6952): avc: denied { read } for name="temp" dev="sysfs" ino=7565 scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 W/System.err(21080): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone1/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone1/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more E/libc (21080): Access denied finding property "net.dns1" E/libc (21080): Access denied finding property "net.dns2" E/libc (21080): Access denied finding property "net.dns3" E/libc (21080): Access denied finding property "net.dns4" I/WifiManager(21080): WifiManager---->calculateSignalLevel---->rssi: -19 numLevels:5 W/System.err(21080): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/GENP.0 (21080): type=1400 audit(0.0:6956): avc: denied { read } for name="temp" dev="sysfs" ino=7565 scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone1/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/GENP.0 (21080): type=1400 audit(0.0:6957): avc: denied { read } for name="temp" dev="sysfs" ino=7598 scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 W/GENP.0 (21080): type=1400 audit(0.0:6958): avc: denied { read } for name="temp" dev="sysfs" ino=7598 scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 W/GENP.0 (21080): type=1400 audit(0.0:6959): avc: denied { read } for name="temp" dev="sysfs" ino=7565 scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone1/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more W/System.err(21080): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io.FileInputStream.(FileInputStream.java:159) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383) W/System.err(21080): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362) W/System.err(21080): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) W/System.err(21080): at libcore.io.Linux.open(Native Method) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) W/System.err(21080): at libcore.io.ForwardingOs.open(ForwardingOs.java:167) W/System.err(21080): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7500) W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:482) W/System.err(21080): ... 3 more E/libc (21080): Access denied finding property "net.dns1" E/libc (21080): Access denied finding property "net.dns2" E/libc (21080): Access denied finding property "net.dns3" E/libc (21080): Access denied finding property "net.dns4" I/WifiManager(21080): WifiManager---->calculateSignalLevel---->rssi: -19 numLevels:5 W/GENP.0 (21080): type=1400 audit(0.0:6960): avc: denied { read } for name="temp" dev="sysfs" ino=7565 scontext=u:r:untrusted_app:s0:c155,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 W/System.err(21080): at libcore.io.IoBridge.open(IoBridge.java:496) W/System.err(21080): at java.io

RalphLincoln avatar Oct 08 '21 03:10 RalphLincoln

you can ignore this error, have you try our example? it works with flutter2

LichKing-2234 avatar Oct 08 '21 03:10 LichKing-2234

Could you send me a link to it?

RalphLincoln avatar Oct 08 '21 04:10 RalphLincoln

at example folder in this repo.

LichKing-2234 avatar Oct 08 '21 04:10 LichKing-2234

Access denied finding property "vendor.debug.bq.dump"

Do you know why this is coming up?

RalphLincoln avatar Oct 08 '21 04:10 RalphLincoln

the internal log, you can ignore it.

LichKing-2234 avatar Oct 08 '21 04:10 LichKing-2234

If you still face issues, please try upgrading to the new version to see if it works for you.

littleGnAl avatar Nov 14 '23 09:11 littleGnAl

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] avatar Nov 28 '23 10:11 github-actions[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Dec 05 '23 11:12 github-actions[bot]