Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Getting compiled on Android. Please help! #47

Open
yash23197 opened this issue Aug 5, 2024 · 3 comments
Open

Not Getting compiled on Android. Please help! #47

yash23197 opened this issue Aug 5, 2024 · 3 comments

Comments

@yash23197
Copy link

Not Getting compiled on Android..
UATHelper: Packaging (Android (ASTC)): > Could not find method compile() for arguments [org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
UnrealEngineAndroid error

@kapsy122021
Copy link

^^I am also having this problem.

@Servaretures
Copy link

I think I've found a solution.

  1. Locate MqttUtilities_Android_UPL.xml file (it was in "<Your_Project_Floader>\Plugins\mqtt-utilities-unreal-master\MqttUtilities\Source\MqttUtilities" in my case)
  2. Open it with notepad
  3. Change
dependencies {
    compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0'
    compile 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
}

To

dependencies {
        implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0'
        implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1'
      }

@kapsy122021
Copy link

@Servaretures Thanks, this worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants