Hi,
I went to try out enhance and it wouldn’t process due to some files in res such as common_google_signin_btn_text_dark_normal_background.9.png
This is the email I got from the engineer over there at enhance
Hello,
Tomasz from the Enhance engineering team here.Your app is failing the Enhance process, because of not processed 9-patch png files during apk file export.
Open apk file with as zip file and, for instance, go to “res/rawable-xhdpi-v4” - you have few “*.9.png” files (for instance: “common_google_signin_btn_text_dark_normal_background.9.png”). Not sure how you built you apk file, but looks like these *.9.png were added after the built without processing them. You need to make these steps to have valid apk, which can be uploaded to Enhance:
-
create on your hard drive “res” dir
-
open apk file as zip, go to “res” and copy with contents “drawable-hdpi-v4”, “drawable-ldpi-v4”, “drawable-mdpi-v4”, “drawable-xhdpi-v4”, “drawable-xxhdpi-v4” and “drawable-xxxhdpi-v4” dirs to your “res” dir on hard drive,
-
create dir “out”
-
you need to have installed android sdk and have access to “aapt” tool from this sdk,
-
call “aapt c -S res -C out” command - now you should have valid png files in “out” dir
-
replace dirs listed in step #2 with these from “out” dir - you need to sign again apk if you would like to install this on device. this is not required for re-enhancing
-
re-enhance new apk file
these steps are not typical scenario for Enhance developers. You should do this, because of invalid png files in your apk.
They were fast at responding to the error and this seems like a fix but just wanted to report it as didn’t know if it was something I am doing wrong or something in the engine has changed.