0

Hi my customer tried to add the apk to their market application and an error occured like below.

*18.Ağu.2011 12:23:14 brut.androlib.res.AndrolibResources loadMainPkg INFO: Loading resource table... Exception in thread "main" java.lang.Error: Androlib Error: Multiple resources: spec=0x7f02004c drawable/top_bar_large, config=-ldpi*

it seems the tool thinks that the drawable resource named top_bar_large has been used more than once. That's right but in different drawable directories.

I mean the image is located in the directories;

drawable-ldpi

drawable-xlarge-ldpi

As I know android handles this automatically. And I also have installed that failing (actually the tool thinks it is failing) apk to my phones and other phones ( different brand ) without any issue !

What do I need to do ? can you help me ?

4

1 回答 1

2

我希望这仍然是相关的。

我会建议两件事之一。首先,尝试最新版本的 apktool。据我所知,将 xlarge 添加到 apktool 的时间相当晚。最新版本应该可以正常工作。

如果没有,您可以尝试zzos(完全披露:zzos 是我写的)。它鲜为人知,但有时可能能够处理 apktool 无法反编译的 APK。特别是,我碰巧知道zzos支持xscale,并且已经有一段时间了。

我希望这会有所帮助,
沙查尔

于 2012-07-08T19:43:53.160 回答