Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Lunar Lander missing R.java?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jan.g  
View profile  
 More options Nov 15 2007, 5:22 am
From: "jan.g" <fubi2...@gmail.com>
Date: Thu, 15 Nov 2007 02:22:05 -0800 (PST)
Local: Thurs, Nov 15 2007 5:22 am
Subject: Lunar Lander missing R.java?
Okay, this may not be the most important question, but how exactly do
you run LunarLander?
I tried importing it into eclipse, using the android plugin, but it
seems the R Class is missing.
It's refrenced everywhere in LunarLander.java and LunarView.java, so
am I just stupid or is it indeed not where it supposed to be?
(btw, other samples, like Snake and NotePad do include R.java)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
x40  
View profile  
 More options Nov 15 2007, 6:56 am
From: x40 <marko.srepf...@gmail.com>
Date: Thu, 15 Nov 2007 03:56:17 -0800 (PST)
Local: Thurs, Nov 15 2007 6:56 am
Subject: Re: Lunar Lander missing R.java?
/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package com.google.android.lunarlander;

public final class R {
    public static final class attr {
    }
    public static final class drawable {
        public static final int app_lunar_lander=0x7f020000;
        public static final int earthrise=0x7f020001;
        public static final int lander_crashed=0x7f020002;
        public static final int lander_firing=0x7f020003;
        public static final int lander_plain=0x7f020004;
    }
    public static final class id {
        public static final int lunar=0x7f050000;
        public static final int text=0x7f050001;
    }
    public static final class layout {
        public static final int lunar_layout=0x7f030000;
    }
    public static final class string {
        public static final int app_name=0x7f040000;
        public static final int lunar_layout_text_text=0x7f040011;
        public static final int menu_easy=0x7f040005;
        public static final int menu_hard=0x7f040007;
        public static final int menu_medium=0x7f040006;
        public static final int menu_pause=0x7f040003;
        public static final int menu_resume=0x7f040004;
        public static final int menu_start=0x7f040001;
        public static final int menu_stop=0x7f040002;
        public static final int message_bad_angle=0x7f040010;
        public static final int message_off_pad=0x7f04000e;
        public static final int message_stopped=0x7f04000d;
        public static final int message_too_fast=0x7f04000f;
        public static final int mode_lose=0x7f04000a;
        public static final int mode_pause=0x7f040009;
        public static final int mode_ready=0x7f040008;
        public static final int mode_win_prefix=0x7f04000b;
        public static final int mode_win_suffix=0x7f04000c;
    }

}

On Nov 15, 11:22 am, "jan.g" <fubi2...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jan.g  
View profile  
 More options Nov 15 2007, 7:23 am
From: "jan.g" <fubi2...@gmail.com>
Date: Thu, 15 Nov 2007 04:23:56 -0800 (PST)
Local: Thurs, Nov 15 2007 7:23 am
Subject: Re: Lunar Lander missing R.java?

hvala lijepa :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ivory  
View profile  
 More options Nov 15 2007, 7:38 am
From: ivory <legolasbl...@gmail.com>
Date: Thu, 15 Nov 2007 04:38:27 -0800 (PST)
Local: Thurs, Nov 15 2007 7:38 am
Subject: Re: Lunar Lander missing R.java?
add to the project (the path folder of resources.
this will Automatically create the R.java.

On 15 nov, 13:23, "jan.g" <fubi2...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sunilforandroid@gmail.com  
View profile  
 More options Nov 20 2007, 5:38 am
From: "sunilforandr...@gmail.com" <sunilforandr...@gmail.com>
Date: Tue, 20 Nov 2007 02:38:31 -0800 (PST)
Local: Tues, Nov 20 2007 5:38 am
Subject: Re: Lunar Lander missing R.java?
How do you add the path folder of resources to a project in eclipse?

thanks.
sunilforandroid

On Nov 15, 4:38 am, ivory <legolasbl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Istvan Szekeres  
View profile  
 More options Nov 20 2007, 5:53 am
From: "Istvan Szekeres" <pist...@gmail.com>
Date: Tue, 20 Nov 2007 11:53:33 +0100
Local: Tues, Nov 20 2007 5:53 am
Subject: Re: [android-developers] Re: Lunar Lander missing R.java?
Hi,

how did you import LunarLander into Eclipse? Normally if you import a
folder as an Android project[*] everything should be imported properly
(i.e. Eclipse would know about the resources and the "R" stuff).

[*] New project -> Android Project -> Create project from existing
source, here point "Location" to your Android dir/samples/LunarLander,
then press "Finish".

Best regards,
Istvan Szekeres

On Nov 20, 2007 11:38 AM, sunilforandr...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarisha  
View profile  
 More options Nov 20 2007, 8:58 pm
From: Jarisha <Jerry.A.S...@gmail.com>
Date: Tue, 20 Nov 2007 17:58:56 -0800 (PST)
Local: Tues, Nov 20 2007 8:58 pm
Subject: Re: Lunar Lander missing R.java?
I'm having exactly the same problem. I thought I was going nuts.

Istvan, of course it's obvious that "everything should be imported
properly", but that's not the case with LunarLander. As the original
poster states, the other projects work fine.

ivory, I'm afraid I don't follow you. You're saying that adding the
"folder of resources" this will somehow generate R.java? Fraid that
makes no sense to me. I find the "res" folder, but adding it (of
course) does nothing to help matters.

Anyone out there have a reasonable explanation?  Thanks.

On Nov 20, 2:53 am, "Istvan Szekeres" <pist...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarisha  
View profile  
 More options Nov 20 2007, 9:18 pm
From: Jarisha <Jerry.A.S...@gmail.com>
Date: Tue, 20 Nov 2007 18:18:44 -0800 (PST)
Local: Tues, Nov 20 2007 9:18 pm
Subject: Re: Lunar Lander missing R.java?
Ok, some more information and a theory.

The R.java gets built by aapt.exe, which is in the tools directory. Or
it should. And it isn't.

Theory: Android's sdk installer isn't smart enough to adjust for
installing it anywhere but the default directory. I also had trouble
with it not finding android.jar until I showed it where to look.

Any other theories? Any work arounds would be appreciated, as I really
don't want to deal with figuring out all the options required, and
editing the project's properties doesn't seem to give you a handle on
changing the directory that aapt.exe can be found.

Or maybe I'm just wrong. Help would be appreciated.

On Nov 20, 5:58 pm, Jarisha <Jerry.A.S...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarisha  
View profile  
 More options Nov 20 2007, 9:29 pm
From: Jarisha <Jerry.A.S...@gmail.com>
Date: Tue, 20 Nov 2007 18:29:41 -0800 (PST)
Local: Tues, Nov 20 2007 9:29 pm
Subject: Re: Lunar Lander missing R.java?
Even more information.

Creating a new file and copying the R.java supplied by x40 above does
no good, because it generates an error message. To paraphrase: "R.java
was changed manually, reverting to generated file".  Which would be
fine accept that no file gets generated. A clean of the project
deletes the R.java file and nothing creates a new one.

Anyone know how to get aapt.exe to do its job????

Jarisha

On Nov 20, 6:18 pm, Jarisha <Jerry.A.S...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jarisha  
View profile  
 More options Nov 20 2007, 9:33 pm
From: Jarisha <Jerry.A.S...@gmail.com>
Date: Tue, 20 Nov 2007 18:33:11 -0800 (PST)
Local: Tues, Nov 20 2007 9:33 pm
Subject: Re: Lunar Lander missing R.java?
Found this post on another topic, which fixed it:

Select Window > Preferences... to open the Preferences panel. (Mac OS
X: Eclipse > Preferences)
      Select Android from the left panel.
      For the SDK Location in the main panel, press Browse... and
locate the SDK directory.
      Press Apply, then OK.

On Nov 20, 6:18 pm, Jarisha <Jerry.A.S...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
LeVy  
View profile  
 More options Nov 21 2007, 2:46 am
From: LeVy <levanv...@gmail.com>
Date: Tue, 20 Nov 2007 23:46:53 -0800 (PST)
Local: Wed, Nov 21 2007 2:46 am
Subject: Re: Lunar Lander missing R.java?
Just build the project and it will automatically create R.java file.

On Nov 21, 11:33 am, Jarisha <Jerry.A.S...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »