Skip to content

PreferencesUtils.getInstance issue #20

@ajay-infozzle

Description

@ajay-infozzle

i am not able to run my app...please update this package with the latest version available

C:\Users\Dell\AppData\Local\Pub\Cache\hosted\pub.dev\twilio_voice_flutter-0.0.4\android\src\main\java\com\twilio\voice\flutter\Utils\NotificationUtils.java:40: error: cannot find symbol
final String contactName = PreferencesUtils.getInstance(context).findContactName(callInvite.getFrom());
^
symbol: method getInstance(Context)
location: class PreferencesUtils
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':twilio_voice_flutter:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • 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.

BUILD FAILED in 28s
Error: Gradle task assembleDebug failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions