Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25475] SDK Android build fails on 6.3.X branch

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2017-11-02T15:48:38.000+0000
Affected Version/sRelease 6.3.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterRichard Lustemberg
AssigneeUnknown
Created2017-11-02T12:46:20.000+0000
Updated2018-08-06T17:37:01.000+0000

Description

When running node scons.js cleanbuild -a 25 in order to make a custom Titanium sdk build, the following error occurs: {noformat} [javac] ^ [javac] symbol: variable AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE [javac] location: class View [javac] /Users/richard/Code/Inzdr/titanium_mobile/android/modules/ui/src/java/ti/modules/titanium/ui/UIModule.java:95: error: cannot find symbol [javac] @Kroll.constant public static final String AUTOFILL_TYPE_CARD_EXPIRATION_DAY = View.AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY; [javac] ^ [javac] symbol: variable AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY [javac] location: class View [javac] /Users/richard/Code/Inzdr/titanium_mobile/android/modules/ui/src/java/ti/modules/titanium/ui/UIModule.java:96: error: cannot find symbol [javac] @Kroll.constant public static final String AUTOFILL_TYPE_CARD_EXPIRATION_MONTH = View.AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH; [javac] ^ [javac] symbol: variable AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH [javac] location: class View [javac] /Users/richard/Code/Inzdr/titanium_mobile/android/modules/ui/src/java/ti/modules/titanium/ui/UIModule.java:97: error: cannot find symbol [javac] @Kroll.constant public static final String AUTOFILL_TYPE_CARD_EXPIRATION_YEAR = View.AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR; [javac] ^ [javac] symbol: variable AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR [javac] location: class View [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 17 errors [javac] 1 warning {noformat}

Comments

  1. Richard Lustemberg 2017-11-02

    This sdk requires api level 26, which I had not installed (thought I had but I had only the build tools v.26). Done that it builds just fine.
  2. Hans Knöchel 2017-11-02

    [~gmathews] I think we require API-level 25 for building right now, not 26. Will we require 26+ in SDK 7.0.0? If so, this should become obsolete. Thanks for reporting [~rlustemberg]!
  3. Gary Mathews 2017-11-02

    We require SDK 26 to build since we have API 26 specific features (autofill).
  4. Hans Knöchel 2017-11-02

    [~gmathews] But shouldn't the CLI error then before?
  5. Gary Mathews 2017-11-02

    [~hknoechel] This isn't an error from the CLI, this is just our node scons scripts; this is expected.
  6. Hans Knöchel 2017-11-02

    Ohh, I oversaw the first sentence. All good then!
  7. Eric Merriman 2018-08-06

    Closing as invalid. If incorrect, please reopen.

JSON Source