The APK file does not compile

TEST Progress Bar
0%
App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task errored

.

I know it's the extension. It works perfectly in the emulator, compiled without errors / | __ _ | |
| | / ` / __| |
| | (
| _ \ | (v6.6.0-free)
|| _,|__/_| (13.06.26.15.28)

  • Cleaning build caches
  • Increasing component version
  • Compiling Java classes
  • Copying extension icons
  • Reading AndroidManifest.xml
  • Generating docs in Markdown
  • Generating AndroidRuntime.jar
  • D8 Dexer, version 8.6.2-dev
  • Packaging extension at ./out/com.grok.internetspeedtest.internetspeedtest.aix (18.44 KB)

BUILD SUCCESSFUL in 17s 95ms. I searched for the error using AI and was unable to fix it. What's causing this error?

Without testing the extension it is difficult to say.

Which extension builder did you use, or is it not your extension ? If not yours have you asked the extension developer for help ?

This is my extension. It measures internet speed. If I give it to you, I'll fix the compilation error and post it in the community for free.

The extension works well in the emulator.

I use FAST-CLI to compile the extension.

You can share your aia project by private message if you wish.

You could also share your .java file from your extension, so I can see if there are any issues there...

1 Like

Just to follow this up, I got a couple of errors in the @DesignerComponent stanza when running the java in Intellij. Removed these, built the extension and this then compiled the apk.

2 Likes

Did you delete the component's "appearance" settings in the designer menu (category, visibility, and icon) and that's it? Did that solve the error? I only found this difference by comparing the old code with yours.

Yes. The first one category is deprecated

2 Likes

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