I am trying to manually add text file into assets folder of .apk using aapt tool
or can able to add any ZIP reader
. After adding text file I resigned .apk by using jarsigner
and aligned it using zipalign
.
Here problem is, that the final .apk is not getting installed on my device.
I referred these posts but they didn't help
Can I resign an .apk with a different certificate than what it came with?
Repackage APK file to contain custom assets - what build tool to use?
Android: How to manually add a file to apk?
SOLUTION: This helps to fix my issue
Device shows Application not installed
error