-
Notifications
You must be signed in to change notification settings - Fork 174
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
Something went wrong while trying to deserialize a response from the server #17
Comments
Hi @Tolansoft thanks for your report. Is this an error you are seeing consistently across different executions and using different prompts? or is it restricted to some use cases? |
Hi Rodrigo, thank you for your response.
I only tested app with Xiaomi 11T device.
Release version with;
minifyEnabled true
shrinkResources true
not works. Only works if values above false.
Debug mode with;
minifyEnabled true or false
shrinkResources true or false
works.
But when i test Release version directly from Android studio with
debuggable mode with;
minifyEnabled true
shrinkResources true
debuggable true
It works. When testing on internal channel of Play Console it never works.
May it be something SHA issue?
Thank you! Have a nice day!
19 Ara 2023 Sal 21:07 tarihinde Rodrigo Lazo ***@***.***>
şunu yazdı:
… Hi @Tolansoft <https://github.com/Tolansoft> thanks for your report. Is
this an error you are seeing consistently across different executions and
using different prompts? or is it restricted to some use cases?
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALE6WMBG7EIRHAVDUYSYCG3YKHJXTAVCNFSM6AAAAABAX6ZEJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRTGI2TIMJSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@emilypgoogle could you please take a look? Thanks! |
Will do |
I believe this is an issue of misconfigured proguard rules, a large amount of our internal classes are obfuscated with the rules you've posted. Several internal types rely on automatic serialization based on symbol names, so you'll need to not obfuscate them. Try |
Hey @Tolansoft PR #23 fixes the issue by shipping the right |
Hey Rodrigo and Emily and thanks for fixing it! |
#23 merged |
It will be better if you add the |
@davidmotson I see you're working on serialization in your branch, I still see this serialization error response even though the first flow emission is of a valid response. looks like it's having a hard time parsing out the following response (no surprise - I wouldn't expect this invalid json either),
|
When testing app from Google Play console internal test channel with release build with ;
"Something went wrong while trying to deserialize a response from the server" error occurs on Model answer
There is no Logcat info on Android Studio when it occurs.
What i tried is : Added lines below to my proguard-rules.pro
-keep class androidx.compose.ui.*.*{*;} -keep class com.google.ai.*.*{*;}
but not works
Thank you!
The text was updated successfully, but these errors were encountered: