KrisSodroski
KrisSodroski

Reputation: 2842

Eclipse Android plugin does not create all required Folders

I"m using the eclipse plugin to try and write an android app. I looked online, and there's some folders that eclipse isn't creating (specifically res/). Because of this, I can't run the program ever. Any ideas? I also get these errors:

[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!

Edit: There are no xml files. Only the java files called R, MainActivity, and BuildConfig

Upvotes: 0

Views: 107

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006829

there's some folders that eclipse isn't creating (specifically res/)

According to your error log output, res/ exists. Delete the res\layout\activity_wifi_find.out.xml file, and the errors shown where in your log will go away.

Upvotes: 2

Related Questions