Skip to content

Deploying on Android target  #17

@mandar1998

Description

@mandar1998

Hi,
I am working on an AR project in Unity which takes data from the Rabbit AMQP server. On the PC (macOS) I can receive messages perfectly fine. However, as I deploy it on an Android device it throws me the error given below:

RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable -->System.TypeLoadException: Could not find method due to a type load error
at RabbitMQ.Client.Framing.Impl.Model..ctor (RabbitMQ.Client.Impl.ISession session) [0x00000] in <17f048ced61b47c38ce84c39b5c3f15d>:0
at RabbitMQ.Client.Framing.Impl.ProtocolBase.CreateModel (RabbitMQ.Client.Impl.ISession session) [0x00000] in <17f048ced61b47c38ce84c39b5c3f15d>:0
at RabbitMQ.Client.Framing.Impl.Connection..ctor (RabbitMQ.Client.IConnectionFactory factory, System.Boolean insist, RabbitMQ.Client.Impl.IFrameHandler frameHandler) [0x000b1] in <17f048ced61b47c38ce84c39b5c3f15d>:0
at RabbitMQ.Client.Framing.Impl.ProtocolBase.CreateConnection (RabbitMQ.Client.IConnectionFactory factory, System.Boolean insist, RabbitMQ.Client.Impl.IFrameHandler frameHandler) [0x00000] in <17f048ced61b47c38ce84c39b5c3f15d>:0
at RabbitMQ.Client.ConnectionFactory.CreateConnection () [0x0002a] in <17f048ced61b47c38ce84c39b5c3f15d>:0
Rethrow as BrokerUnreachableException: None of the specified endpoints were reachable -->System.TypeLoadException: Could not find method due to a type load error

Specifications

  • The Android application was developed using the Unity 3D platform (Version 2019.1.14f1) with Scripting Runtime Version of NET4.x equivalent and API Compatibility Level of .NET Standard 2.0.
  • .NET RabbitMQ client version 3.4.4 (same as included in the package)
  • The Android OS version on the phone is Android 8.1.0.
  • The host PC is running Mac OS.

Any urgent help would be appreciated! Thank you

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