为啥不存在,我明明ext3文件解压后不存在了啊,路径也是对的

问题补充&&
本页链接:
exe文件安装,然后点击你下到其他盘,必须要一致,这样做也是为了你以后下补丁安装起来方便,不然安装不成功.那个文件的安装目录就是你刚才下载的那个盘,安装补丁也得安到同一个目录文件下
ai5995123 &
劲舞团最好不要下载到系统C盘、
果肉优酪果冻&
把劲舞团解压在下载的盘上,就不会出现这样的问题了。最好是在D盘。
我们会有的未来&
猜你感兴趣Pages: 1/4
主题 : iOS 明明存在的头文件,导入时却提示找不到。
级别: 新手上路
可可豆: 0 CB
威望: 1 点
在线时间: 87(时)
发自: Web Page
iOS 明明存在的头文件,导入时却提示找不到。&&&
我之前刚做完shareSDK的分享功能的时候,将文件夹压缩备份了一份。&
结束后,打开原工程的时候,出错了:导入的头文件 #import &TencentOpenAPI/QQApiInterface.h& 提示找不到文件了。&
级别: 新手上路
UID: 291618
可可豆: 30 CB
威望: 22 点
在线时间: 139(时)
发自: Web Page
查一下工程的framework路径是不是错了。
级别: 新手上路
可可豆: 0 CB
威望: 1 点
在线时间: 87(时)
发自: Web Page
没有哦,事实上,在我压缩之前,有正常运行过一次的。而且,这个路径是Xcode联想出来的。
级别: 新手上路
UID: 291618
可可豆: 30 CB
威望: 22 点
在线时间: 139(时)
发自: Web Page
framework路径是在添加framework时候自动加的,不过加的是绝对路径。如果你想直接修复这个问题就把framework移除一下再添加一下就行了。不自己手动调整一下,换个机器就编译不过了。
级别: 新手上路
可可豆: 13 CB
威望: 13 点
在线时间: 142(时)
发自: Web Page
你把&框架删除,在重新导入一次,可能是因为多人 导入的造成的
级别: 新手上路
可可豆: 0 CB
威望: 1 点
在线时间: 87(时)
发自: Web Page
嗯,我也试过了。删除再添加,还是无法找到。而且,同一framework路径下的其它头文件可以找到。就它找不到
级别: 新手上路
可可豆: 0 CB
威望: 1 点
在线时间: 87(时)
发自: Web Page
哭死,还是不行~~~而且,同一framework路径下的其它头文件可以找到。就它找不到
级别: 新手上路
UID: 291618
可可豆: 30 CB
威望: 22 点
在线时间: 139(时)
发自: Web Page
关机重起试一试吧,看看是不是文件被占用了xcode无法打开了。
级别: 新手上路
可可豆: 0 CB
威望: 1 点
在线时间: 87(时)
发自: Web Page
T_T重启3次了~~555555
级别: 新手上路
可可豆: 118 CB
威望: 140 点
在线时间: 223(时)
发自: Web Page
windowns-organizer-projects &那你报错的工程选择delete &重新打开一次看看。
&
Pages: 1/4
关注本帖(如果有新回复会站内信通知您)
苹果公司现任CEO是谁?2字 正确答案:库克
发帖、回帖都会得到可观的积分奖励。
按"Ctrl+Enter"直接提交
关注CocoaChina
关注微信 每日推荐
扫一扫 浏览移动版我在使用ICSharpCode.SharpZipLib进行目录压缩后,再解压缩是提示这个错误-c/c++-电脑编程网我在使用ICSharpCode.SharpZipLib进行目录压缩后,再解压缩是提示这个错误作者:huisheng 和相关&&我在使用ICSharpCode.SharpZipLib进行目录压缩后,再解压缩是提示这个错误:Size mismatch: ;126976 &-& 是在执行这句时: size = s.Read(data, 0, data.Length);//读入一个压缩块报的错误。我的源代码如下//压缩&
/// 递归压缩文件夹方法&
private static bool ZipFileDictory(string FolderToZip, ZipOutputStream s, string ParentFolderName)&
bool res =&
string[] folders,&
ZipEntry entry =&
FileStream fs =&
Crc32 crc = new Crc32();&
{//创建当前文件夹&
entry = new bine(ParentFolderName, Path.GetFileName(FolderToZip) + &/&)); //加上 “/” 才会当成是文件夹创建&
s.PutNextEntry(entry);&
s.Flush();&
//先压缩文件,再递归压缩文件夹& &
filenames = Directory.GetFiles(FolderToZip);&
foreach (string file in filenames)&
//打开压缩文件&
fs = File.OpenRead(file);&
byte[] buffer = new byte[fs.Length];&
fs.Read(buffer, 0, buffer.Length);&
entry = new bine(ParentFolderName, Path.GetFileName(FolderToZip) + &/& + Path.GetFileName(file)));&
entry.DateTime = DateTime.N&
entry.Size = fs.L&
fs.Close();&
crc.Reset();&
crc.Update(buffer);&
entry.Crc = crc.V&
s.PutNextEntry(entry);&
s.Write(buffer, 0, buffer.Length);&
if (fs != null)&
fs.Close();&
if (entry != null)&
GC.Collect();&
GC.Collect(1);&
folders = Directory.GetDirectories(FolderToZip);&
foreach (string folder in folders)&
if (!ZipFileDictory(folder, s, bine(ParentFolderName, Path.GetFileName(FolderToZip))))&
/// 压缩目录&
/// 待压缩的文件夹,全路径格式&
/// 压缩后的文件名,全路径格式&
private static bool ZipFileDictory(string FolderToZip, string ZipedFile, String Password)&
if (!Directory.Exists(FolderToZip))&
ZipOutputStream s = new ZipOutputStream(File.Create(ZipedFile));&
s.SetLevel(9);&
s.Password = P&
res = ZipFileDictory(FolderToZip, s, &&);&
s.Finish();&
s.Close();& &
/// 压缩文件&
/// 要进行压缩的文件名&
/// 压缩后生成的压缩文件名&
private static bool ZipFile(string FileToZip, string ZipedFile, String Password)&
//如果文件没有找到,则报错&
if (!File.Exists(FileToZip))&
throw new System.IO.FileNotFoundException(&指定要压缩的文件: & + FileToZip + & 不存在!&);&
//FileStream fs =&
FileStream ZipFile =&
ZipOutputStream ZipStream =&
ZipEntry ZipEntry =&
bool res =&
ZipFile = File.OpenRead(FileToZip);&
byte[] buffer = new byte[ZipFile.Length];&
ZipFile.Read(buffer, 0, buffer.Length);&
ZipFile.Close();&
ZipFile = File.Create(ZipedFile);&
ZipStream = new ZipOutputStream(ZipFile);&
ZipStream.Password = P&
ZipEntry = new ZipEntry(Path.GetFileName(FileToZip));&
ZipStream.PutNextEntry(ZipEntry);&
ZipStream.SetLevel(6);&
ZipStream.Write(buffer, 0, buffer.Length);&
if (ZipEntry != null)&
ZipEntry =&
if (ZipStream != null)&
ZipStream.Finish();&
ZipStream.Close();&
if (ZipFile != null)&
ZipFile.Close();&
ZipFile =&
GC.Collect();&
GC.Collect(1);&
/// 压缩文件 和 文件夹&
/// 待压缩的文件或文件夹,全路径格式&
/// 压缩后生成的压缩文件名,全路径格式&
public bool Zip(String FileToZip, String ZipedFile, String Password)&
if (Directory.Exists(FileToZip))&
return ZipFileDictory(FileToZip, ZipedFile, Password);&
else if (File.Exists(FileToZip))&
return ZipFile(FileToZip, ZipedFile, Password);&
}------回答---------------其他回答(10分)---------C# code
using S
using System.Collections.G
using System.T
using ZipHelper.ZipLib.Z
using System.IO;
using System.D
using ZipHelper.ZipLib.C
namespace ZipHelper.ZipLib
{
public class CreateZipHelper
private static void GetDir(string sourcePath, List&string& filenames)
filenames.AddRange(Directory.GetFiles(sourcePath));
DirectoryInfo dir = new DirectoryInfo(sourcePath);
foreach (DirectoryInfo d in dir.GetDirectories())
GetDir(d.FullName, filenames);
catch (Exception ex)
/// &summary&
/// Create File.
/// &/summary&
/// &param name=&zipFile&&the destfile.&/param&
/// &param name=&filePath&&the souce files Path.&/param&
public static void CreateZipFile(string zipName, string souceFilesPath)
if (!Directory.Exists(souceFilesPath))
Debug.WriteLine(&Cannot find directory '{0}'&, souceFilesPath);
// Depending on the directory this could be very large and would require more attention
// in a commercial package.
//string[] filenames = Directory.GetFiles(souceFilesPath);
List&string& filenames = new List&string&();
GetDir(souceFilesPath, filenames);
// 'using' statements gaurantee the stream is closed proy which is a big source
// of problems otherwise.
Its exception safe as well which is great.
using (ZipOutputStream s = new ZipOutputStream(File.Create(zipName)))
s.SetLevel(9); // 0 - store only to 9 - means best compression
byte[] buffer = new byte[4096];
foreach (string file in filenames)
// Using GetFileName makes the result compatible with XP
// as the resulting path is not absolute.
string filename =
if (filename.StartsWith(&\\&))
filename = filename.Substring(1);
ZipEntry entry = new ZipEntry(filename);
// Setup the entry data as required.
// Crc and size are handled by the library for seakable streams
// so no need to do them here.
// Could also use the last write time or similar for the file.
entry.DateTime = DateTime.N
s.PutNextEntry(entry);
using (FileStream fs = File.OpenRead(file))
// Using a fixed size buffer here makes no noticeable difference for output
// but keeps a lid on memory usage.
int sourceB
sourceBytes = fs.Read(buffer, 0, buffer.Length);
s.Write(buffer, 0, sourceBytes);
} while (sourceBytes & 0);
// Finish/Close arent needed strictly as the using statement does this automatically
// Finish is important to ensure trailing information for a Zip file is appended.
Without this
// the created file would be invalid.
s.Finish();
// Close is important to wrap things up and unlock the file.
s.Close();
catch (Exception ex)
Console.WriteLine(&Exception during processing {0}&, ex);
// No need to rethrow the exception as for our purposes its handled.
}
}
}
看看可以不可以------其他回答(10分)---------如果有源码的话可以这样做:在项目所引用库“ICSharpCode.SharpZipLib.dll”的ICSharpCode.pression. ZipInputStream.cs类中找到抛出异常的代码段:int BodyRead(byte[] buffer, int offset, int count){...if ((flags & 8) == 0 && (inf.TotalIn != csize || inf.TotalOut != size)) {throw new ZipException(&Size mismatch: & + csize + &;& + size + & &-& & + inf.TotalIn + &;& + inf.TotalOut);}...}将if ((flags & 8) == 0 && (inf.TotalIn != csize || inf.TotalOut != size)) {throw new ZipException(&Size mismatch: & + csize + &;& + size + & &-& & + inf.TotalIn + &;& + inf.TotalOut);}注释掉即可,解压和压缩一切都正常。------回答---------------其他回答(10分)---------C# code
using S
using System.Collections.G
using System.T
using ZipHelper.ZipLib.Z
using System.IO;
using System.D
using ZipHelper.ZipLib.C
namespace ZipHelper.ZipLib
{
public class CreateZipHelper
private static void GetDir(string sourcePath, List&string& filenames)
filenames.AddRange(Directory.GetFiles(sourcePath));
DirectoryInfo dir = new DirectoryInfo(sourcePath);
foreach (DirectoryInfo d in dir.GetDirectories())
GetDir(d.FullName, filenames);
catch (Exception ex)
/// &summary&
/// Create File.
/// &/summary&
/// &param name=&zipFile&&the destfile.&/param&
/// &param name=&filePath&&the souce files Path.&/param&
public static void CreateZipFile(string zipName, string souceFilesPath)
if (!Directory.Exists(souceFilesPath))
Debug.WriteLine(&Cannot find directory '{0}'&, souceFilesPath);
// Depending on the directory this could be very large and would require more attention
// in a commercial package.
//string[] filenames = Directory.GetFiles(souceFilesPath);
List&string& filenames = new List&string&();
GetDir(souceFilesPath, filenames);
// 'using' statements gaurantee the stream is closed proy which is a big source
// of problems otherwise.
Its exception safe as well which is great.
using (ZipOutputStream s = new ZipOutputStream(File.Create(zipName)))
s.SetLevel(9); // 0 - store only to 9 - means best compression
byte[] buffer = new byte[4096];
foreach (string file in filenames)
// Using GetFileName makes the result compatible with XP
// as the resulting path is not absolute.
string filename =
if (filename.StartsWith(&\\&))
filename = filename.Substring(1);
ZipEntry entry = new ZipEntry(filename);
// Setup the entry data as required.
// Crc and size are handled by the library for seakable streams
// so no need to do them here.
// Could also use the last write time or similar for the file.
entry.DateTime = DateTime.N
s.PutNextEntry(entry);
using (FileStream fs = File.OpenRead(file))
// Using a fixed size buffer here makes no noticeable difference for output
// but keeps a lid on memory usage.
int sourceB
sourceBytes = fs.Read(buffer, 0, buffer.Length);
s.Write(buffer, 0, sourceBytes);
} while (sourceBytes & 0);
// Finish/Close arent needed strictly as the using statement does this automatically
// Finish is important to ensure trailing information for a Zip file is appended.
Without this
// the created file would be invalid.
s.Finish();
// Close is important to wrap things up and unlock the file.
s.Close();
catch (Exception ex)
Console.WriteLine(&Exception during processing {0}&, ex);
// No need to rethrow the exception as for our purposes its handled.
}
}
}
看看可以不可以------其他回答(10分)---------如果有源码的话可以这样做:在项目所引用库“ICSharpCode.SharpZipLib.dll”的ICSharpCode.pression. ZipInputStream.cs类中找到抛出异常的代码段:int BodyRead(byte[] buffer, int offset, int count){...if ((flags & 8) == 0 && (inf.TotalIn != csize || inf.TotalOut != size)) {throw new ZipException(&Size mismatch: & + csize + &;& + size + & &-& & + inf.TotalIn + &;& + inf.TotalOut);}... }将if ((flags & 8) == 0 && (inf.TotalIn != csize || inf.TotalOut != size)) {throw new ZipException(&Size mismatch: & + csize + &;& + size + & &-& & + inf.TotalIn + &;& + inf.TotalOut);}注释掉即可,解压和压缩一切都正常。相关资料:|||||||我在使用ICSharpCode.SharpZipLib进行目录压缩后,再解压缩是提示这个错误来源网络,如有侵权请告知,即处理!编程Tags:                &                    为什么刀塔2 下载完了解压失败,解压路径到底是什么?为什么我选择哪个解压路径都失败_百度知道

我要回帖

更多关于 lol指定路径不存在 的文章

 

随机推荐