我使用Google Translator创建应用.我尝试使用Proguard创建签名的apk.
proguard.cfg包含:
-libraryjars libs/gtranslateapi-1.0.jar
-keep class com.gtranslate.** { *; }
Run Code Online (Sandbox Code Playgroud)
proguard-project.txt包含:
-dontwarn com.gtranslate.**
Run Code Online (Sandbox Code Playgroud)
我也尝试没有proguard-project.txt:
# -dontwarn com.gtranslate.**
Run Code Online (Sandbox Code Playgroud)
但我得到错误:
Proguard returned with error code 1. See console
Error: The same input jar [C:\workspace\myproject\libs\gtranslateapi-1.0.jar] is specified twice.
Run Code Online (Sandbox Code Playgroud)
什么是不正确的?
| 归档时间: |
|
| 查看次数: |
9042 次 |
| 最近记录: |