14 messages in com.googlegroups.android-beginnersRe: com.google.android.samples.R cann...| From | Sent On | Attachments |
|---|---|---|
| most | 20 Nov 2007 00:16 | |
| Luisa Magarian | 20 Nov 2007 10:01 | |
| most | 20 Nov 2007 21:14 | |
| smurugu | 17 Dec 2007 22:32 | |
| smurugu | 20 Dec 2007 23:40 | |
| ANIMESH SAXENA | 20 Dec 2007 23:45 | |
| Digit | 21 Dec 2007 02:05 | |
| smurugu | 22 Dec 2007 00:23 | |
| smurugu | 22 Dec 2007 10:52 | |
| smurugu | 23 Dec 2007 16:55 | |
| 3D | 05 Jan 2008 02:16 | |
| 3D | 05 Jan 2008 02:31 | |
| Peli | 05 Jan 2008 04:08 | |
| ultraklon | 05 Jan 2008 07:31 |
| Subject: | Re: com.google.android.samples.R cannot be resolved![]() |
|---|---|
| From: | smurugu (smur...@gmail.com) |
| Date: | 12/23/2007 04:55:14 PM |
| List: | com.googlegroups.android-beginners |
I was right, the plugin seem to have problem in linux, run eclipse with the following options, now the plugin generates R.java file
eclipse -vm $JAVA_HOME/bin/java -ws gtk
check under plugin troubleshooting https://help.ubuntu.com/community/EclipseIDE
once the R.java is generated you need to change the import for R, some reason the plugin does not update the import.
Sendhil
On Dec 22, 11:52 am, smurugu <smur...@gmail.com> wrote:
I forgot to mention that after step2, run update-alternatives --configure java and choose JDK5 as default jvm
On Dec 22, 1:23 am, smurugu <smur...@gmail.com> wrote:
1) install Ubuntu linux from the scratch
2) download and install sun jdk 5 with sudo apt-get install
3) download and install eclipse with sudo apt-get install eclipse
4) download and unzip Android SDK
5) Open up eclipse and install Android plugin, go to windows->preferences and
update Android SDK path
6) Create new android project, you could use existing project HelloActivity 7) Now you'll see that the plugin does not generate R.java so R can not be resolved error 8) open up shell and use activityCreator.py script and generate the resource files, this will create build.xml 9) type ant 10) the build.xml will break where its about to call aapt to generate R.java
Let me know if you need more details
On Dec 21, 3:06 am, Digit <digi...@gmail.com> wrote:
Hello,
could you give use more details about the Linux/Java/Eclipse configuration you're using ?, as well as the exact step to reproduce the problems (trimmed down to a minimum, if possible, would be great).
On Dec 21, 2007 8:40 AM, smurugu <smur...@gmail.com> wrote:
Just everyone know, I am facing this error only in Linux platform, in windows there is no issues. The plugin is totally broken in Linux. I tried creating build.xml using activitycreator but ant could not compile the file as well
On Dec 17, 10:32 pm, smurugu <smur...@gmail.com> wrote:
I also have a similar issue, please let me know if you find the answer
On Nov 20, 12:16 am, most <myol...@gmail.com> wrote:
Hi,
I am having a hard time with com.google.android.samples.R. I follow the coding step from sample session but there is an error saying that this particularcannotberesolved. Any advice would be really appreciated. Thanks in advance.
Warmest Regards, myo- Hide quoted text -
- Show quoted text -- Hide quoted text -




