After the ADT 0.9 update, Eclipse can not create R.java automatically

by tony » Fri, 23 Jan 2009 11:12:36 GMT


Sponsored Links
  met same issue.

On 11 112 moontain <chen.worksp...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by moontain » Fri, 23 Jan 2009 22:09:19 GMT


 oes anybody have any clues on how to fix this issue?

2009/1/21 moontain <chen.worksp...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


After the ADT 0.9 update, Eclipse can not create R.java automatically

by Oxygen » Sat, 24 Jan 2009 20:55:48 GMT


  build the SDK and ADT under linux.
And I met this issue too.


On 13 108 moontain <chen.worksp...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by MayFirst » Mon, 26 Jan 2009 14:13:55 GMT


  am facing the same issue

On Jan 24, 6:55 am, Oxygen <oxygen.jian.w...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by Penguin of Death » Tue, 27 Jan 2009 06:13:49 GMT


  ran into the same problem after building SDK/ADT on Mac OS X
Leopard; no R-file is being generated.
At least it doesn't seem like an isolated issue...

On Jan 25, 10:49 pm, MayFirst <zhu.sh...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by Breno » Tue, 27 Jan 2009 06:51:14 GMT


 ame issue in Windows SDK...

On 26 jan, 19:15, Penguin of Death <penguin.of.de...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by Khuong » Thu, 29 Jan 2009 06:01:24 GMT


 he ADT's PreCompilerBuilder uses aapt to generate the R.java file.
The android.jar includes a compressed resources file called
resources.arsc that appt needs to extract out to a buffer. The first
error indicates that it failed to create this buffer.

The root cause is that the buffer max size is set to 1 MB. The
resources.arsc file in prior versions was smaller than the max size,
but in cupcake, it's about 1.3 MB. For a quick workaround, you can
increase this buffer size to 2 MB. To do this, look for the Asset.h
file under

mydroid/frameworks/base/include/utils

change

UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024

to

UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024

and rebuild the sdk again.


On Jan 21, 9:12am, moontain <chen.worksp...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by TheEric » Mon, 09 Feb 2009 15:24:03 GMT


 t still doesn't work for me~ :-(
It gives me the same error message~

[2009-02-09 10:01:22 - Mms] W/ResourceType( 3244): Unable to get
buffer of resource asset file
[2009-02-09 10:01:22 - Mms] (skipping index file 'D:\Project
\cupcake_20090129.tar\packages\apps\Mms\res\drawable\Thumbs.db')
[2009-02-09 10:01:22 - Mms] Adding multiple application package
resources; only one is allowed.
[2009-02-09 10:01:22 - Mms] Use -x to create extended resources.
[2009-02-09 10:01:22 - Mms] D:\Project\cupcake_20090129.tar\packages
\apps\Mms\res\layout\add_attachment_list.xml:21: ERROR No resource
identifier found for attribute 'layout_width' in package 'android'
........
........
........
........

Do you know any other option to fix this problem? :-(



On 19 71 Khuong <kgh...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by tom » Fri, 20 Feb 2009 00:42:18 GMT


 i /frameworks/base/include/utils/Asset.h
change the following
UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024
to
UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024

and rebuild sdk
that's ok



--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by 鍐板挅鍟′笉鍔犵硸 » Tue, 24 Feb 2009 16:50:15 GMT


  changed the UNCOMPRESS_DATA_MAX,
but the bug still exist.

may be it works in linux,
my eclipse works in windows.

However, i found another way to avoid the bug,
Just like what Khunong said.

I change the andorid.jar/resources.arsc to the old version instead of
the new version which i compiled in cupcake.

and the bug disappers.


On 29 38 tom <gxiao...@sohu.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by 鍐板挅鍟′笉鍔犵硸 » Tue, 24 Feb 2009 17:01:43 GMT


 ut not all project could word well

for example, SoftKeyboard (in cupcake source code ) res/xml/qwerty.xml
has some "error".

On 24 40 <xinyu...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by 鍐板挅鍟′笉鍔犵硸 » Tue, 24 Feb 2009 17:15:55 GMT


 ix it.

just do it, replace the andorid.jar/resources.arsc you compiled with
the old version which could work.


On 24 51 <xinyu...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by niumar...@gmail.com » Mon, 13 Apr 2009 12:12:43 GMT


 o rebuild your android project will generate the R.java
automatically.
just type 'Ctrl + B' in eclipse on windows platform
it works for me.

On Feb 24, 2:15 am, <xinyu...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



After the ADT 0.9 update, Eclipse can not create R.java automatically

by niumar...@gmail.com » Mon, 13 Apr 2009 12:12:43 GMT


 n widows, how to solve this problem? can I create the R.java manually
or does google fix the problem yet?


On Feb 24, 2:15 am, <xinyu...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Service message for App installation

With J2ME devices you can construct a binary SMS, called a service
message, which has the location of a JAD encoded in its payload. When
sent to a handset, the OS recognises this and doesn't attempt to store
it as an ordinary SMS, instead just prompts the user to "Install
XYZ?". This then starts the JAD/JAR handshaking process, resulting in
the app being installed. In other words, there is a standard for
pushing apps via OTA.
It seems with Android the closest you get is to send a plaintext SMS
with a URL of the APK.
Is this the only way to push apps?
And is there a difference between market and non-market apps when
doing this?

Thanks

--
Android Academy http://www.androidacademy.com

--~--~---------~--~----~------------~-------~--~----~

2. How to determine what input methods are available on device

Hi,

Does anyone know if there is some way on Android to determine what set
of languages the user has set up for text entry?  E.g. could I call a
function like

getKeyboardEncodings()

that would return a list of strings like "en", "ja" etc which would
indicate that the device was set up for English and Japanese keyboard
input or something similar?

Many thanks in advance
CHEERS> SAM
--~--~---------~--~----~------------~-------~--~----~

3. Catching exceptions globally

4. costum list adapter:big problem

5. Getting error: The icon for your application is not valid. Please use a 48x48 PNG

6. "Share" menu

7. Spinner that looks like an EditText - Head is bloody and bruised