Maps App Will Not Compile: Error Running AAPT

image

Trying to make a MOC of an existing maps app, but I keep getting an AAPT error when I try to compile the APK. I've tried removing the app icon, removing every extension, checking for blocks errors, and more but nothing has resolved the issue for the past two hours.

Here is my AIA: mapsMOC.aia (721.8 KB)

You use four extensions. One of them might be stale

You use two Screens. One contains your Navigate component. I have never built an app using Navigate on a separate screen from where my Map component resides. Doing. that could be the issue

Doesn't run for me either.

Try a previous version of your aia . See what you added since the app correctly worked and you might find the issue

I tried removing each and re-compiling, but I got the error even after no extensions were left.

It isn't a navigate component, it's a web component to do a GET request to ORS.

I haven't worked on the app in a while, and I don't think I ever tried building an APK last I worked on it, so I have no reference to know if it ever was successful. I also tried disabling different blocks and events in the "navigation" screen (this is the only one I worked on today), but still no success.

1 Like

@busybird15 remove Location.png as recommended by abg and your app compiles. :wink:but has annother issue when getting Directions :cry:

Yep this fixed it. Thanks so much.
And yeah, I'm getting a runtime error on that screen but I am not sure where it is, and I haven't looked for it yet because everything else works fine.

probably this one

disabling the block makes the warning disappear (but probably is not the entire issue)

Interesting app. :wink: Good luck with your Project.

Yeah there is something wrong with the path; I ended up removing that block and just using an icon instead.

I have also fixed the other runtime error(s).

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.