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. Getting contact phone numbers in a custom data layout.

Does someone have an idea?

Jiri

On 30 mrt, 13:04, "jiriheitla...@googlemail.com"



-- 

2. new service: link to android market from device and computer

Hi Folks,

I just launched my app VLC Remote and was surprised to see that there
isn't a way to post a link to the app on the market that works both on
my android device and also in my browser.

-so I made a way, and I'm opening it up for all-comers.

What it does is lets you post an http link like this

http://and-download.hobbyistsoftware.com/android/download?name=VLC
Remote&q=pname:com.hobbyistsoftware.android.vlcremote

If someone clicks on the link from an android device, then the link
opens in the market. If they click from their computer, then it offers
to send them a link by email (so they can click on the link on their
device).

the download emails have a (subtle) advert for my app, but the feature
is clearly your app!

details are here:
http://and-download.hobbyistsoftware.com/

I'm hoping this will be useful for people, so please use it anywhere
you like.

cheers,

Rob

-- 

3. Adding different views to gridview

4. HTML5 video in Browser

5. parsing text from file on sdcard

6. Messaging Stopped Unexpectedly (SQLiteException)

7. Selection.moveLeft