[TIMOB-19648] Android: Support building SDK on JDK 8+
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-10-01T15:36:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.1.0 |
Components | Android |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Christopher Williams |
Created | 2015-09-30T14:31:21.000+0000 |
Updated | 2015-11-02T19:48:41.000+0000 |
Description
Tried doing this (had to use JDK8), and got the following:
http://jenkins.appcelerator.org/job/titanium_mobile_master/3836/console
[javac] Note: [KrollBindingGen] Generating JSON: file:/var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/json/org/appcelerator/titanium/bindings/titanium.json
[copy] Copying 18 files to /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium
[copy] Copied 21 empty directories to 9 empty directories under /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium
[javac] Compiling 105 source files to /var/lib/jenkins/jobs/titanium_mobile_master/workspace/dist/android/classes/titanium
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] /var/lib/jenkins/jobs/titanium_mobile_master/workspace/android/titanium/src/java/org/appcelerator/titanium/TiBlob.java:561: error: cannot access BinaryEncoder
[javac] return new String(Base64.encodeBase64(getBytes()));
[javac] ^
[javac] class file for org.apache.commons.codec.BinaryEncoder not found
[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] 1 error
[javac] 1 warning
It appears there are at least a few issues to resolve.
Can we get this reviewed ASAP?
[~cwilliams], How can I test this ?
[~lokeshchdhry] This is basically internal to the dev team. Not sure it needs to be verified by QE, since it's about building Android SDK from source.
Closing as implemented.