无包装标识中获得价值的资源数量时, [英] No package identifier when getting value for resource number

查看:158
本文介绍了无包装标识中获得价值的资源数量时,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看过类似标题已经问题。

I have read question with similar titles already.

就像你所看到的没有太大的信息。

Like you can see there is not much info.

我已经签入R档没有0x00000021c资源。

I have checked in the R file there is no 0x00000021c resource.

这发生在我preSS一个按钮,我创建一个新的意图,我想加载一个新的活动画面。它像一个下一个屏幕按钮...

This happens when I press a button and I am creating a new Intent and I want to load a new Activity to the screen. It is like a "Next screen" button...

新的活动是大,然后现在我分割动态和静态部分:大量的XML-S,而不是一个简单的以1-2视图。大约共有100有何看法?

The new activity is big, and right now I am splitting the dynamic and the static parts: a lot of xml-s, and not a simple one with 1-2 view. Around total 100 view?

当我看到其他的问题和答案,我想我有一个地方.setText(一些非法的东西在这里)

As I saw the other questions and answers I think I have somewhere a .setText("Some invalid stuff here")

不知道如何找到这条线,除了与调试器一步一步过线的千?

推荐答案

请也检查一下按键的设定值,并做了的setText(+的intValue)而不是的setText(的intValue)

Please check also the button setting values, and do a setText(""+intValue) instead of setText(intValue)

这篇关于无包装标识中获得价值的资源数量时,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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