Recent searches
No recent searches

Maciej Reichwald
Joined Nov 10, 2021
·
Last activity Nov 16, 2021
Following
0
Followers
0
Total activity
5
Votes
0
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Maciej Reichwald
Maciej Reichwald commented,
Ok Mick, I will do so.
Nonetheless, thanks for the help!
Cheers,
Maciej
View comment · Posted Nov 16, 2021 · Maciej Reichwald
0
Followers
0
Votes
0
Comments
Maciej Reichwald commented,
No worries Mick - maybe more information will guide us to proper solution :)
1. No, it didn't. We used R8 for some time. I tried to track any recent changes in our configuration, but nothing obvious popped up. I also tested previous versions of R8, but each library above 3.0 produces same issue, while versions below 3.0 throw java.lang.IllegalAccessError. There is probably some correlation between our R8, Gradle and Support SDK versions.
2. Mostly it's our custom code. The case is like this:
2.1 We perform http request with our custom library, that is a wrapper around OKHTTP
2.2 We pass in that request expected response type
2.3 Once we receive response, we use getClass() method on responseType object passed from called request in order to properly parse newly received responseData object.
2.4 During this step, we should parse given object, but we receive entirely different Type from getClass() method, so process breaks here. To visualize error level, we expect package com.company.core.api.framework.implementation, but we get instead com.company.core.api.standard.model.
View comment · Posted Nov 15, 2021 · Maciej Reichwald
0
Followers
0
Votes
0
Comments
Maciej Reichwald commented,
Hi Mick,
thanks for quick reply! Unfortunately, on my end, I couldn't fully test your workaround till today...
What's even more unfortunate, it doesn't work - I know, that you had warned me, that it only works for Chat SDK, but I tried anyway :)
We don't use Chat SDK, only Support SDK, here is a bit more information about our setup:
- minSDKVersion 28
- targetSDKVersion 30
- androidx.appcompat:appcompat:1.2.0
- androidx.core:core-ktx:1.6.0
Do you have any more ideas, how can we overcome this problem?
View comment · Edited Nov 15, 2021 · Maciej Reichwald
0
Followers
0
Votes
0
Comments
Maciej Reichwald created a post,
Hello,
I have a problem with obfluscation. I am using:
- R8 version 3.0.73 (newest by default)
- Gradle-tools 7.01
- Kotlin plugin 1.5.21
For some time, I observed many problems that are caused by obfluscation. Often when I used reflection, getClass() method returns wrong type (sometimes entirely different package). I would like to post some logs or reports, but is more a general problem. Could you help me with any advice how to deal with it?
Regards,
Maciej
Posted Nov 10, 2021 · Maciej Reichwald
0
Followers
3
Votes
6
Comments