Manifest.java 类重复
Ubuntu
Java代码
1
2
3
4
5
6
7
8
9
10
|
在Ubuntu下编译单独项目,如果是从Eclipse导出会编译会报以下错误: target R.java/Manifest.java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/src/R.stamp) target Java: Launcher2 (out/target/common/obj/APPS/Launcher2_intermediates/classes) packages/apps/Launcher2/gen/com/android/launcher/Manifest.java: 10 : 类重复: com.android.launcher.Manifest public final class Manifest { ^ packages/apps/Launcher2/gen/com/android/launcher/R.java: 10 : 类重复: com.android.launcher.R public final class R { 这时需要到源码根目录下删除/gen文件夹 |