KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Disclaimer: I know the basics of signing an APKs and I have a problem with only one of my projects and only when signing with Microsoft Windows as the OS. I am building my APK with Maven and sign them with the maven-jarsigner-plugin: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jarsigner-plugin</artifactId> <executions> <execution> <id>signing</id> <goals> <goal>sign</goal> </goals> <phase>package</phase> <inherited>true</inherited> <configuration> <archive>target/${project.build.finalName}.apk</archive> <sigfile>CERT</sigfile> <keystore>${env.HOME}/.keystore</keystore> <storepass>${env.KEY_STOREPASS}</storepass> <keypass>${env.KEY_KEYPASS}</keypass> <alias>${env.KEY_ALIAS}</alias> </configuration> </execution> </executions> </plugin> Now with one of my projects I get the following error when trying to install and start the application: 1360 KB/s (2057872 bytes in 1.477s) pkg: /data/local/tmp/FX-602P-Droid-5.0.0.apk Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] As I said in the first sentence: It works fine when signing with Mac OS X. It only fails when using Windows 7 to sign. Using --debug when calling Maven I see that the jarsigner is called ok and reports no error: [INFO] [INFO] --- maven-jarsigner-plugin:1.2:sign (signing) @ FX-602P-Droid --- [DEBUG] org.apache.maven.plugins:maven-jarsigner-plugin:jar:1.2: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DE
Tags (comma-separated)
Save Edits
Cancel