Reputation: 31
I have been getting this error message upon installing a simple APK to the emulator using adb installation command: adb install
Error Message:
[root@localhost MobileBenchmark]# cd /opt/android-sdk/platform-tools
[root@localhost platform-tools]# adb install JotaTextEditor.apk
Whoops: didn't find expected signature
read_central_directory_entry failed
file 'JotaTextEditor.apk' is not a valid zip file
rm failed for /data/local/tmp/JotaTextEditor.apk, No such file or directory
I am using Linux CentOS, latest Android SDK and emulator: Platform 4.1, API Level: 16.
What could be the problem? Please help!
Upvotes: 1
Views: 1233
Reputation: 3111
Do you already have this application installed in emulator? I suggest you either remove already installed application by going to Setting app or use the command "adb uninstall <package-name>."
Try again after doing this.
Upvotes: 1