我正在使用 eclipse 插件来尝试编写一个 android 应用程序。我在网上查看了一些文件夹,eclipse 没有创建(特别是 res/)。因此,我永远无法运行该程序。任何想法? 我也得到这些错误:
[2012-08-09 12:17:08 - WifiCheck] Could not find WifiCheck.apk!
[2012-08-09 12:17:16 - Wififind] res\layout\activity_wifi_find.xml:0: error: Resource entry activity_wifi_find is already defined.
[2012-08-09 12:17:16 - Wififind] res\layout\activity_wifi_find.out.xml:0: Originally defined here.
[2012-08-09 12:17:16 - Wififind] C:\Users\Law\workspace\Wififind\res\layout\activity_wifi_find.out.xml:1: error: Error parsing XML: no element found
[2012-08-09 12:17:18 - Wififind] res\layout\activity_wifi_find.xml:0: error: Resource entry activity_wifi_find is already defined.
[2012-08-09 12:17:18 - Wififind] res\layout\activity_wifi_find.out.xml:0: Originally defined here.
[2012-08-09 12:17:18 - Wififind] C:\Users\Law\workspace\Wififind\res\layout\activity_wifi_find.out.xml:1: error: Error parsing XML: no element found
[2012-08-09 12:18:04 - Wififind] R.java was removed! Recreating R.java!
[2012-08-09 12:18:04 - Wififind] res\layout\activity_wifi_find.xml:0: error: Resource entry activity_wifi_find is already defined.
[2012-08-09 12:18:04 - Wififind] res\layout\activity_wifi_find.out.xml:0: Originally defined here.
[2012-08-09 12:18:04 - Wififind] C:\Users\Law\workspace\Wififind\res\layout\activity_wifi_find.out.xml:1: error: Error parsing XML: no element found
[2012-08-09 12:18:46 - Wififind] res\layout\activity_wifi_find.xml:0: error: Resource entry activity_wifi_find is already defined.
[2012-08-09 12:18:46 - Wififind] res\layout\activity_wifi_find.out.xml:0: Originally defined here.
[2012-08-09 12:18:46 - Wififind] C:\Users\Law\workspace\Wififind\res\layout\activity_wifi_find.out.xml:1: error: Error parsing XML: no element found
[2012-08-09 12:18:47 - Wififind] res\layout\activity_wifi_find.xml:0: error: Resource entry activity_wifi_find is already defined.
[2012-08-09 12:18:47 - Wififind] res\layout\activity_wifi_find.out.xml:0: Originally defined here.
[2012-08-09 12:18:47 - Wififind] C:\Users\Law\workspace\Wififind\res\layout\activity_wifi_find.out.xml:1: error: Error parsing XML: no element found
[2012-08-09 12:32:55 - WifiCheck] ------------------------------
[2012-08-09 12:32:55 - WifiCheck] Android Launch!
[2012-08-09 12:32:55 - WifiCheck] adb is running normally.
[2012-08-09 12:32:55 - WifiCheck] Could not find WifiCheck.apk!
编辑:没有xml文件。只有名为 R、MainActivity 和 BuildConfig 的 java 文件