mahdi
September 11, 2024, 10:13pm
1
hello my friend.
i have built an application that get data form sensors through subscribing in MQTT broker and send data.i used "Urspaho mqtt client " liberary for this.
but i have a problem.
when i want to build my app i get this error.please help me.
I have taken some photos of my project
error:
App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task errored
temprature1_copy.aia (811.8 KB)
ABG
September 11, 2024, 10:41pm
2
Your aia file has a project within a project.
Did you try to import an aia as an aix file?
It needs expert surgery, or a rebuild from scratch.
1 Like
mahdi
September 11, 2024, 10:51pm
3
hello
i just try to add AI2 MQTT Extension to my project.
i got it from this link and after that added to my project
https://ullisroboterseite.de/android-AI2-PahoMQTT.html
is it false?
ABG
September 11, 2024, 10:52pm
4
Here is a clone of Screen1, without any files, extensions, or blocks.
Temperature_cloned.aia (1.9 KB)
I made it using a Designer copy of your Screen1.
Go find that MQTT .aix and import it right, then you can drag in these downloaded blocks images:
Then you can upload your Media files, and you should be hopefully all set.
1 Like
ABG
September 11, 2024, 10:57pm
5
The .aix file you needed was in the .zip file.
You do the .aix load in the Designer's extensions drawer.
1 Like
ABG
September 11, 2024, 11:05pm
6
Temperature_cloned (1).aia (312.1 KB)
Pass out cigars.
It's a healthy baby clone.
I extracted the .aix, loaded it, and had to add Notifier1 and pull the extension into the mock to complete the load.
Then the dragged blocks lost their red errors after a refresh.
The code server is running busy for builds at the moment.
See if you can import it and build.
Oops, I forgot the Media files, including your icon.
Can I leave that to you?
1 Like
ABG
September 11, 2024, 11:16pm
7
Okay, a few moments with 7zip, and your thankfully short media file list was loaded, and you build okay.
Temperature_cloned (2).aia (409.0 KB)
1 Like
mahdi
September 11, 2024, 11:24pm
8
thank youuu so much
it's workk
mahdi
September 11, 2024, 11:26pm
10
Thank you for your time and thank you for your help
1 Like
system
Closed
September 18, 2024, 11:26pm
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.