An Error Occured

Buildfile: /home/Makeroid/appinventor/build.xml

extensions:

clean:

init:
    [mkdir] Created dir: /home/Makeroid/appinventor/build/buildserver
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/classes
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports/raw
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports/html

common_CommonUtils:

init:
    [mkdir] Created dir: /home/Makeroid/appinventor/build/common
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes
    [mkdir] Created dir: /home/Makeroid/appinventor/common/reports
    [mkdir] Created dir: /home/Makeroid/appinventor/common/reports/raw
    [mkdir] Created dir: /home/Makeroid/appinventor/common/reports/html

CommonUtils:
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes/CommonUtils
    [javac] Compiling 3 source files to /home/Makeroid/appinventor/common/build/classes/CommonUtils
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/common/build/classes/CommonUtils/com/google/appinventor/common/utils/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonUtils.jar
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonUtils-gwt.jar

common_CommonVersion:

init:

CommonVersion:
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes/CommonVersion
    [mkdir] Created dir: /home/Makeroid/appinventor/common/build/src/com/google/appinventor/common/version
     [copy] Copying 1 file to /home/Makeroid/appinventor/common/build/src/com/google/appinventor/common/version
    [javac] Compiling 3 source files to /home/Makeroid/appinventor/common/build/classes/CommonVersion
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/common/build/classes/CommonVersion/com/google/appinventor/common/version/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonVersion.jar
      [jar] Building jar: /home/Makeroid/appinventor/build/common/CommonVersion-gwt.jar

CopyToRunLibDir:
    [mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/run/lib
     [copy] Copying 36 files to /home/Makeroid/appinventor/buildserver/build/run/lib

components_AndroidRuntime:

init:
    [mkdir] Created dir: /home/Makeroid/appinventor/build/components
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes
    [mkdir] Created dir: /home/Makeroid/appinventor/components/reports
    [mkdir] Created dir: /home/Makeroid/appinventor/components/reports/raw
    [mkdir] Created dir: /home/Makeroid/appinventor/components/reports/html

CommonConstants:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/CommonConstants
    [javac] Compiling 6 source files to /home/Makeroid/appinventor/components/build/classes/CommonConstants
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
    [javac] Creating empty /home/Makeroid/appinventor/components/build/classes/CommonConstants/com/google/appinventor/components/common/package-info.class
      [jar] Building jar: /home/Makeroid/appinventor/build/components/CommonConstants.jar
      [jar] Building jar: /home/Makeroid/appinventor/build/components/CommonConstants-gwt.jar

HtmlEntities:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/HtmlEntities
    [javac] Compiling 1 source file to /home/Makeroid/appinventor/components/build/classes/HtmlEntities
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] 1 warning
      [jar] Building jar: /home/Makeroid/appinventor/components/build/HtmlEntities.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
    [javac] Compiling 307 source files to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:48: error: ')' expected
    [javac]         "AdMob component allows you to monetize your app. You must have a valid AdMob account and AdUnitId "  
    [javac]                                                                                                             ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:49: error: class, interface, or enum expected
    [javac]         "that can be obtained from http://www.google.com/AdMob . If your id is invalid, the "  
    [javac]         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:50: error: class, interface, or enum expected
    [javac]         "AdMob banner will not display on the emulator or the device."  
    [javac]         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:51: error: class, interface, or enum expected
    [javac]         "Warning: Make sure you're in test mode during development to avoid being disabled for clicking your own ads."  
    [javac]         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:52: error: class, interface, or enum expected
    [javac]                 "<p>NOTE: YOU MUST SET SCREEN1 SIZING PROPERTY TO RESPONSIVE ",
    [javac]                 ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:52: error: class, interface, or enum expected
    [javac]                 "<p>NOTE: YOU MUST SET SCREEN1 SIZING PROPERTY TO RESPONSIVE ",
    [javac]                                                                               ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:53: error: class, interface, or enum expected
    [javac]         version = YaVersion.ADMOB_COMPONENT_VERSION)
    [javac]         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:168: error: ')' expected
    [javac]         Log.d(TAG, "flipping the test mode to: "   this.isTestMode );
    [javac]                                                 ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:168: error: illegal start of expression
    [javac]         Log.d(TAG, "flipping the test mode to: "   this.isTestMode );
    [javac]                                                        ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:168: error: ';' expected
    [javac]         Log.d(TAG, "flipping the test mode to: "   this.isTestMode );
    [javac]                                                                   ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:226: error: ')' expected
    [javac]     @SimpleProperty(description = "Indicate whether you want Google to treat your content as child-directed when you make an ad request. "  
    [javac]                                                                                                                                           ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:227: error: illegal start of type
    [javac]             "Info here: https://developers.google.com/mobile-ads-sdk/docs/admob/android/targeting#child-directed_setting")
    [javac]             ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:227: error: <identifier> expected
    [javac]             "Info here: https://developers.google.com/mobile-ads-sdk/docs/admob/android/targeting#child-directed_setting")
    [javac]                                                                                                                          ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:227: error: ';' expected
    [javac]             "Info here: https://developers.google.com/mobile-ads-sdk/docs/admob/android/targeting#child-directed_setting")
    [javac]                                                                                                                           ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:256: error: ')' expected
    [javac]         Log.d(TAG, "The test mode status is: "   this.isTestMode );
    [javac]                                               ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:256: error: illegal start of expression
    [javac]         Log.d(TAG, "The test mode status is: "   this.isTestMode );
    [javac]                                                      ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:256: error: ';' expected
    [javac]         Log.d(TAG, "The test mode status is: "   this.isTestMode );
    [javac]                                                                 ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:297: error: ')' expected
    [javac]             Log.d(TAG, "Targeting calendar age of: "   getDateBasedOnAge(targetAge));
    [javac]                                                     ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:297: error: not a statement
    [javac]             Log.d(TAG, "Targeting calendar age of: "   getDateBasedOnAge(targetAge));
    [javac]                                                                         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:297: error: ';' expected
    [javac]             Log.d(TAG, "Targeting calendar age of: "   getDateBasedOnAge(targetAge));
    [javac]                                                                                    ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:377: error: ')' expected
    [javac]         Log.d(TAG, "The calculated date based on age of "   age   " is "   date);
    [javac]                                                          ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:377: error: not a statement
    [javac]         Log.d(TAG, "The calculated date based on age of "   age   " is "   date);
    [javac]                                                                   ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:377: error: ';' expected
    [javac]         Log.d(TAG, "The calculated date based on age of "   age   " is "   date);
    [javac]                                                                         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:377: error: not a statement
    [javac]         Log.d(TAG, "The calculated date based on age of "   age   " is "   date);
    [javac]                                                                            ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:377: error: ';' expected
    [javac]         Log.d(TAG, "The calculated date based on age of "   age   " is "   date);
    [javac]                                                                                ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:402: error: ')' expected
    [javac]         Log.d(TAG, "Got add error reason of: "   errorReason);
    [javac]                                               ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:402: error: illegal start of expression
    [javac]         Log.d(TAG, "Got add error reason of: "   errorReason);
    [javac]                                                             ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:426: error: ')' expected
    [javac]     @SimpleProperty(description = "If true, device that will receive test ads. "  
    [javac]                                                                                 ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:427: error: illegal start of type
    [javac]             "You should utilize this property during development to avoid generating false impressions")
    [javac]             ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:427: error: <identifier> expected
    [javac]             "You should utilize this property during development to avoid generating false impressions")
    [javac]                                                                                                        ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:427: error: ';' expected
    [javac]             "You should utilize this property during development to avoid generating false impressions")
    [javac]                                                                                                         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:456: error: ')' expected
    [javac]             Log.d("AdMobListener", "onAdFailedToLoad: "   getErrorReason(paramInt));
    [javac]                                                        ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:456: error: not a statement
    [javac]             Log.d("AdMobListener", "onAdFailedToLoad: "   getErrorReason(paramInt));
    [javac]                                                                         ^
    [javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:456: error: ';' expected
    [javac]             Log.d("AdMobListener", "onAdFailedToLoad: "   getErrorReason(paramInt));
    [javac]                                                                                   ^
    [javac] 34 errors
    [javac] 1 warning

Check your file. You have syntax errors

3 Likes