I guess I can't follow these instructions (but I've never used Eclipse before).
Here's my Eclipse Luna (2; 4.4.2) project structure, including a look at the file (SimpleIME.java
) with the two errors (R cannot be resolved to a variable
) (I have cleaned the project; rebuilding is automatic.):
There are two identical AndroidManifest.xml
files. One that I created and one that Eclipse (or whatever) created.
The project has no Activity by design but Eclipse created one anyway, so I deleted it (with preview; only one reference (itself) was found).
Here's R.layout.keyboard
:
Here's R.xml.qwerty
:
So... what should I do? I cut and pasted entire contents of files and even file names, so typos shouldn't be the culprit, but maybe the structure is messed up. There's no structure shown at this otherwise excellent tutorial (first link).
Aucun commentaire:
Enregistrer un commentaire