Exception:
Building "J2meProgram"
Error: C: \ Documents ents (the specified file cannot be found .)
Obfuscation failed.
Anatomy:
The root cause of the problem is that there is a conflict between Proguard and the Space Directory, which is equivalent to a bug.
Solution: directory names cannot contain spaces during obfuscation and packaging.
The default working file directory is in: C: \ Documents ents and Settings \ Administrator \ j2mewtk, which has spaces.
The solution is to reset the working directory:
Find wtklib> Windows> ktools. properties in the installation directory of Wireless Toolkit 2.5.2.
Open it and add the following sentence at the end:
Kvem. apps. dir: directory of the application you want to store
In the future, you will use Wireless Toolkit to create the directory where the project is stored: Note that there should be no space in the file directory, and Backslash "\" will be used between multiple layers "\\"
Eg: "E :\\ workspace \ j2.
For Unix systems, use the/separator.
Exception B:
Building "mobilegps"
Error: expecting class path separator '; 'before' files \ wtk2.5.2 _ 01 \ Lib \ cldcapi11.jar' in line 1 of file 'd: \ temp \ MIDlet \ mobileabc. pro ',
Encoded ded from argument Number 1
Obfuscation failed.
Build failed
Root Cause:-outjar c: \ docume ~ In the generated mobileabc. Pro File ~ 1 \ admini ~ 1 \ locals ~ 1 \ temp \ mobileabc. jar contains spaces.
Solution: Still thinking .....