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

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

Related

Eclipse Neon does not install on my Mac Sierra

when i tried to install Eclipse Neon on my Mac Sierra, it prompted:
Version 1.6.0_65 of the JVM is not suitable for the this product.
However when I check the java version on terminal: it says:
java -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)
Anyone knows what is the issue?
Actually, the Eclipse popup window says:
Version 1.6.0_65 of the JVM is not suitable for the this product.
Version: 1.8 or greater is required.
I had the same problem. I had orginally installed the JRE, and did a search for "java" across the hard disk, and it found a JavaApplet plugin. I deleted this, and then installed the latest jdk (144) dmg. Running the eclipse installer then worked. (so, it was just a java environment problem for me).

Trying to figure out why the Informix JDBC driver won't install

While trying to install Informix's JDBC driver, I get this error:
java -cp /home/ics/sandbox/jdbc/setup.jar run -console
The wizard cannot continue because of the following error:
could not load wizard specified in /wizard.inf (104)
I have pointed to a newer Java from Sun using:
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_05
export PATH=$JAVA_HOME/bin:$PATH
java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) Server VM (build 25.5-b02, mixed mode)
Pointing to a newer Java and, as IBM/Informix support told me, getting away from OpenJDK should allow the installer to run, but that does not work. I also saw using Sun's or IBM's java elsewhere, when I searched for posts on the specific error. On another Centos System, OpenJDK is installed, and I can install the JDBC driver successfully
I also tried removing tty settings from my environment, which also did not work.
Here is the so post where this error is mentioned.
If anyone has heard of a solution, I'd love to hear it, 'cause without the jdbc driver, there's no Clojure database work with Informix, and, when working, it works well. And, I have thought of tarring and zipping the good install and moving it, but that's kind of cheating.
This problem occurs on
cat /etc/redhat-release
CentOS release 6.4 (Final)
The installed java version, not my workaround newer version is
java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.11.90) (rhel-1.62.1.11.11.90.el6_4-i386)
OpenJDK Server VM (build 20.0-b12, mixed mode)
Until an answer arrives that allows an install, I took #Michał Niklas 's suggestion and manually installed the driver under /opt/ on the new system. This worked.
I am still going to pursue the cause of this problem. I edited the OP to reflect #ceinmart 's suggestion to remove tty settings. This did not work, but I found it a useful suggestion.

Trouble getting Elasticsearch to run

I am trying to get Elasticsearch to run but unable to. Running ./bin/elasticsearch yields the following error:
Initialization Failed ...
- MissingResourceException[Can't find bundle for base name org.elasticsearch.common.joda.time.format.messages, locale en]
I'm running Mac OSX 10.8.2 and java -version yields:
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
Any ideas on what the problem is? I also trying running the ./bin/elasticsearch.in.sh script before but nothing has worked
It turns out the file on the elasticsearch website was messed up or had a bad download. I downloaded the tar.gz version and it worked.
I had the similar issue with both Elasticsearch 1.7 & Elasticsearch 2.0 on Mac OSx 10.10 Yosemite. I messed around with installing Java 8's JRE without success.
I ended up installing the Java 8 JDK in addition to the JRE based on this answer.
Additionally here's Elasticsearch's instructions

How to change JRE for PhpStorm on MacOs

It seems, with the latest MAcOs updates, that Java was also updated, which influenced PhpStorm performance very badly.
Anyway, I decided to update my Java.
Was
$ java -version
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
After downloading Java SDK from Oracle and installing:
$ java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
But in PhpStorm it still shows the old JRE:
I also restarted my computer, but still the old JRE is shown.
Please help, how to make PHPStorm use a new JRE?
Quoting from the "Selecting the JDK version the IDE will run under" article in the Knowledge Base
posted on March 27, 2013
Mac OS X
At the moment all our products require Apple JDK 1.6 to be installed in order to run on Mac. JDK 1.7 from Oracle is not officially supported yet and has known problems that stop us from using it by default. Oracle JDK 1.7.0_40 has added support for Retina and works much better than previous versions on Mac. You are welcome to give it a try in case you have any problems with Apple JDK.
To force running under JDK 1.7 edit /Applications/.app/Contents/Info.plist file, change JVMVersion from 1.6* to 1.7* :
<key>JVMVersion</key>
<string>1.7*</string>
See this answer for the known problems with JDK 1.7.
IDEA_JDK environment variable can be used to override the selected JDK, you may need to run the product from the Terminal so that it sees your environment variables (Mac OS limitation): open -a /Applications/.app/ .
Application About dialog will show the actual JDK version.

Running install4j installer on Mac OS 10.7.4 with Oracle JRE1.7

I have a installer which is built with install4j 5.1.2. When i try to install it on Mac OS X 10.7.4. It complains saying
"No JVM could be found on you
system.
Please define EXE4J_JAVA_HOME
to point to an installed JDK or JRE or download a JRE from
www.java.com"
Then i download just the JRE1.7_07 from Oracle and tried again, i got the same error. Where as if i install full JDK1.7_07, then everything works fine.
Additional Information:
If i use Apple JRE 1.6 installer works fine. But my app needs JRE 1.7.
I also defined environment variables for JAVA_HOME, EXE4J_JAVA_HOME when i installed JRE1.7, Still i saw the same error. I have a feeling that, install4J is not reading the JRE when JRE is installed.
If i install JDK, then the JRE is in the following location
/Library/Java/JavaVirtualMachine/
where as if i install only JRE, it is in the following location
/Library/Internet Plug-ins/JavaAppletPlugin.plugin
I am not sure, if i am missing something. any pointers on how to resolve this particular issue is very helpful.
I got below email from install4j support.
Hi,
Thanks for your email. Indeed, 5.1.2 cannot find the JRE but only the JDK, since
the JRE was not released when OpenJDK support was implemented for install4j. This
is implemented in the current 5.1.3 build:
http://download.ej-technologies.com/beta/install4j_windows_5_1_3.exe
http://download.ej-technologies.com/beta/install4j_windows-x64_5_1_3.exe
It will be released at the end of the month.
Kind regards,

Resources