{"id":820,"date":"2018-01-14T21:20:52","date_gmt":"2018-01-14T21:20:52","guid":{"rendered":"http:\/\/www.netexl.com\/blog\/?p=820"},"modified":"2026-04-02T10:01:56","modified_gmt":"2026-04-02T10:01:56","slug":"error-an-invalid-apk-was-received-not-a-signed-jar-file","status":"publish","type":"post","link":"https:\/\/www.netexl.com\/blog\/error-an-invalid-apk-was-received-not-a-signed-jar-file\/","title":{"rendered":"Error: An invalid APK was received. Not a signed jar file."},"content":{"rendered":"<p>When I tried to upload APK file to\u00a0Aptoide store which was built using cordova and signed for the release version, I got this error<\/p>\n<blockquote><p>An invalid APK was received, does not seem to have all files correctly signed. Please verify apk signature and try again.<br \/>\nSignature error:<br \/>\nNot a signed jar file<\/p><\/blockquote>\n<p>The same APK was fine when uploaded on Google Play Store. In order to fix this problem I had to create an unsigned release version of the APK using cordova and then sign it using jarsigner utility.<\/p>\n<p>In order to create unsigned release version of the APK, following command can be used<\/p>\n<pre class=\"lang:default decode:true\">cordova build android --release<\/pre>\n<p>Jarsigner utility comes with java sdk and can be found @ your JDK bin folder (for ex, C:\\Program Files\\Java\\jdk1.8.0_131\\bin).<\/p>\n<p>The command which can be used to sign the APK is as following<\/p>\n<pre class=\"lang:default decode:true\">jarsigner -verbose -tsa http:\/\/timestamp.comodoca.com -keystore android.keystore -storepass password mygame.apk alias<\/pre>\n<p>Replace <strong>android.keystore<\/strong> with your keystore file name, <strong>password<\/strong> with the\u00a0keystore password, and <strong>alias<\/strong> with keystore alias.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I tried to upload APK file to\u00a0Aptoide store which was built using cordova and signed for the release version, I got this error An invalid APK was received, does not seem to have all files correctly signed. Please verify apk signature and try again. Signature error: Not a signed jar file The same APK was fine when uploaded on Google Play Store. In order to fix this problem I had to create an unsigned release version of the APK using cordova and then sign it using jarsigner utility. In order to create unsigned release version of the APK, following command can be used cordova build android &#8211;release Jarsigner utility comes with java sdk and can be found @ your JDK bin folder (for ex, C:\\Program Files\\Java\\jdk1.8.0_131\\bin). The command which can be used to sign the APK is as following jarsigner -verbose -tsa http:\/\/timestamp.comodoca.com -keystore android.keystore -storepass password mygame.apk alias[&#8230;]<\/p>\n","protected":false},"author":5,"featured_media":1540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,14,19],"tags":[],"class_list":["post-820","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-how-to","category-mobile"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/comments?post=820"}],"version-history":[{"count":3,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/820\/revisions"}],"predecessor-version":[{"id":824,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/820\/revisions\/824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media\/1540"}],"wp:attachment":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media?parent=820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/categories?post=820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/tags?post=820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}