Failed to refresh Gradle project ‘service’ Unknown host ‘downloads.gradle.org’. Please ensure the host name is correct. If you are behind an HTTP proxy, please configure the proxy settings eith...
分类:
移动开发 时间:
2014-07-29 18:28:22
阅读次数:
2196
新建android project的时候遇到这个错误:解决方法:①直接修改F:\JAVA\SDK\android-sdk\tools\templates\activities (对应你的JAVA SDK目录)activities目录底下对应的活动窗口风格。template.xml 文件里面的form...
分类:
移动开发 时间:
2014-07-29 17:13:22
阅读次数:
354
chara[100];char*p=a;printf("pleaseenter<100zifchuan:\n");for(inti=0;i<100;i++){scanf("%c",(p+i));if(*(p+i)==‘\n‘){*(p+i)=‘\0‘;break;}}unsignedlongleng=strlen(a);printf("原字符串:\n%s\n",a);for(intk=0;k<leng;k++){for(inti=0;i<leng;i++){if(*(p+i)&..
分类:
其他好文 时间:
2014-07-29 15:42:49
阅读次数:
187
错误如图示:1、在php的目录下建立个文件夹tmp,这个有权限的问题,如果是ntfs的分区,就一定要添加evryone的控制权限,否则是没用的。2、在php.ini找到session.save_path 这一行,设成session.save_path = "C:/php/tmp"把前面的注释分号去掉...
分类:
Web程序 时间:
2014-07-29 14:13:58
阅读次数:
235
Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server ad...
分类:
Web程序 时间:
2014-07-29 13:55:38
阅读次数:
203
----------------Your project contains error(s),please fix them before running your application解决Yourprojectcontainserror(s),please fix them before run...
分类:
移动开发 时间:
2014-07-29 11:42:46
阅读次数:
286
详细异常:A SQLiteConnection object for database '/data/data/.../databases/....db' was leaked! Please fix your application to end transactions in progress ...
分类:
数据库 时间:
2014-07-28 15:02:33
阅读次数:
1781
Please help me contribute to this list, for non-experience iOS developers or someone who need a come-in-handy library list to refer or to use in their projects. Fork, edit and send a PR are all things...
分类:
移动开发 时间:
2014-07-26 17:15:02
阅读次数:
931
#include
long fun(long num)
{
long k=1;
do
{
k*=num%10;
num/=10;
}
while(num>0);
return k;
}
main()
{
long n;
printf("please enter a number:");
scanf("%ld",&n);
printf("\n%ld\n",fun(n));...
分类:
其他好文 时间:
2014-07-26 02:06:06
阅读次数:
247
今天在linux中打开Weka时,打开基因数据文件的时候出现如题所示的错误,说内存不足,需要设定一个更大的内存空间,只要执行以下命令sudo java -Xmx1024m -jar /usr/lib/R/library/RWekajars/java/weka.jar后,问题就解决了。不过这个命令分....
分类:
其他好文 时间:
2014-07-25 10:54:41
阅读次数:
268