On Jan 5, 5:48 pm, Vincent y.ikeda.asa...@gmail.com wrote:
Hi, I just download the latest Android SDK (r08) to useProguard.
But, I get the following error when exporting apk.
Proguardreturned with error code 1. See console
You should check if you need to specify additional program
The problem is not with the bat file, it's with proguard itself. I
checked the Bat file, and it just passes what it gets.
ADT could easily have bypassed this problem by passing it the short
name version of all files passe , including in the .pro file.
In the meantime, I created my own script, that
Hey Xav - Thanks the update. I have one more question is there any known
problem with new progurad implementation in linux (suse).
I am using sdk updated r8, android-2.2, ant (1.8.1 ant -version says
compiled on April 30 2010 ) and proguard in linux (suse) to build project I
am getting error
On Dec 7, 4:40 am, Xavier Ducrohet x...@android.com wrote:
Michael,
We're fixing ADT to properly report what the problem really is but we
just noticed the .bat that proguard ships with doesn't support path
with spaces.
While you're at it, could you also fix dx.bat which also breaks on
Thanks for the suggestions Bob.
I've just restarted eclipse and told it to open my project from docum~1
instead of Documents and settings. But when I try to do a proguard build,
it still fails. In my windows temp folder I can find a new .pro file created
and inside it I can find the following
Ah. I did my test from the command line, rather than from Eclipse.
cd testpr~1
ant release
If doing it that way works for you, you can set up an ant launcher for
Eclipse that invokes it in the same manner. If this works for you, and
you can't figure out how to set up a suitable launcher to do
Hi Xav - any chance you could supply us with a copy of this new .bat file..?
Local policies won't allow me to change the location of my workspace so it
must sit under Documents and Settings.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Od not run the ant build using eclipse 3.5,3.6, or 3.7 it still has
1.7.1 ant version..run form commandline..
I uuse wickedshell plugin to run the ant commandline command from my
workspace project dir
On Dec 9, 6:11 am, jb cona...@gmail.com wrote:
Hi Xavier,
I just updated my SDK to 2.3 and
Sorry about the repost. This forum gives no feedback to notify that a
message is pending or awaiting moderation. I also submitted a new
thread the next day thinking that maybe old threads were closed to new
replies. Again sorry about that.
BenE wrote:
Hi,
I have the exact same error. I don't
There is no reason you need to use the version of Ant that is used by
Eclipse -- and I recommend that nobody ever do so, ever, for any
reason. It just makes no sense as a development practice to depend on
an internal feature of the IDE for non-IDE things.
That's besides the fact that the Eclipse
Still running Windows XP, I see. With Internet Explorer 6, perhaps?
You might be able to get around this with a directory link
('junction'). The capability is in XP, but not the command. You can
get that from here:
http://technet.microsoft.com/en-us/sysinternals/bb896768
Of course, your local
I've downloaded the latest release of Ant and updated ANT_HOME in eclipse to
use this version (1.8.1) and the build trying to use proguard still fails as
above. The problems with spaces in the folder hierarchy is still the main
problem.
--
You received this message because you are subscribed
Thanks for your comment, but you are being a bit unfair there. Competent IT
department or not, there really shouldn't be a problem with spaces in the
folder name as the vast majority of all the other software I run on my
windows machine has no problem whatsoever.
I don't want to get into the
Oh, I quite agree. I'm not being very unfair -- but I certainly didn't
say or intend to imply that the script is not at fault.
The one bit of unfairness is I inadvertently lay the blame for the
problem on your IT department. I intended only the blame for your
inability to bypass the (entirely
There are two different problems. Ant scripts don't usually suffer
from the the spaces-in-directories problems, as they don't usually, if
coded correctly, involve constructing command lines as strings. (The
ant tasks, if used correctly, will handle the quoting issues correctly
automatically). I
Hi, I have the exact same error. Did you find a solution?
On Dec 7, 2:36 am, Alan Jeon skyi...@gmail.com wrote:
Hi,
I'm using Google AdSense sdk. (GoogleAdView.jar)
Enabling proguard makes following errors.
[proguard] Unexpected error while performing partial evaluation:
[proguard]
Hi,
I have the exact same error. I don't even know where to begin to look
for an answer. I could use some clues.
[2010-12-17 00:32:55 - speedBones] Proguard returned with error code
1. See console
[2010-12-17 00:32:55 - speedBones] You should check if you need
to specify additional
Hi Xavier,
I just updated my SDK to 2.3 and ADT to 8.01.
I updated 'default.properties' to include:
proguard.config=proguard.cfg
proguard.cfg is in my project root directory.
One of the entries in my proguard.cfg is
'-dontskipnonpubliclibraryclasses'
When I run a release with ant (or export with
Hi Xavier,
I updated from Ant 1.7.1 to 1.8.1 but that did not change anything. I
also updated to ADT 8.0.1; I hadn't noticed the quick follow-up to
it. I now see more information in my Console view. I'm getting all
kinds of Warnings (239 to be exact) that x.y.z can't find referenced
class
Please note that on a windows machine, the BuildHelper is writing the
temporary .pro file to the windows temp folder. If this is under
Local Settings\Temp then the space causes a problem and you can't
pass that full file name into the proguard.bat batch file.
NOTE also that if your workspace is
I set the PROGUARD_HOME variable as you suggested but I still see:
Export Wizzard
Failed to export application
I am using Eclipse 3.5 on Ubuntu 10.10
any ideas?
-g.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I'm also encountering problems getting the ProGuard integration
going. Everything was fine with a test project until I added a few
jars to libs and added them to the Java Build Path. Now my attempts
to generate an unsigned release build causes the following error:
Robert, if you use the new build system and the default proguard
config file, you shouldn't have any problem.
you will however need Ant 1.8 as we use a new feature.
I'm going to add a check on this to make sure people don't use a
version of ant that's too low.
On Wed, Dec 8, 2010 at 9:20 AM,
I also get the same problem with the eclipse helios :
!ENTRY com.android.ide.eclipse.adt 4 0 2010-12-07 16:09:23.125
!MESSAGE Failed to export application
!STACK 0
com.android.ide.eclipse.adt.internal.build.ProguardResultException
at
OK , now i found one way to fix this problem
1, set up the PROGUARD_HOME EVN PATH to sdk-root\tools\proguard
2, restart eclipse
3, now it work fine!
2010/12/7 Michael A. michael.aki...@gmail.com
I'm getting an error when trying to export using Proguard:
!MESSAGE Failed to export
Hi,
The missing space support was the problem here; moving the SDK to c:
\Android seems to have fixed the problem on my install. Thanks again.
Regards.
Michael A.
On Dec 7, 5:40 am, Xavier Ducrohet x...@android.com wrote:
Michael,
We're fixing ADT to properly report what the problem really
Hi,
The missing space support was the problem here; moving the SDK to c:
\Android seems to have fixed the problem on my install. Thanks again.
Regards.
Michael A.
On Dec 7, 5:40 am, Xavier Ducrohet x...@android.com wrote:
Michael,
We're fixing ADT to properly report what the problem really
Thanks. I found it shortly after posting this (incidentally, the link
in the Android market points to the wrong page).
Great stuff. I love the many small things like these in 2.3 that help
makes the lives of the developers easier. :-)
Regards,
Michael A.
On Dec 7, 12:07 am, Xavier Ducrohet
I'm getting an error when trying to export using Proguard:
!MESSAGE Failed to export application
!STACK 0
com.android.ide.eclipse.adt.internal.build.ProguardResultException
at
com.android.ide.eclipse.adt.internal.build.BuildHelper.runProguard(Unknown
Source)
at
Michael,
We're fixing ADT to properly report what the problem really is but we
just noticed the .bat that proguard ships with doesn't support path
with spaces.
We'll provide our own .bat for the next tools release but in the mean
time you may want to check this.
Xav
On Mon, Dec 6, 2010 at 3:37
Hi,
I'm using Google AdSense sdk. (GoogleAdView.jar)
Enabling proguard makes following errors.
[proguard] Unexpected error while performing partial evaluation:
[proguard] Class = [com/google/ads/AFMAUtil]
[proguard] Method = [c([B[B)[B]
[proguard] Exception =
31 matches
Mail list logo