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

Ant fails to build after editing AiPlayApp #3249

Open
XomaDev opened this issue Oct 20, 2024 · 4 comments
Open

Ant fails to build after editing AiPlayApp #3249

XomaDev opened this issue Oct 20, 2024 · 4 comments

Comments

@XomaDev
Copy link
Contributor

XomaDev commented Oct 20, 2024

Hi, I freshly cloned the sources (which i always do every couple of months), updated the submodules generated the auth key and ran ant. But it fails.
I've attached the complete log file.
Here's the relevant:

     [java]       'res/mipmap-xxhdpi-v4/ic_launcher_round.png' (not compressed)
     [java]       'res/mipmap-xxxhdpi-v4/ic_launcher.png' (not compressed)
     [java]       'res/mipmap-xxxhdpi-v4/ic_launcher_foreground.png' (not compressed)
     [java]       'res/mipmap-xxxhdpi-v4/ic_launcher_round.png' (not compressed)
     [java]       'res/xml/network_security_config.xml' (compressed 56%)
     [java]       'res/xml/provider_paths.xml' (compressed 60%)
     [java]       'resources.arsc' (not compressed)
     [java] Generated 498 files
     [java] Included 0 files from jar/zip files.
     [java] Checking for deleted files
     [java] Done!
     [java] [RunAapt] Task succeeded in 0.626 seconds
     [java] [GenerateClasses] Starting Task
     [java] [GenerateClasses] ERROR: No user code exists
     [java] [GenerateClasses] Task errored in 0.771 seconds

BUILD FAILED
/home/kumaraswamy/Documents/projects/appinventor-sources/appinventor/build.xml:22: The following error occurred while executing this line:
/home/kumaraswamy/Documents/projects/appinventor-sources/appinventor/buildserver/build.xml:204: Java returned: 1

Total time: 6 seconds

I tried downgrading to Java 8 in hopes of fixing this issue, but it didnt.

logs.txt


PS: I'm trying to build a custom version of the Companion application. I zipped the aiplayapp into a .aia file, did few changes in, and updated the aiplayapp content.

@XomaDev XomaDev changed the title Ant fails to build Ant fails to build after editing AiPlayApp Oct 20, 2024
@pitekkate
Copy link

@XomaDev you have error:

[java] INFO: Component "com.sunny.manifest.ManifestEditor" does not specify queries [java] INFO: Component "com.sunny.manifest.ManifestEditor" does not specify services

@XomaDev
Copy link
Contributor Author

XomaDev commented Oct 22, 2024

That's probably not an error, just a debug statement.

@ewpatton
Copy link
Member

PS: I'm trying to build a custom version of the Companion application. I zipped the aiplayapp into a .aia file, did few changes in, and updated the aiplayapp content.

Does it work with the default sources? If you're changing the package it has to be changed in a number of places and the fact that it's not finding the sources suggests you missed a spot.

@YashSachdeva
Copy link

Sometimes, residual files from previous builds can interfere with the new build. You can try a clean build by running:

ant clean
ant

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

No branches or pull requests

4 participants