As Adam indicates in his reply, this may be due to shared package name
in different libraries.
We have a 21.0.1 going to through final testing that will fix this
issue (by supporting it when it can, and stopping the build when it
cannot).
In the mean time, check your library package names and change them if
this applies to you. If not we'll have to investigate further.
On Thu, Dec 6, 2012 at 4:36 AM, Henrique Sousa
<
henrique.so...@gmail.com> wrote:
> Good morning everyone,
>
> While performing a installation of the ADT bundle (Eclipse ADT + SDK) on a
> new machine, I found out that my project started crashing with
> java.lang.NoSuchFieldError exception on a R resource.
>
> On my previous machine with Motodev 4.1 + ADT 20, everything works just
> perfect. I cannot, for the love of God, figure out out the solve the issue,
> and due to IP I cannot paste here much code and logs:
>
> 12-06 12:02:09.590: E/ACRA(5785): ****APPNAME**** fatal error :
> com.other.package.R$string.srv_geo_areas_short_get
> 12-06 12:02:09.590: E/ACRA(5785): java.lang.NoSuchFieldError:
> com.other.package.R$string.srv_geo_areas_short_get
>
> If I compile and run the apk generated with ADT 20, everything works just
> fine.
>
> I thank you in advance for any help/pointers in solving this issue.
> Thanks again.
>
> Best regards,
> Henrique Sousa
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com |
http://tools.android.com
Please do not send me questions directly. Thanks!