Android Studio正式版已经发布一段时间了,使用Mac版的Android Studio可能与遇到Java not found:Android Studio was unable to find a valid JVM问题。
解决这个问题:
首先要确定mac系统上有没有安装jdk,并查看自己的jdk版本,可以在终端上输入命令 java -version查看。如果没有安装...
分类:
移动开发 时间:
2014-12-30 11:49:19
阅读次数:
160
The quesiton:Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in...
分类:
其他好文 时间:
2014-12-30 11:23:11
阅读次数:
176
在weblogic执行XA操作的时候,我们会碰到如下的错误,后来发现是JDBC配置的问题。主要报错:java.sql.SQLException: XA error: XAER_NOTA : The XID is not valid start() failed on resource'weblogi...
分类:
Web程序 时间:
2014-12-30 11:17:03
阅读次数:
384
如果你直接在 UIViewController 中加入一个 UITableView 并将其 Content 属性设置为 Static Cells,此时 Xcode 会报错:Static table views are only valid when embedded in UITableViewCo...
分类:
移动开发 时间:
2014-12-29 10:16:16
阅读次数:
170
Longest Substring with At Most Two Distinct CharactersGiven a string, find the length of the longest substring T that contains at most 2 distinct char...
分类:
其他好文 时间:
2014-12-28 16:53:21
阅读次数:
198
今天出现这个问题No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s).解决参考:http://stackoverflow.com/questions/12...
分类:
移动开发 时间:
2014-12-28 16:49:52
阅读次数:
254
What to do when the Chinese Characters are messed up when extracting from zip archive?What to do when the Chinese Characters are messed up when extrac...
分类:
其他好文 时间:
2014-12-28 15:19:10
阅读次数:
143
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word...
分类:
移动开发 时间:
2014-12-27 23:03:14
阅读次数:
176
Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the ...
分类:
其他好文 时间:
2014-12-27 20:14:16
阅读次数:
214
【题目】
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the nod...
分类:
其他好文 时间:
2014-12-27 17:34:02
阅读次数:
236