[TIMOB-11821] Android: scons fails
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-03-18T15:35:12.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Jon Alter |
Assignee | Ingo Muschenetz |
Created | 2012-11-19T18:36:30.000+0000 |
Updated | 2014-06-19T12:44:02.000+0000 |
Description
Building the android sdk fails on my machine with this error:
build.kroll.rhino.jar:
[mkdir] Created dir: /Users/jalter/Projects/Titanium/titanium_mobile/dist/android/classes/kroll-rhino
[mkdir] Created dir: /Users/jalter/Projects/Titanium/titanium_mobile/dist/android/classes/kroll-rhino-gen
[javac] Compiling 18 source files to /Users/jalter/Projects/Titanium/titanium_mobile/dist/android/classes/kroll-rhino
[javac] /Users/jalter/Projects/Titanium/titanium_mobile/android/runtime/rhino/src/java/org/appcelerator/kroll/runtime/rhino/KrollWith.java:48: name clash: getDefaultValue(java.lang.Class<?>) in org.appcelerator.kroll.runtime.rhino.KrollWith.WithScope and getDefaultValue(java.lang.Class) in org.mozilla.javascript.ScriptableObject have the same erasure, yet neither overrides the other
[javac] public class WithScope extends ScriptableObject
[javac] ^
[javac] /Users/jalter/Projects/Titanium/titanium_mobile/android/runtime/rhino/src/java/org/appcelerator/kroll/runtime/rhino/TypeConverter.java:87: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] Note: /Users/jalter/Projects/Titanium/titanium_mobile/android/runtime/rhino/src/java/org/appcelerator/kroll/runtime/rhino/RhinoRuntime.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
BUILD FAILED
/Users/jalter/Projects/Titanium/titanium_mobile/android/build/common.xml:669: The following error occurred while executing this line:
/Users/jalter/Projects/Titanium/titanium_mobile/android/build/common.xml:449: Compile failed; see the compiler error output for details.
joshthecoder fixed this error with the code changes that I am submitting.
PR: https://github.com/appcelerator/titanium_mobile/pull/3438
problem solved? detail your system specification.
The issue here was with rhino which has been removed TIMOB-12185. So this is no longer an issue.