mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.48k stars 2.07k forks source link

Ant fails to build after editing AiPlayApp #3249

Open XomaDev opened 1 week ago

XomaDev commented 1 week ago

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.

pitekkate commented 6 days ago

@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 commented 6 days ago

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