Using Proguard for Android in Eclipse got Error

前端 未结 7 1404
误落风尘
误落风尘 2021-02-07 01:00

I have taken a fresh install of Eclipse and all the latest Android tools and want to use Proguard on existing project, but for now I have created a new blank one. I have added a

7条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 01:08

    According to comments posted by a Google Engineer in thread here: http://groups.google.com/group/android-developers/browse_thread/thread/19b96902fc20cede

    *.bat file shipped with ProGuard doesn't support paths with spaces.

    Having Java and Android SDK installed on paths without spaces doesn't solve the problem completely. Things can go wrong if path to eclipse workspace, temp folder or some of external JAR files contains spaces as well.

    I was too lazy to re-install everything so my workaround involves making junction points on a file system.

提交回复
热议问题