I don’t how to repro this but I had an issue uploa...
# serialization
e
I don’t how to repro this but I had an issue uploading a build of my app to the Google playstore and it turned out to be a problem with applying the serialization plugin. In my case, I applied the serialization plugin to an android library module that the main app module depended on and uploading the app to the google play store failed with “some parts of the apk were not signed correctly” (paraphrasing)
s
How you'd figured out that this is a problem with the plugin?
e
Trial and error 😂
🤔 1
l
That's not very helpful… maybe you can give more details?
e
I wish I could but I really did find out through trial and error. Every other info I gave in the initial post. I have 3 (android application and library) modules and their dependencies
app -> data -> libx(applies serialization plugin)
and I had to recursively remove modules from app and upload the APK to the play store and have it fail in order to narrow it down to the
libx
module. At that point, the only thing that stood out was the application of the serialization plugin. When I took that out, APK uploaded successfully.
I wasn't really using the serialization plugin anyways, just the library (json and
JsonObject
representation)
I would try to create a sample project and share here and I also don't mind inviting you (@sandwwraith) to the project if you're willing to take a look around.
s
I'm more interested in what "not signed correctly" means. Do they verify bytecode? Or validate apk in some other way?
e
Yeah the message was cryptic and it's not at all transparent why exactly it was failing upload.
Applied plugin and tried again.