You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Translation file { "language": "Italiano", "app_description": "Aggregator è una applicazione per leggere le notizie dei tuoi siti preferiti", "Next":"Avanti", "Help":"Aiuto", "Settings":"Impostazioni", "All":"Tutti" }
App works correctly on windows but crash on Android both debug and release builds
At this line on start
await EasyLocalization.ensureInitialized();
Error
Launching lib\main.dart on 23049PCD8G in debug mode... √ Built build\app\outputs\flutter-apk\app-debug.apk. Connecting to VM Service at ws://127.0.0.1:54251/p6jyNoKkiZQ=/ws E/flutter (20818): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'dart:ui/platform_dispatcher.dart': Failed assertion: line 2106 pos 15: '<optimized out>': is not true. E/flutter (20818): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61) E/flutter (20818): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5) E/flutter (20818): #2 new Locale (dart:ui/platform_dispatcher.dart:2106:15) E/flutter (20818): #3 StringToLocaleHelper.toLocale E/flutter (20818): #4 EasyLocalizationController.initEasyLocation E/flutter (20818): <asynchronous suspension> E/flutter (20818): #5 EasyLocalization.ensureInitialized E/flutter (20818): <asynchronous suspension> E/flutter (20818): #6 main E/flutter (20818): <asynchronous suspension> E/flutter (20818): W/FinalizerDaemon(20818): type=1400 audit(0.0:25360): avc: denied { getopt } for path="/dev/socket/usap_pool_primary" scontext=u:r:untrusted_app:s0:c103,c257,c512,c768 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 app=com.and96.aggregator_news
In runApp
EasyLocalization( supportedLocales: const [Locale('en'), Locale('it')], useFallbackTranslations: true, useOnlyLangCode: true, path: 'assets/translations', fallbackLocale: const Locale('en'),
Translation file
{ "language": "Italiano", "app_description": "Aggregator è una applicazione per leggere le notizie dei tuoi siti preferiti", "Next":"Avanti", "Help":"Aiuto", "Settings":"Impostazioni", "All":"Tutti" }
pubspec.yaml
easy_localization: ^3.0.3 assets: - assets/ - assets/images/ - assets/translations/
Translation files
assets\translations\en.json
assets\translations\it.json
The text was updated successfully, but these errors were encountered: