Closed syphyr closed 3 months ago
I'm not able to reproduce this at all based off of a fresh clone + install of the main branch... Do you have r8/minify stuff turned on? I am gonna return to this tomorrow but I wonder if tht:
I found out it was crashing because of Proguard/R8. Proguard was renaming Retrofit classes and to fix it I updated the Proguard settings with. I'm seeing something similar here: https://stackoverflow.com/questions/62464914/unable-to-create-call-adapter-for-retrofit2-response
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
That r8 minify branch I put up is still a work in progress, but ya I reckon if you have #1063 type changes on your machine then that breaks the retrofit2 stuff that Orbot uses to talk to the Tor Project here...
Oh, thanks for finding that. Yes, I did have your minify changes added.
I will close this because this bug was introduced by minify. Although, adding the proguard rules you mentioned above did not solve the issue. I will comment further on this on the minify PR.
Describe the Bug Orbot crashes with fatal exception when selecting "Ask Tor"
To Reproduce Steps to reproduce the behavior:
Expected Behavior Orbot should not crash
What Custom Configuration Do You Use? If applicable, how did you set up Orbot? Did you configure some settings?
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Crash Logs (Advanced)
Additional Context Add any other context about the problem here.