why ant error: [ERROR] Line 69: Rebind result 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl' could not be found

109 views
Skip to first unread message

Yong Tang

unread,
May 31, 2017, 3:11:38 AM5/31/17
to App Inventor Open Source Development
CheckYaClientApp:

YaClientApp:
     [java] Compiling module com.google.appinventor.YaClient
     [java]    Ignored 3 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to DEBUG or WARN to see all errors.
     [java]    Ignored 2 units with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    Resolving com.allen_sauer.gwt.dnd.client.AbstractDragController
     [java]       Found type 'com.allen_sauer.gwt.dnd.client.AbstractDragController'
     [java]          Found type 'java.lang.Object'
     [java]             Resolving method getClass
     [java]                Found type 'java.lang.Class'
     [java]                   Resolving method createForClass
     [java]                      Found type 'java.lang.String'
     [java]                         Resolving field CASE_INSENSITIVE_ORDER
     [java]                            Found type 'java.util.Comparator'
     [java]                               [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving com.allen_sauer.gwt.dnd.client.DragHandlerCollection
     [java]       Found type 'com.allen_sauer.gwt.dnd.client.DragHandlerCollection'
     [java]          Found type 'java.util.ArrayList'
     [java]             Resolving method forEach
     [java]                Found type 'java.util.function.Consumer'
     [java]                   [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]             Resolving method removeIf
     [java]                Found type 'java.util.function.Predicate'
     [java]                   [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]             Resolving method replaceAll
     [java]                Found type 'java.util.function.UnaryOperator'
     [java]                   [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                   Found type 'java.util.function.Function'
     [java]                      [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.lang.Runnable
     [java]       Found type 'java.lang.Runnable'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.Arrays
     [java]       Found type 'java.util.Arrays'
     [java]          Resolving method parallelPrefix
     [java]             Found type 'java.util.function.BinaryOperator'
     [java]                [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Found type 'java.util.function.BiFunction'
     [java]                   [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]          Resolving method setAll
     [java]             Found type 'java.util.function.IntFunction'
     [java]                [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]          Resolving method stream
     [java]             Found type 'java.util.stream.Stream'
     [java]                Resolving method collect
     [java]                   Found type 'java.util.stream.Collector'
     [java]                      Resolving method supplier
     [java]                         Found type 'java.util.function.Supplier'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                      Resolving method accumulator
     [java]                         Found type 'java.util.function.BiConsumer'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Resolving method flatMapToDouble
     [java]                   Found type 'java.util.stream.DoubleStream'
     [java]                      Resolving method collect
     [java]                         Found type 'java.util.function.ObjDoubleConsumer'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                      Resolving method flatMap
     [java]                         Found type 'java.util.function.DoubleFunction'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Resolving method flatMapToInt
     [java]                   Found type 'java.util.stream.IntStream'
     [java]                      Resolving method collect
     [java]                         Found type 'java.util.function.ObjIntConsumer'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Resolving method flatMapToLong
     [java]                   Found type 'java.util.stream.LongStream'
     [java]                      Resolving method collect
     [java]                         Found type 'java.util.function.ObjLongConsumer'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                      Resolving method flatMap
     [java]                         Found type 'java.util.function.LongFunction'
     [java]                            [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Resolving method mapToDouble
     [java]                   Found type 'java.util.function.ToDoubleFunction'
     [java]                      [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Resolving method mapToInt
     [java]                   Found type 'java.util.function.ToIntFunction'
     [java]                      [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]                Resolving method mapToLong
     [java]                   Found type 'java.util.function.ToLongFunction'
     [java]                      [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.DoubleSummaryStatistics
     [java]       Found type 'java.util.DoubleSummaryStatistics'
     [java]          Found type 'java.util.function.DoubleConsumer'
     [java]             [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.IntSummaryStatistics
     [java]       Found type 'java.util.IntSummaryStatistics'
     [java]          Found type 'java.util.function.IntConsumer'
     [java]             [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.LongSummaryStatistics
     [java]       Found type 'java.util.LongSummaryStatistics'
     [java]          Found type 'java.util.function.LongConsumer'
     [java]             [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.BiPredicate
     [java]       Found type 'java.util.function.BiPredicate'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.BooleanSupplier
     [java]       Found type 'java.util.function.BooleanSupplier'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.DoubleBinaryOperator
     [java]       Found type 'java.util.function.DoubleBinaryOperator'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.DoublePredicate
     [java]       Found type 'java.util.function.DoublePredicate'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.DoubleSupplier
     [java]       Found type 'java.util.function.DoubleSupplier'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.DoubleToIntFunction
     [java]       Found type 'java.util.function.DoubleToIntFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.DoubleToLongFunction
     [java]       Found type 'java.util.function.DoubleToLongFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.DoubleUnaryOperator
     [java]       Found type 'java.util.function.DoubleUnaryOperator'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.IntBinaryOperator
     [java]       Found type 'java.util.function.IntBinaryOperator'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.IntPredicate
     [java]       Found type 'java.util.function.IntPredicate'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.IntSupplier
     [java]       Found type 'java.util.function.IntSupplier'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.IntToDoubleFunction
     [java]       Found type 'java.util.function.IntToDoubleFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.IntToLongFunction
     [java]       Found type 'java.util.function.IntToLongFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.IntUnaryOperator
     [java]       Found type 'java.util.function.IntUnaryOperator'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.LongBinaryOperator
     [java]       Found type 'java.util.function.LongBinaryOperator'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.LongPredicate
     [java]       Found type 'java.util.function.LongPredicate'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.LongSupplier
     [java]       Found type 'java.util.function.LongSupplier'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.LongToDoubleFunction
     [java]       Found type 'java.util.function.LongToDoubleFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.LongToIntFunction
     [java]       Found type 'java.util.function.LongToIntFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.LongUnaryOperator
     [java]       Found type 'java.util.function.LongUnaryOperator'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.ToDoubleBiFunction
     [java]       Found type 'java.util.function.ToDoubleBiFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.ToIntBiFunction
     [java]       Found type 'java.util.function.ToIntBiFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.ToLongBiFunction
     [java]       Found type 'java.util.function.ToLongBiFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
     [java]       Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
     [java]          Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
     [java]             JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
     [java]    Adding '1' new generated units
     [java]       See snapshot: C:\Users\GT-3D\AppData\Local\Temp\com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl5023847288266238145.java
     [java]       Ignored 1 unit with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    [ERROR] Errors in 'generated://44E015AEE6DFBACAB6862E3ED015ABF7/com/google/appinventor/client/editor/youngandroid/BlocklyPanel_BlocklySource_Impl.java'
     [java]       [ERROR] Line 54611: missing ; before statement
     [java] >     Blockly.Msg.LANG_CONTROLS_GET_PLAIN_START_TEXT_TOOLTIP = '雼るジ 鞎膘棎靹? 鞚? 鞎膘潉 鞁ろ枆頄堨潉 霑? 鞚? 鞀ろ伂毽办棎 雱橁波欷? 鞚茧皹 韰嶌姢韸? 氚橅櫂頃╇媹雼?. 雱橁波 氚涭潃 臧掛澊 鞐嗠嫟氅?, 牍? 韰嶌姢韸鸽ゼ 氚橅櫂頃╇媹雼?. 鞐煬臧滌潣 鞀ろ伂毽办潉 臧?歆?瓿? 鞛堧姅 鞎彪摛鞚?, \'鞚茧皹 鞁滌瀾 韰嶌姢韸? 臧?鞝胳槫旮癨' 氤措嫟 \'鞁滌瀾 臧? 臧?鞝胳槫旮癨'毳? 靷毄頃橃劯鞖?.';
     [java] > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
     [java]       See snapshot: C:\Users\GT-3D\AppData\Local\Temp\com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl5634218972190339697.java
     [java]    Tracing compile failure path for type 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl'
     [java]       [ERROR] Errors in 'generated://44E015AEE6DFBACAB6862E3ED015ABF7/com/google/appinventor/client/editor/youngandroid/BlocklyPanel_BlocklySource_Impl.java'
     [java]          [ERROR] Line 54611: missing ; before statement
     [java] >     Blockly.Msg.LANG_CONTROLS_GET_PLAIN_START_TEXT_TOOLTIP = '雼るジ 鞎膘棎靹? 鞚? 鞎膘潉 鞁ろ枆頄堨潉 霑? 鞚? 鞀ろ伂毽办棎 雱橁波欷? 鞚茧皹 韰嶌姢韸? 氚橅櫂頃╇媹雼?. 雱橁波 氚涭潃 臧掛澊 鞐嗠嫟氅?, 牍? 韰嶌姢韸鸽ゼ 氚橅櫂頃╇媹雼?. 鞐煬臧滌潣 鞀ろ伂毽办潉 臧?歆?瓿? 鞛堧姅 鞎彪摛鞚?, \'鞚茧皹 鞁滌瀾 韰嶌姢韸? 臧?鞝胳槫旮癨' 氤措嫟 \'鞁滌瀾 臧? 臧?鞝胳槫旮癨'毳? 靷毄頃橃劯鞖?.';
     [java] > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
     [java]    [ERROR] Hint: Check that the type name 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl' is really what you meant
     [java]    [ERROR] Hint: Check that your classpath includes all required source roots
     [java]    [ERROR] Errors in 'com/google/appinventor/client/editor/youngandroid/BlocklyPanel.java'
     [java]       [ERROR] Line 69: Rebind result 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl' could not be found

BUILD FAILED
E:\ai2patch\appinventor-sources-master\appinventor\build.xml:16: The following error occurred while executing this line:
E:\ai2patch\appinventor-sources-master\appinventor\appengine\build.xml:461: Java returned: 1

Total time: 1 minute 29 seconds


thanks.

Evan Patton

unread,
May 31, 2017, 1:40:51 PM5/31/17
to App Inventor Open Source Development
Seeing that your paths are Windows paths, your default charset may not be UTF-8, which is what our build system assumes. This may result in your strings being mangled and including invalid characters that the GWT compiler doesn't understand. I'm assuming that you didn't change that particular string on your computer (if you did, that may be the problem). For an example of how to change your build charset, please see this stack overflow post.

Evan

Yong Tang

unread,
Jun 1, 2017, 8:43:20 AM6/1/17
to App Inventor Open Source Development
chcp 65001 
ant

......
  [java]    Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
     [java]       Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
     [java]          Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
     [java]             JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
     [java]    Adding '1' new generated units
     [java]       See snapshot: C:\Users\FsTy\AppData\Local\Temp\com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl1516908509069075129.java
     [java]       Ignored 1 unit with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    [ERROR] Errors in 'generated://CB1CDA8A5374919C51038D8151468633/com/google/appinventor/client/editor/youngandroid/BlocklyPanel_BlocklySource_Impl.java'
     [java]       [ERROR] Line 4: Syntax error on token ")", { expected after this token
     [java]       [ERROR] Line 56807: Invalid character constant
     [java]       [ERROR] Line 74053: Duplicate field BlocklyPanel_BlocklySource_Impl.i
     [java]       [ERROR] Line 76922: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 76928: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 76996: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77031: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77048: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77055: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77063: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77069: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77085: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77092: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77101: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77134: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77163: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77172: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77188: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77197: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77204: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77212: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77218: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77249: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77273: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77299: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77308: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77330: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77358: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77366: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77456: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77501: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77563: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77573: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77579: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77593: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77603: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77609: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77659: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77665: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77671: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77713: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77740: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77911: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77920: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77927: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77934: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77942: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77952: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77963: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77977: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77991: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78007: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78023: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78041: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78053: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78063: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78071: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78079: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78086: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78094: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78101: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78127: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78140: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78147: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78154: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78160: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78167: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78190: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78197: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78205: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78212: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78220: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78230: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78241: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78247: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78285: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 78888: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80152: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80180: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80317: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80408: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80444: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80559: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80566: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80579: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80589: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80606: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80613: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80635: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80645: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80659: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80662: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80690: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80695: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80701: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80772: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80844: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80859: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80868: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 80871: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       See snapshot: C:\Users\FsTy\AppData\Local\Temp\com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl8147549787430377209.java
     [java]    Tracing compile failure path for type 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl'
     [java]       [ERROR] Errors in 'generated://CB1CDA8A5374919C51038D8151468633/com/google/appinventor/client/editor/youngandroid/BlocklyPanel_BlocklySource_Impl.java'
     [java]          [ERROR] Line 80662: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78212: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78101: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77573: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78023: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78063: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80317: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77456: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77063: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80444: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77671: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77055: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80844: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80613: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77358: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80659: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78094: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77920: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77172: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77197: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80871: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78888: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78007: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78147: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80645: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77163: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77218: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77330: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78241: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 56807: Invalid character constant
     [java]          [ERROR] Line 80566: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78220: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78086: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78190: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77048: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78247: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80559: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80579: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77713: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77609: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78079: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80589: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77952: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77991: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80606: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77977: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80701: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80868: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78053: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78160: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78127: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78154: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77593: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77501: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80408: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80772: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77665: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77927: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77031: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77740: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77069: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77249: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77579: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80690: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 74053: Duplicate field BlocklyPanel_BlocklySource_Impl.i
     [java]          [ERROR] Line 77934: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77085: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77366: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78197: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78140: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 76922: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77188: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 76996: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77101: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80152: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77911: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77212: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80695: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78071: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77942: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77204: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78230: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80859: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78205: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78041: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78167: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77563: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 78285: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77659: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77092: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77134: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77603: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77963: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77273: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77308: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 77299: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 76928: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 80635: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]          [ERROR] Line 4: Syntax error on token ")", { expected after this token
     [java]          [ERROR] Line 80180: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]    [ERROR] Hint: Check that the type name 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl' is really what you meant
     [java]    [ERROR] Hint: Check that your classpath includes all required source roots
     [java]    [ERROR] Errors in 'com/google/appinventor/client/editor/youngandroid/BlocklyPanel.java'
     [java]       [ERROR] Line 69: Rebind result 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl' could not be found

BUILD FAILED
E:\ai2root\appinventor\build.xml:16: The following error occurred while executing this line:
E:\ai2root\appinventor\appengine\build.xml:461: Java returned: 1

Total time: 1 minute 28 seconds

在 2017年6月1日星期四 UTC+8上午1:40:51,Evan Patton写道:
com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl1516908509069075129.java

Evan Patton

unread,
Jun 1, 2017, 9:09:06 AM6/1/17
to App Inventor Open Source Development
After changing the code page you will need to do an ant clean. Any upstream files that got munged from UTF-8 to something else may be causing this result, so the safest thing is to do an ant clean and confirm that you get the same error.

Evan
...

Yong Tang

unread,
Jun 1, 2017, 10:44:54 AM6/1/17
to App Inventor Open Source Development
ant clean
ant
......

     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
     [java]       Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
     [java]          Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
     [java]             JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
     [java]    Adding '1' new generated units
     [java]       See snapshot: C:\Users\FsTy\AppData\Local\Temp\com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl7694752477995665701.java
     [java]       Ignored 1 unit with compilation errors in first pass.
     [java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
     [java]    [ERROR] Errors in 'generated://CB1CDA8A5374919C51038D8151468633/com/google/appinventor/client/editor/youngandroid/BlocklyPanel_BlocklySource_Impl.java'
     [java]       [ERROR] Line 4: Syntax error on token ")", { expected after this token
     [java]       [ERROR] Line 56807: Invalid character constant
     [java]       [ERROR] Line 74053: Duplicate field BlocklyPanel_BlocklySource_Impl.i
     [java]       [ERROR] Line 76922: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 76928: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 76996: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl
     [java]       [ERROR] Line 77031: Duplicate method function() in type BlocklyPanel_BlocklySource_Impl

......
------------------------------------------------com.google.appinventor.client.editor.youngandroid.BlocklyPanel_BlocklySource_Impl7694752477995665701.java--------------------------------
package com.google.appinventor.client.editor.youngandroid;

public class BlocklyPanel_BlocklySource_Impl implements com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource {
public native void initBlockly()/*-{
(function(window, document, console){
this.goog = goog = top.goog;



















var COMPILED = false;


......



Message has been deleted

Yong Tang

unread,
Jun 11, 2017, 3:49:04 AM6/11/17
to App Inventor Open Source Development
Centos 7  BUILD SUCCESSFUL

......

     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Resolving java.util.function.ToLongBiFunction
     [java]       Found type 'java.util.function.ToLongBiFunction'
     [java]          [WARN] Ignoring unresolvable annotation type java.lang.FunctionalInterface
     [java]    Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
     [java]       Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
     [java]          Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
     [java]             JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
     [java]    Compiling 22 permutations
     [java]       Compiling permutation 0...
     [java]       Compiling permutation 1...
     [java]       Compiling permutation 2...
     [java]       Compiling permutation 3...
     [java]       Compiling permutation 4...
     [java]       Compiling permutation 5...
     [java]       Compiling permutation 6...
     [java]       Compiling permutation 7...
     [java]       Compiling permutation 8...
     [java]       Compiling permutation 9...
     [java]       Compiling permutation 10...
     [java]       Compiling permutation 11...
     [java]       Compiling permutation 12...
     [java]       Compiling permutation 13...
     [java]       Compiling permutation 14...

......
WIN 10  BUILD FAILED

在 2017年6月1日星期四 UTC+8下午10:44:54,Yong Tang写道:

victorz

unread,
Aug 4, 2017, 4:53:34 AM8/4/17
to App Inventor Open Source Development
I also had the same error messages in Win10 , try below: 

   chcp 65001
   set JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"
   ant MakeAuthKey
   ant

Yong Tang

unread,
Aug 19, 2017, 5:25:07 AM8/19/17
to App Inventor Open Source Development

roboot, 


BUILD SUCCESSFUL

Total time: 13 minutes 53 seconds



Yong Tang

unread,
Aug 19, 2017, 5:41:28 AM8/19/17
to App Inventor Open Source Development
谢谢!方法可行。

在 2017年8月4日星期五 UTC+8下午4:53:34,Victor Shang写道:
Reply all
Reply to author
Forward
0 new messages