Android
Fillim
这个作者很懒,什么都没留下…
展开
-
Button cannot be resolved to a type报错
在Activity中生成Button成员变量时,有import android.widget.*;原创 2014-08-06 13:04:23 · 908 阅读 · 0 评论 -
Attribute is missing the Android namespace prefix
用SDK4.4写程序的时候,出现了Attribute is missing the Android namespace prefix(属性丢失命名空间前缀)原来是自己android拼成了andriod了,然后更改后需要保存一下,错误才会消失原创 2014-08-05 23:00:18 · 1019 阅读 · 0 评论 -
C++ 如何从string中删除一个字符?
#include #include #include #include using namespace std;int main(){ string str = "abcdfccccefg"; string::iterator new_end = remove_if(str.begin(), str.end(), bind2nd(equal_to(), 'c')); str.erase(new_e原创 2014-09-12 20:45:11 · 629 阅读 · 0 评论 -
android 自动补全
如果你用过Visual Studio的自动补全功能后,再来用eclipse的自动补全功能,相信大家会有些许失望。 但是eclipse其实是非常强大的,eclipse的自动补全没有VS那么好是因为eclipse的补全功能用的是默认设置。你只需要稍微修改一下就行了。 最简单的修改方式是:Windows——>Preferences——>Java-->Editor-->Content A转载 2014-10-25 11:18:59 · 593 阅读 · 0 评论 -
Ubuntu 下安装android studio
1.先安装java检查Java是否已经安装在Ubuntu上打开终端,使用下面的命令:java -version如果你看到像下面的输出,这就意味着你并没有安装过Java:The program ‘java’ can be foundin the following packages:*default-jre* gcj-4.6-jre-headless* ope转载 2014-10-25 09:36:48 · 949 阅读 · 0 评论