[TIMOB-25475] SDK Android build fails on 6.3.X branch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-11-02T15:48:38.000+0000 |
Affected Version/s | Release 6.3.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Richard Lustemberg |
Assignee | Unknown |
Created | 2017-11-02T12:46:20.000+0000 |
Updated | 2018-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}
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.
[~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]!
We require SDK 26 to build since we have API 26 specific features (autofill).
[~gmathews] But shouldn't the CLI error then before?
[~hknoechel] This isn't an error from the CLI, this is just our node scons scripts; this is expected.
Ohh, I oversaw the first sentence. All good then!
Closing as invalid. If incorrect, please reopen.