【问题标题】:Problem on obfuscating j2me applications in Netbeans 6.8在 Netbeans 6.8 中混淆 j2me 应用程序的问题
【发布时间】:2010-09-16 07:08:25
【问题描述】:

当我尝试使用混淆来打包 midlet 时,输出窗口上会显示以下内容:

pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
basic-init:
cldc-pre-init:
cldc-init:
cdc-init:
ricoh-pre-init:
ricoh-init:
semc-pre-init:
semc-init:
savaje-pre-init:
savaje-init:
sjmc-pre-init:
sjmc-init:
cdc-hi-pre-init:
cdc-hi-init:
nokiaS80-pre-init:
nokiaS80-init:
nsicom-pre-init:
nsicom-init:
post-init:
init:
conditional-clean-init:
conditional-clean:
deps-jar:
pre-preprocess:
do-preprocess:
Pre-processing 0 file(s) into C:\Meljean's Files\NetBeansProjects\SampleApp\build\preprocessed directory.
post-preprocess:
preprocess:
pre-compile:
extract-libs:
Expanding: C:\Meljean's Files\LWUIT_1_4\lib\LWUIT.jar into C:\Meljean's Files\NetBeansProjects\SampleApp\build\compiled
do-compile:
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
Error: Expecting class path separator ';' before 's' in argument number 4
C:\Meljean's Files\NetBeansProjects\SampleApp\nbproject\build-impl.xml:427: Obfuscation failed with error code 1.
BUILD FAILED (total time: 0 seconds)

我要做什么?

【问题讨论】:

    标签: java-me obfuscation netbeans6.8 proguard


    【解决方案1】:

    问题可能出在 WTK 的安装目录中。

    让我们确认一下:

    我猜你使用的是WIN SYSTEM

    我猜你的 WTK 安装在中间有空间的路径上。

    例如:c:\program files\ [程序和文件之间的空间]

    我建议你将 WTK 安装在像 c:\WTK 这样的非空间目录上

    如果不是这样,请告诉我。

    【讨论】:

    • 我没有使用 WTK。我正在使用 Netbeans 的移动包。但我使用的是 Windows。 Netbeans 安装在 Program Files 中。
    • Netbeans 内部只使用 WTK,从 oracle 站点下载 WTK 并直接安装在 C:\ 并配置您的项目以引用该 WTK,它应该可以工作
    • 顺便说一下,我使用的是三星SDK作为项目的模拟器平台,我没有使用WTK。但是我使用的 SDK 没有安装在 Program Files 中,而是安装在没有空格的不同目录中。
    • 你能把混淆时生成的整个日志贴出来吗?
    • @jean27 我不确定,但让我们尝试将 Meljean 的文件重命名为 MeljeanFiles。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-07
    • 1970-01-01
    • 1970-01-01
    • 2010-09-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多