Author Topic: Run Android problem  (Read 2458 times)

Glenn

  • Newbie
  • *
  • Posts: 2
Run Android problem
« on: October 31, 2012, 01:05:00 AM »
I am new and I have been trying to run 'Hello World' on an emulator. When I run it the log that appears ends with the statement:

"C:\Users\Glenn\Desktop\hello world>jarsigner -J-Duser.language=en -verify  "C:\Users\Glenn\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\hello world.apk"
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
-
shell jar verify failed"

and nothing happens. I do not understand the statement. Any help would be appreciated in helping resolve my emulator problem. Thanks

Glenn

  • Newbie
  • *
  • Posts: 2
Re: Run Android problem
« Reply #1 on: October 31, 2012, 02:50:31 AM »
It seems that this may be related to Java 6 SDK. I am running Windows 7 on a 64 bit machine. Going to the Oracle website for downloads from the link:

 http://www.oracle.com/technetwork/java/javase/downloads/index.html    suggesting use of the 32 bit version

given in the Post:  Error messages when building Android project
« on: July 01, 2012, 02:20:45 PM » (although I am wanting to use an emulator)

I find:  Java SE Development Kit 6 Update 37
Downloads:   Windows x86   69.72 MB     jdk-6u37-windows-i586.exe
                      Windows x64     59.73 MB     jdk-6u37-windows-x64.exe

Which should be used? Thanks for your help!

tigabyte

  • Administrator
  • Newbie
  • *****
  • Posts: 54
Re: Run Android problem
« Reply #2 on: October 31, 2012, 06:02:50 AM »
Hi Glenn

You are right that the problem is Java version - you should be using the 32bit version - even on a 64 bit OS.
Unfortunately the Android SDK currently only works with 32bit Java and it catches a lot of users out.

This post here might help:-

http://www.tigabyte.com/forum/index.php?topic=131.msg487#msg487


By the way - this forum is for HyperNext Studio users - Windows and Mac desktop development - blue background
The above post is in the Android forums - green background :)

Malkom


« Last Edit: September 27, 2015, 09:44:43 AM by Malkom »

 

anything