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. manually update AppWidgetProvider's onUpdate

hi,

my custom AppWidgetProvider has onUpdate method where i have logic to
update RemoteViews

it is not periodically updated by system, but rather, i'd like to
trigger onUpdate if something happens (in one of my app Activities).
both custom AppWidgetProvider and Activities i'd like to trigger
update from run with the same UID

i tried some AppWidgetManager's methods, but no luck, finally i ended
with really weird solution: i'm sending broadcast with action
ACTION_APPWIDGET_UPDATE and extras EXTRA_APPWIDGET_IDS which i got
from AppWidgetManager

is it a common way of updating AppWidgetProvider?

thanks
pskink



-- 

2. Accessing built-in AAC and MP3 decoders

Is there way to access built-in AAC and MP3 decoders from NDK C code?

-- 

3. How can we do TextView Justification

4. Showing application version

5. Opengl Es 3D text

6. Extremely slow Android SDK download (5 kB/sec)

7. HTC Hero (Sense UI) in emulator