Proguard 错误:需要类路径分隔符 - 不确定我需要将路径放在引号中的位置 [英] Proguard error: Expecting class path seperator - not sure where I need to put a path in quotes

查看:20
本文介绍了Proguard 错误:需要类路径分隔符 - 不确定我需要将路径放在引号中的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:

BUILD FAILED
C:\workspace\projectName\add-proguard-release.xml:35: Expecting class path separator ';' before 'Files\eclipse\android-sdk-windows\platforms\android-3\android.jar' in argument number 1

我完全意识到我的问题是我在 c:\program files\eclipse 目录中有 eclipse+android - 而program"和files"之间的空间导致了这个问题.

I am fully aware that my problem is that I have eclipse+android in the c:\program files\eclipse directory - and the space between 'program' and 'files' is causing this problem.

我也知道一个解决方案是将此路径放在引号中.

I am also aware that a solution is to put this path in quotes.

我的问题是在哪里放置这些引号.我有点像 ANT 菜鸟:我正在按照我在此处找到的说明进行操作:http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html

My problem is WHERE to put these quotes. I'm a bit of an ANT noob: and am following the directions I found here: http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html

我目前正试图更多地了解 ANT 如何与 PROGUARD 一起工作,以了解在哪里用引号包裹路径 - 以及如何(我担心它是在 XML 中,并且不确定会发生什么样的处理)转义字符等)

I'm currently trying to figure out enough more about how ANT works with PROGUARD to know where to wrap a path with quotes - and how (I'm worried it's in XML and not sure what kind of processing is going to happen to escape characters etc)

我有将所有内容从程序文件"中移出的备用计划 - 但我真的很想正确解决这个问题,并且觉得移动项目是一种黑客/承认失败.

I have as a backup plan to move everything out of "program files" - but I'd really like to solve this problem correctly, and feel moving the project is a hack/admitting defeat.

推荐答案

在 Eclipse 中:窗口 > 首选项 > Android > SDK 位置

In Eclipse: Window > Preferences > Android > SDK Location

使用类似 c:\Progra~1\android-sdk (或者也许c:\Progra~2\android-sdk(64 位)

use something like c:\Progra~1\android-sdk (or maybe c:\Progra~2\android-sdk on 64bit)

这篇关于Proguard 错误:需要类路径分隔符 - 不确定我需要将路径放在引号中的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆