Skip to content

cannot find symbol: com.datadoghq.flutter.DatadogSdkPlugin #941

@xonaman

Description

@xonaman

Describe the bug

/Users/robertmainzer/Workspace/remonon_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:39: error: cannot find symbol
      flutterEngine.getPlugins().add(new com.datadoghq.flutter.DatadogSdkPlugin());
                                                              ^
  symbol:   class DatadogSdkPlugin
  location: package com.datadoghq.flutter
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler output below.
  /Users/robertmainzer/Workspace/remonon_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:39: error: cannot find symbol
        flutterEngine.getPlugins().add(new com.datadoghq.flutter.DatadogSdkPlugin());
                                                                ^
    symbol:   class DatadogSdkPlugin
    location: package com.datadoghq.flutter
  1 error

* Try:
> Check your code and dependencies to fix the compilation error(s)
> Run with --scan to get full insights.

BUILD FAILED in 3s
Running Gradle task 'assembleRelease'...                            3.7s
Gradle task assembleRelease failed with exit code 1

Reproduction steps

flutter build apk --release

SDK logs

none

Expected behavior

building???

Affected SDK versions

3.0.1

Latest working SDK version

2.16.1

Did you confirm if the latest SDK version fixes the bug?

No

Flutter Version

3.38.9

Setup Type

No response

Device Information

No response

Other relevant information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting responseWaiting for response from the reporter of the issuebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions