问题
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:
- Run Delphi while the free Process Monitor from SysInternals is active,
- watch the Process Monitor log to see when the PAClient is executed, and what parameters there are.
- 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