Question 1:
[11:12:10-] Proguard returned with error code 1. See console
[11:12:10-] Note: there were 1 duplicate class definitions.
[11:12:10-] Warning: android. support. v4. OS. ParcelableCompatCreatorHoneycombMR2: can't find superclass or interface android. OS. Parcelable $ ClassLoaderCreator
....
Solution 1:
This problem is caused by code obfuscation and reference packages cannot be found.
You only need to add the following two lines in your proguard. cfg.
-Ignorewarnings
-Libraryjars libs/android-support-v4.jar
You can add the required jar as prompted by your project.
Note:
If the preceding two rows are not successfully packaged, You need to modify
The proguard. bat file in the android-sdk-windows \ tools \ proguard \ bin directory,
Open it in notepad and modify it as follows:
Set
Call % java_exe %-jar & quot; % PROGUARD_HOME % & quot; \ lib \ proguard. jar % *
Changed:
Call % java_exe %-jar & quot; % PROGUARD_HOME % & quot; \ lib \ proguard. jar % 1% 2% 3% 4% 5% 6% 7% 9
You can!
This method is to change the current SDK version to the same as the proguard. bat file contained in the previous SDK version!