Proguard的错误机器人,无法访问jar文件 [英] Proguard error android, unable to access jar file

查看:236
本文介绍了Proguard的错误机器人,无法访问jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次使用progurad并获得出口上签署的apk以下错误。

This is the first time I am using progurad and getting the following error on exporting signed apk.

错误:无法访问jar文件.. \\ lib目录\\ proguard.jar

Error: Unable to access jarfile ..\lib\proguard.jar

我注释掉了proguard.config =行

I uncommented the proguard.config= line

   # To enable ProGuard to shrink and obfuscate your code, uncomment this (available   properties: sdk.dir, user.home):
   proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

但仍有似乎有些问题。
需要什么样的解决它。

But there still seems to be some issue. What is needed to fix it.

推荐答案

听起来像是在ADT 22.6一个已知的bug
的https://$c$c.google.com/p /安卓/问题/细节?ID = 66733

Sounds like a known bug in ADT 22.6 https://code.google.com/p/android/issues/detail?id=66733

幸运的是,各地这个bug 是简单。在Windows上,只需编辑proguard.bat并提供将proguard.jar文件的绝对路径。

Fortunately, working around that bug is easy. On Windows, simply edit proguard.bat and provide an absolute path to the proguard.jar file.

这篇关于Proguard的错误机器人,无法访问jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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