After upgrading SDK tool R14 and ADT 15, you encountered the following problems when exporting the signed APK:Conversion to Dalvik format failed with error 1.
(The main reason should be the SDK upgrade. There is no problem with upgrading the ADT only)
Refresh and clean have been tried, but still cannot.
The final solution is to remove the proguard configuration in the project. properties file (formerly default. properties.
# This file is automatically generated by Android tools. # do not modify this file -- your changes will be erased! # This file must be checked in version control systems. # to customize properties used by the ant build system use, # "ant. properties ", and override values to adapt the script to your # project structure. # project target.tar get = Android-7 # Delete the following line and it will be OK # proguard. config = proguard. cfg
The above solution is not reliable. After all, we still need to confuseCodeSo another solution is to upgrade proguard.
Currently, the latest proguard version is 4.7. I will upgrade it to proguard4.6.
Download the 4.6 folder from the proguard official website and overwrite the two folders tools/proguad/bin and Lib. This is my solution.
: Http://sourceforge.net/projects/proguard/files/proguard/4.6/