I have an android application in development where I frequently create signed APKs in addition with Proguard code obfuscation. Everything went well until today, when Proguard showed up these warning
Warning: org.acra.CrashReportData: can't find referenced method 'void setLength(int)' in class java.lang.StringBuilder
I have never changed anything in ACRA or it’s classes and I’m sure as hell didn’t touch anything from the java.lang.StringBuilder class, but Proguard is showing this warning and ending up giving an error stating that I should fix the warnings first…
What to do? This is really strange as it came out from nothing!
I found a solution but this still seems a little bit awkward to me… I tried to follow the steps I made previous to my attempt to export a signed package and the one step which guided me to my solution was that I downloaded a new version of Android SDK with all SDK up to API level 16 and used it as my new Android SDK in my Eclipse project.
As soon as I used my “old” SDK which only supports the versions until API level 13 everything went well and as smooth as it was before…?