Build failed at PlayApp

52 views
Skip to first unread message

Ai2 Explorer

unread,
Jun 25, 2016, 10:49:46 PM6/25/16
to App Inventor Open Source Development
I downloaded the master copy from the appinventor sources. The PlayApp is having problem. Please help... 

$ ant PlayApp
Buildfile: C:\Users\dell\appinventor-sources\appinventor\build.xml

PlayApp:

init:

CheckKeystore:

MakeKeyStore:

GenPlayAppSrcZip:
     [copy] Copying 1 file to C:\Users\dell\appinventor-sources\appinventor\aipl                                                                                                    ayapp
      [zip] Building zip: C:\Users\dell\appinventor-sources\appinventor\buildser                                                                                                    ver\build\aiplayapp.zip
   [delete] Deleting: C:\Users\dell\appinventor-sources\appinventor\aiplayapp\an                                                                                                    droid.keystore

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:

CopyToRunLibDir:

components_AndroidRuntime:

init:

CommonConstants:

HtmlEntities:

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:

components_Barcode:

Barcode:

components_ComponentList:

init:

CommonConstants:

ComponentProcessingLib:

HtmlEntities:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:
      [jar] Building jar: C:\Users\dell\appinventor-sources\appinventor\componen                                                                                                    ts\build\AnnotationProcessors.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:

Barcode:

ComponentList:

BuildServer:

CheckPlayApp:

PlayApp:
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder build
     [java] INFO: temporary project root: C:\Users\dell\AppData\Local\Temp\14669                                                                                                    08219415_0.5360894555445609-0
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\android.keystore from input zip
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\assets\AI2Companion-Icon.png from input zip
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\assets\Instructions.png from input zip
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\assets\Title.png from input zip
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\assets\connectwCode.png from input zip
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\assets\connectwQR.png from input zip
     [java] Jun 26, 2016 10:30:19 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\assets\mooning.png from input zip
     [java] Jun 26, 2016 10:30:20 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\src\edu\mit\appinventor\aicompanion3\Screen1.bky from input zip
     [java] Jun 26, 2016 10:30:20 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\src\edu\mit\appinventor\aicompanion3\Screen1.scm from input zip
     [java] Jun 26, 2016 10:30:20 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\src\edu\mit\appinventor\aicompanion3\Screen1.yail from input zi                                                                                                    p
     [java] Jun 26, 2016 10:30:20 AM com.google.appinventor.buildserver.ProjectB                                                                                                    uilder extractProjectFiles
     [java] INFO: extracting C:\Users\dell\AppData\Local\Temp\1466908219415_0.53                                                                                                    60894555445609-0\youngandroidproject\project.properties from input zip
     [java] java.lang.NullPointerException
     [java]     at com.google.common.base.Preconditions.checkNotNull(Preconditio                                                                                                    ns.java:191)
     [java]     at com.google.common.io.Resources$UrlByteSource.<init>(Resources                                                                                                    .java:77)
     [java]     at com.google.common.io.Resources$UrlByteSource.<init>(Resources                                                                                                    .java:72)
     [java]     at com.google.common.io.Resources.asByteSource(Resources.java:66                                                                                                    )
     [java]     at com.google.common.io.Resources.asCharSource(Resources.java:11                                                                                                    1)
     [java]     at com.google.common.io.Resources.toString(Resources.java:136)
     [java]     at com.google.appinventor.buildserver.ProjectBuilder.getAllCompo                                                                                                    nentTypes(ProjectBuilder.java:238)
     [java]     at com.google.appinventor.buildserver.ProjectBuilder.build(Proje                                                                                                    ctBuilder.java:166)
     [java]     at com.google.appinventor.buildserver.Main.main(Main.java:82)

BUILD FAILED
C:\Users\dell\appinventor-sources\appinventor\build.xml:52: The following error                                                                                                     occurred while executing this line:
C:\Users\dell\appinventor-sources\appinventor\buildserver\build.xml:183: Java re                                                                                                    turned: 1

Total time: 44 seconds
dyu.png

Jeffrey Schiller

unread,
Jun 25, 2016, 11:00:59 PM6/25/16
to App Inventor Open Source Development
Try doing an "ant clean" first.

-Jeff

--
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.
For more options, visit https://groups.google.com/d/optout.

Liancheng Jia

unread,
Jul 13, 2017, 10:01:54 AM7/13/17
to App Inventor Open Source Development
Hi all,

I encountered the same problem when I added a external jar file and a wrote new component related to it.
I did 
    ant clean
before
    ant
but the same problem occurred again. Any suggestions?

kirliavc

在 2016年6月26日星期日 UTC+8上午11:00:59,j...@mit.edu写道:
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-source-dev+unsub...@googlegroups.com.

Evan Patton

unread,
Jul 13, 2017, 10:07:37 AM7/13/17
to App Inventor Open Source Development
Did you update buildserver/build.xml to include a copy operation to move the JAR file from lib/ to the build server's run path? See the existing commands starting on line 68 for examples. If so, verify that the filename of the toFile attribute matches the filename given in the @UsesLibrary annotation on the component.

Evan
Reply all
Reply to author
Forward
0 new messages