0

下午好,

我以前能够在我的 P5110(Galaxy Tab 2)上构建 CM 10.1。从那时起,我尝试将项目导入 Eclipse。我怀疑它可能做了一些导致以下错误的事情。

packages/apps/SoundRecorder/gen/com/android/soundrecorder/R.java:6: duplicate class: com.android.soundrecorder.R
public final class R {
             ^
target thumb C++: libwilhelm <= frameworks/wilhelm/src/android/AudioPlayer_to_android.cpp
target thumb C++: libwilhelm <= frameworks/wilhelm/src/android/AudioRecorder_to_android.cpp
packages/apps/CMWallpapers/gen/com/cyanogenmod/CMWallpapers/R.java:6: duplicate class: com.cyanogenmod.CMWallpapers.R
public final class R {
             ^
target thumb C++: libwilhelm <= frameworks/wilhelm/src/android/MediaPlayer_to_android.cpp
target thumb C++: libwilhelm <= frameworks/wilhelm/src/android/OutputMix_to_android.cpp
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [/home/can/android/system/out/target/common/obj/APPS/SoundRecorder_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: packages/apps/CMWallpapers/src/com/cyanogenmod/CMWallpapers/wallpaper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [/home/can/android/system/out/target/common/obj/APPS/CMWallpapers_intermediates/classes-full-debug.jar] Error 41
packages/apps/CMFileManager/gen/com/cyanogenmod/filemanager/R.java:6: duplicate class: com.cyanogenmod.filemanager.R
public final class R {
             ^
1 error
make: *** [/home/can/android/system/out/target/common/obj/APPS/CMFileManager_intermediates/classes-full-debug.jar] Error 41
4

1 回答 1

5

由于您已将项目添加到 Eclipse,这genbinSoundRecorder.

所以在你给android平台构建之前删除这些文件夹

于 2013-09-12T08:58:51.683 回答