PaClient error: E0002 Missing profile name

谁说我不能喝 提交于 2021-02-04 08:29:45

问题


I try to make an android application in delphi but when i build the project i get this error:

[PAClient Error] Error: E0002 Missing profile name; use paclient -? for Help

How can i fix this?


回答1:


For building Android applications in delphi, you do not use the PAServer nor PAClient, so there is no profile: these are only needed for iOS or OS X development.

To figure out what is calling PAClient and why the call fails, follow these steps:

  1. Run Delphi while the free Process Monitor from SysInternals is active,
  2. watch the Process Monitor log to see when the PAClient is executed, and what parameters there are.
  3. Relate these parameters to the selected profile

Note that error E00002 means the PAClient has no profile name in the parameters.




回答2:


You may check your configuration as well in Delphi XE 8.1:

Build Configuration: RELEASE Android: APPLICATION STORE

For instance DEBUG and APPLICATION STORE may result in a E00002 error.




回答3:


Also check Project -> Deployment that all items are checked. That worked for me. (I unchecked all items by mistake when adding some files for deployment manually)

Via FFernandes https://forums.embarcadero.com/thread.jspa?threadID=118789



来源:https://stackoverflow.com/questions/22286594/paclient-error-e0002-missing-profile-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!