INSTALL_PARSE_FAILED_NO_CERTIFICATES with JDK 1.7 - java-7

I have manually signed APK using JDK 7. While installing I got the "INSTALL PARSE FAILED NO CERTIFICATES" error. I have referred some sites and got an idea to use different signing algorithm for JDK 7.
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore [keystorefile]
[originalapk] alias_name
Still getting the same error. Coudl you please guide me what i have missed

Related

Captive runtime packaging issue (Failed to load the AIR Runtime) under Catalina 10.15.7 with ADT

I am trying to package my AIR app on mac (Catalina 10.15.7) with ADT after successful compilation step.
Everything is fine with the .air package on mac and with both .air and .exe under Windows.
But for .dmg and captive runtime bundle (.app) I get next error after several seconds of doing something:
Failed to load the AIR Runtime
Ant command:
/opt/flexsdk15/bin/adt -package -storetype pkcs12 -keystore myCert.p12 -storepass ******** -tsa http://time.certum.pl -target native bin/myApp.dmg src/myApp-app.xml -C bin myApp.swf -C . icons
SDK used: Apache Flex 4.15.0 FP20.0 AIR20.0
Any help would be much appreciated.

Installing a UWP package on Windows 10 gives HashMismatch certificate error

We have previously successfully installed a packaged debug version of our application on Windows 10.
When now try to install by running the Add-AppDevPackage.ps1, when it prompts me to install the certificate, I get the error:
Error: could not install the certificate. Status: HashMismatch. For
more information, see http://go.Microsoft.com/fwlink/?LinkID=252740
I can see that the appropriate certificate in the Trusted People certificate store - so the Certificate has been installed ok.
Has anyone seen this and/or got a solution to this problem?
If the certificate is already installed, you don't need to run the powershell script. Have you tried to double click the package to install?

Play Store: Can't install app, (Error code: -103)

Yesterday I published my app in Play Store. All went well till today. When I try to install my app from Play Store, it downloads it but when installing it it says:
"My_application" can't be installed. Try again, and if the problem continues, get troubleshooting. (Error code: -103)
I tried installing on multiple devices.
Edit:
On some devices it goes through installation process as it should and all goes well.
On others it gives the above error message.
Older Android devices are unable to recognize SHA256 hash funcitons. Adding:
-sigalg SHA1withRSA -digestalg SHA1
as parameters to jarsigner should solve the issue even when using JDK 1.8.
As #mladen-gavrić comment his own question, downgrade to java JDK version 1.6. solves the issue.
SE with $ java -vwith version is currently running which will output something like the following:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
See this excellent answer how to downgrade with the JDK 1.6. already installed previously: https://stackoverflow.com/a/24657630/2797243

Unable to use subversion on OSX 10.8 (Mountain Lion)

I've been trying to get subversion to work on my Mac...
Some facts:
1) I configured the subversion with Apache on a Linux server myself and installed a signed SSL cert there as well.
2) On Windows, Tortoisesvn works just fine with my repository.
3) On mac, it doesn't telling me the following error:
$ svn co https://www.[snip].com/svn/snip .
svn: E175002: Unable to connect to a repository at URL 'https://www.[snip].com/svn/snip'
svn: E175002: OPTIONS of 'https://www.[snip].com/svn/[snip]': SSL handshake failed: SSL error code -1/1/336032856 (https://www.[snip].com)
4) I searched the web and the recommended action is to update the openssl on my machine. I did that and built it locally. Now, when I do 'openssl version', the version that it show is:
$ openssl version
OpenSSL 1.0.1c 10 May 2012
5) I also installed the subversion client from http://www.wandisco.com/subversion/download#osx
6) Both openssl and subversion were put on the path in .bash_profile and I've verified that they are the ones I am using.
The problem is that it is STILL giving the same error message on the Terminal.
Any ideas as to why it works just fine on Windows and doesn't work on the Mac Terminal and most importantly what I should do about it?
Thank you!
-YC.
This can happen when the hostname/virtualhost entry does not match the SSL cert.

Install4j build on windows renders code signing error CSSMERR_TP_NOT_TRUSTED on OSX

I am using Install4j Multi-Platform 5.1.3 on Windows XP and I am attempting to code-sign my bundle for Mac OSX (Mountain Lion). I have installed Apple's intermediate certificates on both Windows XP and mac. I have followed directions on obtaining certificates through Xcode organizer and keychain. I have attempted to use certificates for both installer and application.
After I build I move the .dmg file to the mac and open it. I copy the .app file to another location in order to execute:
codesign -vvv -d myapp.app
It reports the message:
myapp.app: CSSMERR_TP_NOT_TRUSTED
I'm getting closer to a solution. It turns out that where install4j5 is installed there is a resource\macos\certs. This folder contains the Apple root certificate and Developer ID certificate. I deleted those and updated them from http://www.apple.com/certificateauthority/.
After my build CSSMERR_TP_NOT_TRUSTED is no longer being reported. Instead, it is the certificate info.
Now when I install with safari (using Gatekeeper) it is reporting "can't be opened because it is from an unidentified developer." Before with CSSMERR_TP_NOT_TRUSTED, gatekeeper was reporting that the file was damaged.

Resources