Skip to content

Assets/Adjust/Unity/AdjustUtils.cs(218,56): error CS0246: The type or namespace name 'JSONClass' could not be found (are you missing a using directive or an assembly reference?) #250

@namini40

Description

@namini40

Hi there!
I added Adjust Unity SDK v4.31.0. after importing the package following error keeps showing.

Assets/Adjust/Unity/AdjustUtils.cs(218,56): error CS0246: The type or namespace name 'JSONClass' could not be found (are you missing a using directive or an assembly reference?)

which is referring to AdjustUtils.cs file and the method input JSONClass:

        public static void WriteJsonResponseDictionary(JSONClass jsonObject, Dictionary<string, object> output)
        {
          ...

also
error:

Assets/Adjust/Unity/AdjustUtils.cs(194,44): error CS0246: The type or namespace name 'JSONNode' could not be found (are you missing a using directive or an assembly reference?)

at:

        public static String GetJsonString(JSONNode node, string key)
        {
         ...

I can not build my project.

Xcode v13.3
Macbook air 2020 (macOS Monterey Version 12.5)
Unity 2021.3.0f1

Thank you!

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