New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant disable multidex #1681
Comments
Another way would be to using it via reflection |
@triniwiz we cant ! it is mentioned in the doc to NOT use reflection before |
Ah looks like preprocessor it is |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
because of that line https://github.com/NativeScript/android-runtime/blob/master/build-artifacts/project-template-gradle/app/src/main/java/com/tns/NativeScriptApplication.java#L32 a user cant decide to disable multidex if possible (would make app smaller).
The reason is that without multidex enabled that line would not compile. I tried a few things but it is a bit tricky to do preprocessor through gradle 7.0 (plugins not working anymore).
The idea would be to use a preprocessor to get rid of the line at compilation if multidex is disabled
The text was updated successfully, but these errors were encountered: