Answer the question
In order to leave comments, you need to log in
How to not include certain resources/classes in release apk?
I can't figure out how not to include certain resources (from the res folder) and classes (java) in the release apk.
Tried packagingOptions/exclude - doesn't throw it out.
With proguard, I didn’t find any rules for this at all (although maybe I just searched badly).
Answer the question
In order to leave comments, you need to log in
of course badly searched
heard about Gradle?
so it allows you to make common code and specific for different assemblies:
release, trial, demo, etc.
documentation
https://developer.android.com/studio/build/build-v...
and here is how to do
blog.brainattica.com /how-to-work-with-flavors-on-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question