摘要:
直接把debug版本安装到真机会出现问题,和模拟器显示上的有点不一致。。亲身试验接下来综合总结一下我看到其他博主们的经验为什么要打包:apk文件就是一个包,打包就是要生成apk文件,有了apk别人才能安装使用。打包分debug版和release包,通常所说的打包指生成... 阅读全文
摘要:
不断的运行调试某一个项目,点击之后logcat会出现想不到的红色语句解决方法:点击Build----Clean Project再次调试发现没有红色语句,Error没有语句了,解决!========================================Talk... 阅读全文
摘要:
题目地址:https://leetcode.com/problems/reverse-string-ii/description/Given a string and an integer k, you need to reverse the first k char... 阅读全文
摘要:
首先,Ctrl + Alt +S,打开settings找到plugins,点击Browse repositories...在搜索框中输入findViewByMe,找到它并安装重启Android studio在写好的xml文件 中,右击找到findViewByMe(记住... 阅读全文
摘要:
如下代码所示,会出现什么现象? 咦?怎么会出现这种情况?不是first占比是1/3吗?second占比是2/3吗?还有不是应该layout_width不是应该设置为0dp吗?这现象怎么回事??的确应该设置为0dp,下面就来... 阅读全文
摘要:
题目地址:https://leetcode.com/problems/subtree-of-another-tree/description/Given two non-empty binary trees s and t, check whether tree t ... 阅读全文
摘要:
题目地址:https://leetcode.com/problems/arranging-coins/description/You have a total of n coins that you want to form in a staircase shape,... 阅读全文
摘要:
题目地址:https://leetcode.com/problems/add-binary/description/Given two binary strings, return their sum (also a binary string).The input ... 阅读全文
摘要:
题目地址:https://leetcode.com/problems/length-of-last-word/description/Given a string s consists of upper/lower-case alphabets and empty s... 阅读全文
摘要:
题目地址:https://leetcode.com/problems/find-pivot-index/description/Given an array of integers nums, write a method that returns the "pivo... 阅读全文