。更换R类包的Andr​​oid /月食 [英] Change R class package android/eclipse

查看:86
本文介绍了。更换R类包的Andr​​oid /月食的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

进出口工作在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!

推荐答案

要更改生成的研究类的包名称,更改的属性<清单> 的Andr​​oidManifest.xml

To change the package name of the generated R class, change the package property of the <manifest> tag in AndroidManifest.xml

这篇关于。更换R类包的Andr​​oid /月食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆