A common "fix-all" I've had to apply when importing existing projects
is to right-click the project in the Eclipse package explorer and
choose Android Tools->Fix Project Properties. Then (assuming your JARs
appear in the build path configuration, if necessary) Project->Clean
to clean the new projec
It seems that the ADT does not generate the .apk and .dex files which
is
a consequence of the jars files I include in the src code. Although
the
code compiles fine in Android SDK, when I try to run the emulator I
keep
getting the message that errors exist in the project, and although
those
errors
So I generated a new project, and of course the R.java is in place as
expected, imported the
src dirs from the other project into the src dir of this one, checked
all of them and no errors
are displayed, but still when I run the app (without the Activity
class calling any of these
imported classes
RIght but that didn't do it Craig. It does build the files I have
imported
successfully but the R class does not get generated. I have a feeling
a hidden issue somewhere (even though the Error Log does not show
anything in Eclipse) is preventing this generation. I may try to
create
a new empty pro
Go to the problem tab and if there are messages that don't go away,
right click them and delete them. Ignore the warning about you can't
get it back. Then do a Project --> Clean, and try running the project
again.
I was getting these every time I tried to Run while I was editing an
xml file. You h
Another thing to try (when 'clean' fails) is to edit the whitespace in
main.xml, forcing Android to treat it as news. This in turn means
'rebuild R.java'. Usually, this works. I have seen it fail only
rarely. Then I copy all my files to a safe place and create the
project all over from scratch:(
O
Just try save the project again. It seems to be the case that those files
get generated when it builds. A save in eclipse builds the package.
On Thu, Jul 8, 2010 at 3:42 PM, kypriakos wrote:
>
> It seems that the gen dir is empty and that no generated java classes
> are not being generated (no R
It seems that the gen dir is empty and that no generated java classes
are not being generated (no R.java etc.). I am assuming the Clean
Project
removed them (??). How can they be regenerated?
Thanks again
On Jul 8, 3:37 pm, kypriakos wrote:
> Never mind - I needed to manually clean up the build
Never mind - I needed to manually clean up the build path file as well
to
match the fact that the lib didn't have those files anymore. So now I
can
compile the project with no errors either visible (with x next to the
dir or
any file in the project tree) or in the Error Log that Eclipse
provides.
H
David - thanks very much for the detailed and very informative
response. I appreciate it.
I looked into the Error Log of the IDE and I did see that certain
libraries (external libraries
that I needed to reference through my code, such as BouncyCastle etc.)
had also a txt
file with them that the An
Hi all,
trying once more to see if anyone had this problem before.
Thanks
On Jul 7, 1:07 am, Demetris wrote:
> Hi all,
>
> I generated a standard Android under Eclipse (using the plugin) and I
> imported code from an existing project (J2SE-based). I was able to
> iron out all the complaints fro
On Jul 7, 1:07 am, Demetris wrote:
> Hi all,
>
> I generated a standard Android under Eclipse (using the plugin) and I
> imported code from an existing project (J2SE-based). I was able to
> iron out all the complaints from the Android SDK 2.1 (compile errors).
> However, the runtime (emulator st
12 matches
Mail list logo