Compiler errors 德尔福突然说:“我的朋友,我的朋友。”;[警告]本地文件“;Android\Debug\classes.dex“;没有找到。跳过部署。”;
这是德尔福10西雅图LG电话。 我突然出现上述错误,之后我的程序将无法加载到手机上。几乎所有程序都会出现这种情况。这些程序都可以编译,但当我尝试部署它们时,会出现以下错误:Compiler errors 德尔福突然说:“我的朋友,我的朋友。”;[警告]本地文件“;Android\Debug\classes.dex“;没有找到。跳过部署。”;,compiler-errors,firemonkey,delphi-2010,Compiler Errors,Firemonkey,Delphi 2010,这是德尔福10西雅图LG电话。 我突然出现上述错误,之后我的程序将无法加载到手机上。几乎所有程序都会出现这种情况。这些程序都可以编译,但当我尝试部署它们时,会出现以下错误: paclient command line c:\program files (x86)\embarcadero\studio\17.0\bin\paclient.exe -u8 --put="c:\program files (x86)\embarcadero\studio\17.0\bin\Artwork\An
paclient command line
c:\program files (x86)\embarcadero\studio\17.0\bin\paclient.exe -u8 --put="c:\program files
(x86)\embarcadero\studio\17.0\bin\Artwork\Android\FM_LauncherIcon_96x96.png,.\Android\Debug\\CameraTest\res\drawable-xhdpi\,1,ic_launcher.png"
paclient command line
c:\program files (x86)\embarcadero\studio\17.0\bin\paclient.exe -u8 --put="C:\Program Files
(x86)\Embarcadero\Studio\17.0\bin\Artwork\Android\FM_LauncherIcon_48x48.png,.\Android\Debug\\CameraTest\res\drawable-mdpi\,1,ic_launcher.png"
[Warning Warning] Local file "Android\Debug\classes.dex" not found. Skipping deployment.
在此之后,部署将中止
我可以看到名字中有两个斜杠,我找不到任何理由。但对于我可以部署的少数程序来说,情况也是如此,因此显然这不是问题的原因
这项工作:
unit Unit8;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
System.IOUtils,
FMX.StdCtrls,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo;
type
TForm8 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form8: TForm8;
implementation
{$R *.fmx}
end.
这并不是:
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics;
type
TFormMain = class(TForm)
private
public
end;
var
FormMain: TFormMain;
implementation
end.
失败的代码,一开始是一个更大的程序,当它失败时,我开始切块,希望它最终能够开始运行,我能够定位问题。但事实并非如此。我试图在编译之前清除它,但仍然无法部署。我认为一些文件一定是问题的原因,所以我尝试删除Android文件夹。并创建了一个新文件夹,但问题仍然存在。是否可能只是在编译/链接中的特定点创建classes.dex文件,因此在执行相同操作时才重新创建/更新?而且,这并不能解释为什么我的几乎所有程序都会突然出现这种情况
我很困惑。希望有人能帮忙 我最终从备份中恢复了整个Delphi安装。但我认为问题与以下之一有关:a)要么注册数据库被堵塞。b) 或者是两个文件夹appdata/local或appdata/roaming中的一个被破坏了。 我要把这个谎言放在这里