Reputation: 167
I've asked around and done some research on it but can't seem to find a fix
I/example.localme( 3862): type=1400 audit(0.0:2646): avc: denied { write } for name="cache" dev="sdb3" ino=82035 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=1 I/example.localme( 3862): type=1400 audit(0.0:2647): avc: denied { add_name } for name="localmeGMGRPB" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=1 I/example.localme( 3862): type=1400 audit(0.0:2648): avc: denied { create } for name="localmeGMGRPB" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=dir permissive=1
Upvotes: 9
Views: 16226
Reputation: 1
In your main.dart instead of doing
await Firebase.initializeApp();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
Upvotes: 0
Reputation: 1660
I had the same issue and it turned out to be a network / connection issue with the simulator.
Possible solutions:
<uses-permission android:name="android.permission.INTERNET"/>
Upvotes: 1