-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Release version of SettingsActivity does not work #2005
Comments
The release build becomes fine after removing
from the apps gradle script And moving these strings into debug section breaks the debug build. |
Did you not get a crash report notification when opening termux again or a stacktrace in logcat? |
This is after clicking on Terminal I/O
|
Interesting, thanks. I'll look into it. |
The Tasker latest beta was also having problems due to proguard not working properly causing random issues, wonder if this is related. Those 2 options are like default for release APKs, I additionally disabled obfuscation in this release, which again shouldn't haven't thrown a Those classes are referred in resource files in |
I am not sure that this is related to proguard. I have a broken debug apk if
And I have a correctly working release apk if
|
Proguard/R8 handles those as well. |
Ok, thanks for the info. BTW the issue is minifyEnabled. I tried to to remove only one line shrinkResources, with the same crash |
The |
Yes, but I tried
The problem still exists. BTW I have installed the apk on Android 7 (armv7) with the same issue. |
It would, cause The I can reproduce the issue though. proguard rules need to be added. Looking into it. |
You can pull the latest changes from |
Thanks, it works. |
Great, welcome. |
…t from being removed during minification Fixes termux#2005
…t from being removed during minification Fixes termux#2005
Problem description
The release build (0.109) crashes after choosing any item in settings menu (Debugging and Terminal I/O).
Steps to reproduce
Build the release apk in Android Studio, run it, go to Settings/Debugging or Terminal I/O. The debug build works fine.
Expected behavior
The behavior similar to debug build.
Additional information
The text was updated successfully, but these errors were encountered: