Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

can't build form source #45

Open
Open
@sarowarhosen03

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /