-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
when i trying to run it in my andorid device i got this
unning Gradle task 'assembleDebug'...
lib/services/api_service.dart:7:8: Error: Error when reading 'lib/services/secrets.dart': No such file or directory
import 'package:errorx/services/secrets.dart';
^
lib/common/encryption_service.dart:7:8: Error: Error when reading 'lib/services/secrets.dart': No such file or directory
import 'package:errorx/services/secrets.dart'; // Import secrets
^
lib/common/encryption_service.dart:12:42: Error: Undefined name 'encryptionSecretKey'.
static const String _secretKeyString = encryptionSecretKey;
^^^^^^^^^^^^^^^^^^^
lib/services/api_service.dart:68:33: Error: Undefined name 'apiBaseUrl'.
static final String baseUrl = apiBaseUrl;
^^^^^^^^^^
lib/services/api_service.dart:69:31: Error: Undefined name 'apiWebSocketUrl'.
static final String wsUrl = apiWebSocketUrl;
^^^^^^^^^^^^^^^
lib/services/api_service.dart:72:32: Error: Undefined name 'apiKeyValue'.
static final String apiKey = apiKeyValue;
^^^^^^^^^^^
lib/services/api_service.dart:73:35: Error: Undefined name 'apiSecretValue'.
static final String apiSecret = apiSecretValue;
^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/home/shuvo/flutter/bin/flutter'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 6s
Error: Gradle task assembleDebug failed with exit code 1
Metadata
Metadata
Assignees
Labels
No labels