I have been trying to set up my android to begin my development lessons all day without success. I have installed the Java JDK kit
and I'm trying to install the android sdk but this is the error I keep getting all day:
"failed to find java version for 'C:\windows\system32\java.exe':[2] The system cannot find the specified file.
The Java version I installed is jdk1.7.0_03
. I have gone to the environment variables and added the path to the java file (C:\Program Files\Java\jdk1.7.0_03\bin
and C:\Program Files\Java\jdk1.7.0_03\bin\javac
) and I still get the same error.
The android sdk version I am trying to install is "installer_r18-windows.exe"
. Can someone help me?
The Android app not installed error can be combated after resetting app permissions. Go to Settings > Apps > Reset App Preferences/Reset Application Permissions. After this, third-party software can be installed on your device.
Why APK won't install on Android? First, make sure that your Android version supports the APK version you want to install. Also, remove the Play Store version of the app before installing an APK. Don't forget to check the storage space and permission to install apps from unknown sources.
Corrupted Application- One of the most common reasons for 'App not installed' pop-ups is that of a corrupted file or it may be so that a few of the core files of the apps might have been modified. It is advisable to recheck files while installing and ensure not to download contained files.
The problem is there are two Java files and the installer picks the first one that it finds; The solution, however, is simple:
rename c:\windows\system\java.exe
to c:\windows\system\java.exe.orj
, then restart the installer, and everything should be fine.
It will now use the version of java.exe installed in Program Files\Java instead which solves the issue.
I fixed this issue follow these steps:
right click my computer->properties->advanced system settings->advanced tab->click environmental variable
under system variales press new to create and new system variable
give it name JAVA_HOME and give url to folder where java is installed
e.g C:\Program Files\Java\jdk1.7.0_05
and then re-run sdk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With