错误41早午餐

时间:2013-09-09 15:35:28

标签: android android-source cyanogenmod

下午好,

我以前能够在我的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

1 个答案:

答案 0 :(得分:5)

由于您已将项目添加到eclipse,因此会在gen中添加binSoundRecorder个文件夹。

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