我用Android studio进行Appium进行自动化测试,导入selenium-server-standalone.jar,只导入一次,在目录中也只显示一次,但是一运行项目给出的错误提示:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. | |
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK javax/servlet/LocalStrings_fr.properties | |
File1: C:\Users\Administrator\AndroidStudioProjects\MyApplication\app\libs\selenium-server-standalone.jar | |
File2: C:\Users\Administrator\AndroidStudioProjects\MyApplication\app\libs\selenium-server-standalone.jar |
谁遇到过类似的问题,有没有解决办法。
参考 http://www.cnblogs.com/why168888/p/5978381.html