当前位置:首页 > Windows程序 > 正文

Delphi XE5 常见错误与解决

2021-05-23 Windows程序

1.运行时报示
Checking project dependencies...

Compiling Project1.dproj (Debug, Android)

dcc command line for "Project1.dpr"

[DCC Fatal Error] Project1.dpr(1): F1027 Unit not found: ‘System.pas‘ or binary equivalents (.dcu/.o)

Failed

Elapsed time: 00:00:00.1
答:
H:\uesecose\delphixe5\Program Files\Embarcadero\RAD Studio\12.0\lib 目录下没有安桌开发包
包的列表如下
android
iosDevice
iossimulator
osx32
win32
win64

2.delphi XE5 andriod连接 webservice乱码问题
答:为了不让广大朋友再烦恼,,我就把解决办法写出来吧,把数据库中我们要查询的字段类型改成nvarchar就行了。

3.delphi XE5 编义时提示找不到“连接器(arm-linux-androideabi-ld.exe)"

Checking project dependencies...

Compiling Project1.dproj (Debug, Android)

dcc command line for "Project1.dpr"

  d:\软件\delphixe5\program files\embarcadero\rad studio\12.0\bin\dccaarm.exe -$O- --no-config -M -Q -TX.so 

  -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;

  DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E.\Android\Debug -I"d:\软件\delphixe5\program files\embarcadero\rad studio\12.0\lib\Android\debug";

  "d:\软件\delphixe5\program files\embarcadero\rad studio\12.0\lib\Android\Release" -LE"C:\Documents and Settings\All Users\Documents\RAD 

  Studio\12.0\Bpl\Android" -LN"C:\Documents and Settings\All Users\Documents\RAD Studio\12.0\Dcp\Android" -NU.\Android\Debug -NSSystem;Xml;Data;

  Datasnap;Web;Soap; -O"d:\软件\delphixe5\program files\embarcadero\rad studio\12.0\lib\Android\Release" -R"d:\软件\delphixe5\program files\embarcadero\rad 

  studio\12.0\lib\Android\Release" -U"d:\软件\delphixe5\program files\embarcadero\rad studio\12.0\lib\Android\debug";"d:\软件\delphixe5\program 

  files\embarcadero\rad studio\12.0\lib\Android\Release" --libpath:"D:\软件\delphiXE5\Documents and Settings\All Users\Documents\RAD 

  Studio\12.0\PlatformSDKs\android-ndk-r8e\platforms\android-14\arch-arm\usr\lib" --linker:"D:\软件\delphiXE5\Documents and Settings\All 

  Users\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe" 

  -V -VN --linker-option:" -L \"D:\软件\delphiXE5\Documents and Settings\All Users\Documents\RAD 

  Studio\12.0\PlatformSDKs\android-ndk-r8e\sources\cxx-stl\stlport\libs\armeabi-v7a\"" -NO.\Android\Debug   Project1.dpr   

[DCC Fatal Error] F1026 File not found: ‘D:\软件\delphiXE5\Documents and Settings\All Users\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe‘

Failed

Elapsed time: 00:03:34.1 
答:原因是SDK放在了中文的文件夹下,改为英文就OK了。

Delphi XE5 常见错误与解决

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/70013.html