。更换R类包的Android /月食 [英] Change R class package android/eclipse
问题描述
进出口工作在Android的一个小接口上,当我运行它的xxx应用程序意外停止。即时寻找更多钞票错误,但我没有发现任何东西。
Im working on a little interface in android and when I run it the "xxx application has stopped unexpectedly" appears. Im looking for posible errors but I don't find anything.
无论如何,我想改变R类包的名字,当我refactor->重新命名它日食产生另外一个在老包,即使我删除包日食,再一次发生了,我不能摆脱它!
Anyway I would like to change the R class package name, when I refactor->rename it eclipse generates another one in the old package,even if I delete that package eclipse generates it again, I can't get rid of it!
推荐答案
要更改生成的研究
类的包名称,更改包
的属性<清单>
在的AndroidManifest.xml
To change the package name of the generated R
class, change the package
property of the <manifest>
tag in AndroidManifest.xml
这篇关于。更换R类包的Android /月食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!