yangxin1204
Lurker
Dear experts,
Right now we faced an annoying issue only happening on mac laptop. We saw it during upmerging google ics release.
Any suggestion or tips is very much appreciated.
It happens on some mac while doesn't appear on others'. With same java version and build environment.
The java version is:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-9M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
The error is something like this.
Install: out/target/product/cdma_spyder-p1c_spyder/system/framework/framework.jarCompiling SDK Stubs: out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java:60: reverse() is already defined in java.lang.StringBuffer
We checked and found that, intermediate file out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java is different in my mac server and Ted's laptop.
In my out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java
function reverse() is only once.
public synchronized java.lang.StringBuffer reverse() { throw new RuntimeException("Stub!"); }
However in Ted's out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java, it is twice.
public synchronized int lastIndexOf(java.lang.String arg0, int arg1) { throw new RuntimeException("Stub!"); }
public synchronized java.lang.StringBuffer reverse() { throw new RuntimeException("Stub!"); }
public synchronized java.lang.String toString() { throw new RuntimeException("Stub!"); }
public java.lang.AbstractStringBuilder reverse() { throw new RuntimeException("Stub!"); }
Do you know how this file java/lang/StringBuffer.java gets generated?
Right now we faced an annoying issue only happening on mac laptop. We saw it during upmerging google ics release.
Any suggestion or tips is very much appreciated.
It happens on some mac while doesn't appear on others'. With same java version and build environment.
The java version is:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-9M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
The error is something like this.
Install: out/target/product/cdma_spyder-p1c_spyder/system/framework/framework.jarCompiling SDK Stubs: out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java:60: reverse() is already defined in java.lang.StringBuffer
We checked and found that, intermediate file out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java is different in my mac server and Ted's laptop.
In my out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java
function reverse() is only once.
public synchronized java.lang.StringBuffer reverse() { throw new RuntimeException("Stub!"); }
However in Ted's out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/lang/StringBuffer.java, it is twice.
public synchronized int lastIndexOf(java.lang.String arg0, int arg1) { throw new RuntimeException("Stub!"); }
public synchronized java.lang.StringBuffer reverse() { throw new RuntimeException("Stub!"); }
public synchronized java.lang.String toString() { throw new RuntimeException("Stub!"); }
public java.lang.AbstractStringBuilder reverse() { throw new RuntimeException("Stub!"); }
Do you know how this file java/lang/StringBuffer.java gets generated?