Error running 'x': Command line is too long. Shorten command line for x or also for Application ...

错误描述:Error running '类名': Command line is too long. Shorten command line for 类名 or also for Application default configuration.

解决办法:转自https://cloud.tencent.com/developer/article/1333085

1.Run-->Edit Configurations...

Error running 'x': Command line is too long. Shorten command line for x or also for Application ..._第1张图片

2..在项目的.idea/workspace.xml文件中,找到 ,添加一行

你可能感兴趣的:(IDEA)