hmd*_*ght 5 ide delphi android delphi-xe8
在使用Delphi XE8多设备应用程序(android)时,此错误不断出现:'无效的ImageList索引'.
细节:
[507A7424]{vcl220.bpl } Vcl.ImgList.TCustomImageList.Delete (Line 664, "Vcl.ImgList.pas" + 2) + $1C
[0CC0E98C]{MultidevicePreview220.bpl} DesignPreviewFrm.TfrmDesignPreview.UpdateThumb (Line 744, "DesignPreviewFrm.pas" + 50) + $8
[0CC0E597]{MultidevicePreview220.bpl} DesignPreviewFrm.TfrmDesignPreview.TickTackTimer (Line 653, "DesignPreviewFrm.pas" + 27) + $7
[5073D11F]{vcl220.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3093, "Vcl.ExtCtrls.pas" + 1) + $E
[5073D003]{vcl220.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3051, "Vcl.ExtCtrls.pas" + 4) + $7
[50172D80]{rtl220.bpl } System.Classes.StdWndProc (Line 16882, "System.Classes.pas" + 8) + $0
[507CB41F]{vcl220.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10352, "Vcl.Forms.pas" + 23) + $1
[507CB462]{vcl220.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10382, "Vcl.Forms.pas" + 1) + $4
[507CB795]{vcl220.bpl } Vcl.Forms.TApplication.Run (Line 10520, "Vcl.Forms.pas" + 26) + $3
Run Code Online (Sandbox Code Playgroud)
该单元中没有使用图像列表.实际上,唯一的组件是按钮.
编辑:这主要发生在设计模式,与我的代码无关.可能是IDE中的错误.
1) 关闭Studio,确保tast管理器中不存在进程“bds.exe”。
\n\n2) 转到文件夹“C:\\Program Files\\Embarcadero\\Studio\\x.0\\bin”,查找文件“MultidevicePreview240.bpl”。
\n\n3) 将其重命名为“!MultidevicePreview240.bpl”
\n\n4)运行Studio并测试。
\n\n另一种变体:
\n\nTLayout 中 TImage 之一的麻烦。完全删除 TLayout,再次添加这个和图像 \xe2\x80\x94 问题应该消失。
\n| 归档时间: |
|
| 查看次数: |
1306 次 |
| 最近记录: |