problems getting MD5 fingerprint for signing certificate - md5

While using the Google code website, I have tried using the command prompt to follow their instructions:
First, determine which key you will
use to sign your application at
release and make sure of the path to
the keystore that contains it.
Next, run Keytool with the -list
option, against the target keystore
and key alias. The table below lists
the options you should use.
But I am continuously getting this error:
C:\Program
Files\Java\jdk1.6.0_23\bin>keytool
-list keytool error: java.lang.Exception: Keystore file
does not exist: C:\Documents and
Settings\nwashington.keystore
also when I follow the next instruction on the site:
Here's an example of a Keytool command
that generates an MD5 certificate
fingerprint for the key alias_name in
the keystore my-release-key.keystore
Here is what I wrote and my error:
> C:\Program
> Files\Java\jdk1.6.0_23\bin>keytool
> -list -alias androiddebugkey -keystore C:\Documents and
> Settings\nwashington.android\debug.keystore
> -storepass android -keypass android keytool error:
> java.lang.RuntimeException: Usage
> error, and is not a legal command
Am I not entering the correct "my-release-key"?
Can anyone help me get past this issue/what the error means?
Thank you!

C:\Documents a nd Settings
Is that extra space in "and" the problem, or did that get inserted while you were creating this question?
Maybe you need quotes around the path because it contains spaces?

Finally i solve the problem and the correct working script / Command is below: Please note the double quotes where they are placed please use as it is as this is the correct method. and off course please change the user name and as for the different versions of windows you people will have to change it accordingly. Please feel free to ask if you people have any questions.
C:\Program Files\Java\jdk1.6.0_25\bin>keytool -list -alias androiddebugkey -keys
tore "c:\documents and settings\user\.android\debug.keystore" -storepass android
-keypass android

I think you need a slash between nwashington and .android
nwashington\.android

I guess this is probably a little too late to be of help. The problem is probably the lack of quotes around the path - in Windows, a space is used as a separator between arguments, and so, your path will be treated as just "C:\Documents" instead of "C:\Documents and Settings\nwashington.android\debug.keystore"
That is why you get the error stating "and" is not a legal command, since it thinks the previous argument ended when it came across the space.

Related

Install zeppelin on windows

I have spark installed and I am trying to run zeppelin but just doesn't run.
Error while running Zepplin
I have used this as JAVA_HOME as "C:\Program Files (x86)\Java\jdk1.7.0_55"
Could someone please help me with the installation steps of Zeppelin on Windows10 ?
This is probably due to the fact that your zeppelin folder is located in your root directory. You can either:
Run the cmd window as administrator to start Zeppelin.
Move the Zeppelin folder in the user directory
What would echo %JAVA_HOME% return?
C:\Users\user1>echo %JAVA_HOME%
C:\Program Files\Java\jre1.8.0_121
Seems like you have extra quotes around the path to your Java directory.
Two issues here:
1. Spaces in your ENV-VARIABLE : You are getting the issue because of the space in your path.
To resolve it add following lines to your zeppelin-env.cmd
set JAVA="C:\Program Files (x86)\Java\jdk1.7.0_55"
set JAVA_HOME="%JAVA%"
This should solve your 'not recognized' error.
2a. To troubleshoot zeppelin setup refer my answer here.
2b. To make spark work on both command prompt and zeppelin refer this gist.
Hope this helps!

adb: command not found ( from within the platform-tools directory ) on Mac OS X Yosemite

Ultimately I'm trying to get the device id for my note 5.
I've installed Android Studio along with the Platform-Tools 23.1
When I use terminal to go into the platform-tools folder and type adb I get "command not found"
Any ideas?
Thanks
Since "platform-tools" is probably not part of the system path, you should try running: "./adb" instead of "adb" from the platform-tools location. Or use the full path to it.
Using "." would indicate that you are trying to launch adb from the current directory
Ok after much search i have come to realize that much of the stackoverflow posts have been marking the wrong and complex answers, for all such questions about adb not working, not found, -bash not found etcccc The only thing that you guys need to do is in terminal just change your directory to platform-tools folder in android SDK
cd /Users/macbookpro/Library/Android/sdk/platform-tools
and then run ./adb --help to see the list since adb is already located inside platform tools no need to export $path and all those vague solutions. Thanks

GoogleAppEngine error directory not found

Ive been working on get a proxy working for when im school, to access sites that i use alot for work but my school dont like.. This is the error it comes up with when i try to upload the files to googles app engine..
C:\Program Files (x86)\Google\google_appengine>"C:\Python27\python.exe" appcfg.p
y update C:\Users\alastair\Desktop\School Files\Proxy Files\mirrorrr-master\mirrorrr-master
09:44 PM Host: appengine.google.com
Usage: appcfg.py [options] update | [file, ...]
appcfg.py: error: Directory does not contain an School.yaml configuration file
So im very confused on why it is asking for a "School.yaml" But i made one anyway, And even though its been made, it still displays this error, So if anyone can help, Please!
Your full project path contains two space characters and needs to be quoted, also, a trailing slash might be required i.e.:
C:\Python27\python.exe appcfg.py update "C:\Users\alastair\Desktop\School Files\Proxy Files\mirrorrr-master\mirrorrr-master\" assuming that's where you have your app.yaml file.
In your case it's thinking you are pointing to "C:\Users\alastair\Desktop\School" file which does not exist and thus showing the error.

Javac not recognised

I tried typing the name of the bat file (makejar.bat) from the containing direcory from the command line. It gives several errors all containing "'javac' is not recognised as an internal or external command."
This sounds like a java class path problem.
You can find the instructions to set the java CLASSPATH on the following Oracle web page.
I suppose you are working on Windows, so make sure that your environment variables are properly set:
JAVA_HOME - points to a proper JDK installation
PATH - contains a references to JAVA_HOME, something like: **PATH;%JAVA_HOME%\bin**
This should do it! Make sure to restart the command line you are using after making changes to environment variables.
You can see how to set/add environment variables on windows here.
On CMD--> type--> PATH="c:\Program Files\Java\jdk1.8.0_144\bin";
and then check java path by type "java -version" on cmd
and also check on YouTube : -https://www.youtube.com/watch?v=mzAAmJj-W6w

Can't start Apache2, could not open error log file

Ok, so I have a related question posted here, but I feel like this is a separate issue.
Every time I try to run
apache2 -k start
I get the error
(2)No such file or directory: apache2: could not open error log file /etc/apache2/${APACHE_LOG_DIR}/error.log.
So after extensive research and browsing through configuration files, I am fairly certain that the path shown in the error message above should simply be
${APACHE_LOG_DIR}/error.log
which is the exact path in my <VirtualHost> file for error logging. Something is prepending /etc/apache2/ onto the error log path, resulting in a final path of /etc/apache2//var/apache2/log/error.log, and I cannot for the life of me find out why that is.
I don't care what I need to do, whether it's disabling logging, finding the source of the prepended path, or reinstalling apache2, as long as I don't have to reinstall my entire OS. I have been at this for hours, and I'd really like an answer.
See if starting apache with the following command helps--
service apache2 start

Resources