I have been trying to re-compile my changes to the Port of Froyo Rowboat I have built in the past with no success. The errors I am receiving are in code that built before that has never been changed. I have gone back to a fresh copy of Froyo from the repo and It stops in the same place. Has anyone verified that Froyo will still build and if so what is the platform they are building on? Here is the output I am seeing the failure in:
target Java: PackageInstaller (out/target/common/obj/APPS/PackageInstaller_intermediates/classes)packages/apps/SoundRecorder/gen/com/android/soundrecorder/R.java:10: duplicate class: com.android.soundrecorder.Rpublic final class R { ^Note: packages/apps/SoundRecorder/src/com/android/soundrecorder/SoundRecorder.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.1 errorNote: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.make: *** [out/target/common/obj/APPS/SoundRecorder_intermediates/classes-full-debug.jar] Error 41make: *** Waiting for unfinished jobs....Note: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Created JAR file out/host/common/obj/JAVA_LIBRARIES/temp_layoutlib_intermediates/javalib.jarNote: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.
BTW I'm building on currently updated 10.04 Ubuntu.
Hi Chris,
Looks like the directory packages/apps/SoundRecorder is not clean.
Can you try the following
$cd <android source directory>
$rm -r packages/apps/SoundRecorder
$repo sync packages/apps/SoundRecorder
Then build complete android again.
Regards,
Arun
If this post answers your query, consider clicking the Verify Answer button.
That did the trick. What caused this because if you went through a fresh checkout of the project (at least a day ago) you got the same results? Did you have to fix up the source repo?
Do not know any such things happened to rowboat-froyo. We were in the process of pushing rowboat-ics repositories..
Hi Arun,
We successfully ported android Froyo on AM1808. Now iam getting problem with com port. Actually my task is to retrieve continuous data from serial port using android application. I downloaded serial port api apk file from link http://code.google.com/p/android-serialport-api/ but when i open that file in our device we are getting force close error.
whereas i can retrieve data from device in Linux system using commands cat /dev/ttyS1... but i cannot get through application.
Please suggest me in this issue. Thanks in advance.
Regards
Pooja.