I am currently trying to speed up the ProGuard process for projects using large libraries, such as scala-library.
I have made some solid progess, however, one thing stile evades me.
Here is the scenario I have so far and what is (not) working:
The error I get using logcat is that the class MainActivity does not exist. The copy of my question (including the logcat log) can be found here.
Please help me, XDA. You're my only hope.
OK, this can be closed now, I figured it out. The answer is on StackOverflow
I have made some solid progess, however, one thing stile evades me.
Here is the scenario I have so far and what is (not) working:
- [WORKS] If the application hasn't been built already, ProGuard is ran over everything
- [WORKS] If the app has been build already, but some new classes/methods from the big library have been used that havent been used before, run ProGuard over everything but with extra keep options
- [FAILS] If the app has been built already, but the new version does not use any other classes than the ones that are already kept by ProGuard
- Compile the source
- Dex compiled classes
- Merge the new, partial dex (app.dex) with current dex used in apk (classes.dex)
- Package APK
The error I get using logcat is that the class MainActivity does not exist. The copy of my question (including the logcat log) can be found here.
Please help me, XDA. You're my only hope.
OK, this can be closed now, I figured it out. The answer is on StackOverflow
Last edited: