App inventor build failed

100 views
Skip to first unread message

Deepanshu Arya

unread,
Jul 19, 2019, 5:20:03 AM7/19/19
to App Inventor Open Source Development
when I create auth key and then hit $ant to create builder it shows this error:

[java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: C:\appinventor-sources\appinventor\blocklyeditor\..\lib\closure-library\closure\goog
     [java]     at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
     [java]     at org.plovr.Manifest.getInputs(Manifest.java:393)
     [java]     at org.plovr.Manifest.getFiles(Manifest.java:369)
     [java]     at org.plovr.Manifest.getFiles(Manifest.java:363)
     [java]     at org.plovr.Manifest.getAllDependencies(Manifest.java:324)
     [java]     at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:193)
     [java]     at org.plovr.Manifest.getCompilerArguments(Manifest.java:177)
     [java]     at org.plovr.CompileRequestHandler.compile(CompileRequestHandler.java:94)
     [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:58)
     [java]     at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31)
     [java]     at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41)
     [java]     at org.plovr.cli.Command.execute(Command.java:47)
     [java]     at org.plovr.cli.Main.mainWithExitCode(Main.java:56)
     [java]     at org.plovr.cli.Main.main(Main.java:30)
     [java] Picked up _JAVA_OPTIONS: -Xmx1024m

BUILD FAILED
C:\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
C:\appinventor-sources\appinventor\build-common.xml:288: The following error occurred while executing this line:
C:\appinventor-sources\appinventor\blocklyeditor\build.xml:63: Java returned: 1



Jose Dominguez

unread,
Jul 19, 2019, 5:41:58 AM7/19/19
to app-inventor-open-source-dev
You seem to be missing a step regarding submodules. Follow the instructions carefully and that should go away.


--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/app-inventor-open-source-dev/49e82e77-35d8-4e4a-a525-59e76d0f6b39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Deepanshu Arya

unread,
Jul 19, 2019, 11:43:22 AM7/19/19
to App Inventor Open Source Development
Can you share a link with detailed steps as when I used app Inventor documentation, I found $MakeAuthKey and then $ant command to do what I want

Jose Dominguez

unread,
Jul 19, 2019, 11:45:24 AM7/19/19
to app-inventor-open-source-dev
The readme in the repo has all the info you need, just scroll down:
https://github.com/mit-cml/appinventor-sources

cheers,
José

On Fri, 19 Jul 2019 at 16:43, Deepanshu Arya <deepans...@gmail.com> wrote:
>
> Can you share a link with detailed steps as when I used app Inventor documentation, I found $MakeAuthKey and then $ant command to do what I want
>
> --
> You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/app-inventor-open-source-dev/10eaaa9c-454f-48ab-9965-2456e37a40f5%40googlegroups.com.
Message has been deleted

Deepanshu Arya

unread,
Jul 19, 2019, 12:03:50 PM7/19/19
to App Inventor Open Source Development
When I hit $ git submodule init it shows fatal error saying git-submodule cannot be used without working tree
Message has been deleted

Souvik Bera

unread,
Jul 19, 2019, 12:09:24 PM7/19/19
to App Inventor Open Source Development
Did you downloaded the repo manually or cloned via git. Try cloning it via git command.

Deepanshu Arya

unread,
Jul 19, 2019, 12:10:10 PM7/19/19
to App Inventor Open Source Development
I downloaded it from GitHub

Souvik Bera

unread,
Jul 19, 2019, 12:11:59 PM7/19/19
to App Inventor Open Source Development
Use git clone.It may solve your problem.

Deepanshu Arya

unread,
Jul 19, 2019, 12:13:56 PM7/19/19
to App Inventor Open Source Development
Ok will give it try Tomorrow

Deepanshu Arya

unread,
Jul 20, 2019, 5:59:30 AM7/20/19
to App Inventor Open Source Development
I fork it and compiled successfully, know where can I find the folder of compillation 

Deepanshu Arya

unread,
Jul 21, 2019, 1:27:06 AM7/21/19
to App Inventor Open Source Development
Hi, I fork the repository and now successful build the app Inventor but now I stuck into finding the compilation files and also failed to run it, can you tell me how to setup Google app engine for java properly

Souvik Bera

unread,
Jul 21, 2019, 1:36:57 AM7/21/19
to App Inventor Open Source Development
To start main server run this command in appinventor-sources/appinventor/

"Path_To_Your_GAE_sdk\bin\dev_appserver.cmd" --port=8888 --address=0.0.0.0 "appengine\build\war"

And to start BuildServer

Go to appinventor-sources/appinventor/buildserver/ and run this command
"ant RunLocalBuildServer"

Deepanshu Arya

unread,
Jul 21, 2019, 6:32:11 AM7/21/19
to App Inventor Open Source Development
Terminal shows that there is no such directory, I installed engine for java and just installed it

Souvik Bera

unread,
Jul 21, 2019, 6:36:58 AM7/21/19
to App Inventor Open Source Development
Can you attach some screenshots ??

Deepanshu Arya

unread,
Jul 21, 2019, 7:52:25 AM7/21/19
to App Inventor Open Source Development

avgfasv.png

Deepanshu Arya

unread,
Jul 21, 2019, 7:55:05 AM7/21/19
to App Inventor Open Source Development

fafcafa.png



On Sunday, 21 July 2019 16:06:58 UTC+5:30, Souvik Bera wrote:

Souvik Bera

unread,
Jul 21, 2019, 7:59:04 AM7/21/19
to App Inventor Open Source Development
Path to your GAE SDK contains space "Program Files".
Use the path surrounded by double quotes or move the sdk location to C:/

Deepanshu Arya

unread,
Jul 21, 2019, 9:50:20 AM7/21/19
to App Inventor Open Source Development
Are my SDK files ok, do I miss any file?? And also do I need to login Google engine from Google app engine console?
Reply all
Reply to author
Forward
0 new messages