I'm running fedora 10, and I've had similar issues. Cleaning is part
of the solution. However, I had a further problem that needed to be
resolved first. As with previous releases of the SDK, I've found that
I needed to execute "chmod 755 *" in the 'tools' directory. With this
release, there ar
I think this is the right answer. When face the same problem, I fixed
it after clean the project.
thanks to Raphael
vincent
On Apr 29, 1:31 am, Raphael wrote:
> The first time you convert an old project to the 0.9 ADT with 1.5 SDK,
> you should try to use Project > Clean if you see any error o
More info...it is specifically the "import android.R" statement that
is
causing the problem. It was in all my old files. When I delete it and
re-generate
the new imports, the problem goes away.
Maybe this can be fixed in Eclipse or ADT. I'm sure other people must
also
be having this problem.
jh
More info...it is specifically the "import android.R" statement that
is
causing the problem. It was in all my old files. When I delete it and
re-generate
the new imports, the problem goes away.
Maybe this can be fixed in Eclipse or ADT. I'm sure other people must
also
be having this problem.
jh
More info...it is specifically the "import android.R" statement that
is
causing the problem. It was in all my old files. When I delete it and
re-generate
the new imports, the problem goes away.
Maybe this can be fixed in Eclipse or ADT. I'm sure other people must
also
be having this problem.
jh
Strange. When I manually deleted all the Import statements and then
Reorganize Imports (Shift+Ctrl+O) again, it cleans up the problems. I
had been
using Organize-Imports (Shift+Ctrl+O) repeatedly on those migrated
files but there may have been some stale imports that needed to be
manually deleted
Yes, I selected Android 1.1 platform API Level 2.
I also made sure src and gen folders were included in the Build path.
I also included res folder in Build path but it had no effect.
FYI: I am able to build a new Hello World program that just works.
But,
I can't figure out why that one works and
Did you setup the Build target for your older project?
Xav
On Thu, Apr 30, 2009 at 2:54 PM, John B. Hansen wrote:
>
> I have the same problem i.e. after converting to Android 1.5 SDK,
> my project files won't compile due to dozens of R.* files "cannot be
> resolved".
>
> I've tried:
> 1. Addi
I also checked and the 'gen' dir is in my java source build path.
Its still not working.
jh
On Apr 30, 2:54 pm, "John B. Hansen" wrote:
> I have the same problem i.e. after converting to Android 1.5 SDK,
> my project files won't compile due to dozens of R.* files "cannot be
> resolved".
>
> I'v
I have the same problem i.e. after converting to Android 1.5 SDK,
my project files won't compile due to dozens of R.* files "cannot be
resolved".
I've tried:
1. Adding the sdk 'tools' to my path
2. Reinstalling ADT
3. Cleaning my project
Nothing is working. Anyone have any other suggest
I had the same problem but solved it. Perhaps this will help: Make
sure the 'gen' directory is part of the java source build path.
Right Click on project name (Package Explorer) -> Properties (Context
Menu) ->
Java Build Path (tree) -> Source (tab) -> Add Folder (Button) ->
"gen" (directory nam
The first time you convert an old project to the 0.9 ADT with 1.5 SDK,
you should try to use Project > Clean if you see any error on missing
or duplicate classes.
R/
On Mon, Apr 27, 2009 at 9:44 PM, hc wrote:
>
> Do you have to uninstall before you reinstall it? I just updated my
> ADT to 0.9
Hi hc
Under Unix to add tools directory to PATH you can do it in
.bash_profile of your user :
PATH=$PATH:/tools
export PATH
where xxx is the PATH of where you put the SDK
Andre
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
How do u add tools directory to PATH? Was that automatic in Eclipse,
and I broke that somehow?
On Apr 28, 1:56 pm, André Charles Legendre
wrote:
> I got similar problems with SDK on Linux. I solved it by adding tools
> directory in PATH.
>
> Regards
>
> Andre
--~--~-~--~~
I got similar problems with SDK on Linux. I solved it by adding tools
directory in PATH.
Regards
Andre
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
Do you have to uninstall before you reinstall it? I just updated my
ADT to 0.9 (the non-pre ADT), and update to 1.5_R1 SDK, but I still
get the same error if I try to compile for Android1.1
On Apr 28, 9:29 am, Jay lee wrote:
> I saw the same error.
> so I reinstalled ADT and recheck build target
I saw the same error.
so I reinstalled ADT and recheck build target "Android1.1"
then I can see R.java which is generated at "gen" folder.
try this.
On Apr 27, 10:46 pm, hc wrote:
> Hi,
>
> I just tried that. But it does not work. After removing the file, I
> still get the same error when I try
Hi,
I just tried that. But it does not work. After removing the file, I
still get the same error when I try to compile for 1.1 SDK.
Worse, when I try to compile for 1.5 SDK after that, I get the
following error but application compiled successfully
Conversion to Dalvik format failed with error 1
considering that R.java is a generated file, try deleting it and see
if the environment rebuilds according to your preference.
On Mon, Apr 27, 2009 at 8:57 AM, hc wrote:
>
> I updated to 1.5 SDK pre, together with the ADT. I followed the
> instruction to select Android 1.5 as target by right cl
19 matches
Mail list logo