Author Topic: Hello World Will not Work  (Read 10140 times)

pocoboR

  • Newbie
  • *
  • Posts: 7
Hello World Will not Work
« on: July 27, 2011, 01:24:13 PM »
I have been trying to get the Hello World program to work with very little success.

I could not find a way to display text on a button also the Android SDK does not open using the menu option.  Plus when the Android SDK is not open when you press the Launch emulator option it gives and error and stops. Below is the PC spec and the contents of the Compile – Building window when the Run Android option is used. The app never runs on the emulator.

Processor : Intel Pentium Dual Core T3400 2.16Ghz
RAM : 3Gb
OS : Windows Vista Home 32Bit Service Pack 2

Java SDK : R6 Update 26
Android SDK : R12 (with all packages downloaded & installed)

HAC Android Paths (All have green ticks)
Android SDK : D:\Android\SDK\
Android ADB : D:\Android\SDK\platform-tools
Android JAR  : D:\Android\SDK\android-9
EXE Name : SDK Manager.exe

Regards
Dean


Compile Window Data

Android searching AVDs .....Android searching AVDs .....Android AVD searching...
D:\Users\DeaMor\Documents\Android\HAC\Hello World>cd "D:\Android\SDK\tools\"

D:\Android\SDK\tools>android list avd

Android AVD searching... Available Android Virtual Devices:
    Name: Android_22
    Path: D:\Users\DeaMor\.android\avd\Android_22.avd
  Target: Android 2.2 (API level 8 )
    Skin: 320x480
  Sdcard: 21M


  DONE
Android Device search starting.....Android Devices searching...
D:\Users\DeaMor\Documents\Android\HAC\Hello World>cd "D:\Android\SDK\platform-tools\"

D:\Android\SDK\platform-tools>adb devices

Android Devices searching... List of devices attached
emulator-5554   device



  DONE
1 - Compiling HyperNext code
Android Copy Runtime ....  DONE
PH_1 Android Copy Resources ....  DONE
PH_2 Android_CopyStack....  DONE
PH_3 Android Updating Manifest ... DONE
PH_4 Android Repackaging.....
PH_4 aapt package -f -v --version-code 1 -M "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "D:\Android\SDK\platforms\android-9\android.jar" -0 stk -F "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Hello World.ap_" -A "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.HelloWorld
Repackaging..
D:\Users\DeaMor\Documents\Android\HAC\Hello World>cd "D:\Android\SDK\platform-tools\"

D:\Android\SDK\platform-tools>aapt package -f -v --version-code 1 -M "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "D:\Android\SDK\platforms\android-9\android.jar" -0 stk -F "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Hello World.ap_" -A "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.HelloWorld
Found 21 custom asset files in C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets
Locale/Vendor pairs:
   /

Files:
  assets\Backs\hnr_icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Backs\hnr_icon.png
  assets\Backs\icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Backs\icon.png
  assets\Local\blank.mov
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\blank.mov
  assets\Local\hnr_icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\hnr_icon.png
  assets\Local\icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\icon.png
  assets\splash.jpg
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\splash.jpg
  assets\stack.stk
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\stack.stk
  assets\test1.txt
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\test1.txt
  assets\zz589x4_beep1.ogg
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.ogg
  assets\zz589x4_beep1.wav
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.wav
  assets\zz589x4_btn_check_off.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off.png
  assets\zz589x4_btn_check_off_disable.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off_disable.png
  assets\zz589x4_btn_check_on.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on.png
  assets\zz589x4_btn_check_on_disable.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_disable.png
  assets\zz589x4_btn_check_on_pressed.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_pressed.png
  assets\zz589x4_btn_radio_off.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_off.png
  assets\zz589x4_btn_radio_on.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on.png
  assets\zz589x4_btn_radio_on_pressed.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on_pressed.png
  assets\zz589x4_btn_square_disabled.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_disabled.png
  assets\zz589x4_btn_square_normal.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_normal.png
  assets\zz589x4_btn_square_pressed.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_pressed.png
  drawable\hnr_icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
  drawable\icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
  drawable\notification_icon.png
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.png
  layout\card.xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
  layout\main.xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
  layout\menu.xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml
  layout\settings.xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
  layout\splash.xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
  raw\testh1
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
  values\integers.xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
  values\strings.xml
      Src: C:\Users\DeaMor\AppData\Roami
Repackaging.. ng\HAC_Data\data\HN_Runtime\res\values\strings.xml
  AndroidManifest
Repackaging.. .xml
      Src: C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml
Including resources from package: D:\Android\SDK\platforms\android-9\android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
    (processed image C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png: 97% size of source)
    (processed image C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png: 95% size of source)
    (processed image C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.png: 95% size of source)
    (new resource id hnr_icon from drawable\hnr_icon.png #generated)
    (new resource id icon from drawable\icon.png #generated)
    (new resource id notification_icon from drawable\notification_icon.png #generated)
    (new resource id card from C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml)
    (new resource id main from C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml)
    (new resource id menu from C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml)
    (new resource id settings from C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml)
    (new resource id splash from C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml)
    (new resource id testh1 from C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1)
Creating 'C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Hello World.ap_'
Writing all files...
      'assets/Backs/hnr_icon.png' (not compressed)
      'assets/Backs/icon.png' (not compressed)
      'assets/Local/blank.mov' (compressed 72%)
      'assets/Local/hnr_icon.png' (not compressed)
      'assets/Local/icon.png' (not compressed)
      'assets/splash.jpg' (not compressed)
      'assets/stack.stk' (not compressed)
      'assets/test1.txt' (not compressed)
      'assets/zz589x4_beep1.ogg' (not compressed)
      'assets/zz589x4_beep1.wav' (not compressed)
      'assets/zz589x4_btn_check_off.png' (not compressed)
      'assets/zz589x4_btn_check_off_disable.png' (not compressed)
      'assets/zz589x4_btn_check_on.png' (not compressed)
      'assets/zz589x4_btn_check_on_disable.png' (not compressed)
      'assets/zz589x4_btn_check_on_pressed.png' (not compressed)
      'assets/zz589x4_btn_radio_off.png' (not compressed)
      'assets/zz589x4_btn_radio_on.png' (not compressed)
      'assets/zz589x4_btn_radio_on_pressed.png' (not compressed)
      'assets/zz589x4_btn_square_disabled.png' (not compressed)
      'assets/zz589x4_btn_square_normal.png' (not compressed)
      'assets/zz589x4_btn_square_pressed.png' (not compressed)
      'res/drawable/hnr_icon.png' (not compressed)
      'res/drawable/icon.png' (not compressed)
      'res/drawable/notification_icon.png' (not compressed)
      'res/layout/card.xml' (compressed 56%)
      'res/layout/main.xml' (compressed 52%)
      'res/layout/menu.xml' (compressed 56%)
      'res/layout/settings.xml' (compressed 56%)
      'res/layout/splash.xml' (compressed 56%)
      'res/raw/testh1' (not compressed)
      'AndroidManifest.xml' (compressed 65%)
      'resources.arsc' (not compressed)
Generated 32 files
Included 0 files from jar/zip files.
Checking for deleted files
Done!
    (skipping index file 'C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Thumbs.db')
    (skipping index file 'C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\Thumbs.db')
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.


  DONE
PH_5 Android BuildAPK.....
Rebuild Data
D:\Users\DeaMor\Documents\Android\HAC\Hello World>cd "D:\Android\SDK\tools\"

D:\Android\SDK\tools>apkbuilder "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk" -u -z "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Hello World.ap_" -f "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\classes.dex"

Rebuild Data
THIS TOOL IS DEPRECATED. See --help for more information.



  DONE
PH_6 Android_SignAPK .....TYPE:---   debug.keystore
Debug Data
  DONE
PH_7 Android_SignVerifyAPK .....shell jar verify failed

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #1 on: July 27, 2011, 02:13:04 PM »

HAC Android Paths (All have green ticks)
Android SDK : D:\Android\SDK\
Android ADB : D:\Android\SDK\platform-tools
Android JAR  : D:\Android\SDK\android-9
EXE Name : SDK Manager.exe

Many thanks for posting here and updating your info on the Android File Paths.

From your description there appears to be a problem with the JAVA path and this would cause the error in the Compile/Build phase = PH_7 is where it uses JAVA to sign the built app - at this place :-

PH_7 Android_SignVerifyAPK .....shell jar verify failed



About your Android paths-
In the 4th path, where you have
EXE Name SDK Manager.exe

it should have something like
C:\Program Files\Java\jdk1.6.0_23\bin\

If it isn't then you need to find the "bin" directory of your JAVA install as shown above.




I could not find a way to display text on a button also the Android SDK does not open using the menu option. 

To add text to a button
1) Select the button
2) Select the Value tab on the Toolbar(Creator Properties)
3) Enter your button text in that field



Once we have solved these possible path problems then we can look at why your Android_SDK is not loading.
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

pocoboR

  • Newbie
  • *
  • Posts: 7
Re: Hello World Will not Work
« Reply #2 on: July 27, 2011, 02:23:45 PM »
Quote
About your Android paths-
In the 4th path, where you have
EXE Name SDK Manager.exe

it should have something like
C:\Program Files\Java\jdk1.6.0_23\bin\
The 4th path is set to the correct Jdk bin folder.
I was just displaying the name of teh SDK file as it has a space in it and wondering if that may be causing the SDK not opening.

Regards
Dean

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #3 on: July 27, 2011, 04:47:06 PM »
I'm sorry but regarding launching the Android SDK - there is a bug in HAC - its a hangover fron the earlier HAC that assumed the SDK was always in c:\android-sdk-windows.  We'll fix this for the next release of HAC due within days.

I know its not ideal - but for now you could always make a shortcut from SDK Manager.exe and send it to your desktop,


Thanks for clearing up the situation on your Paths and the JAVA signing bug - I'll look into this now.

Malkom
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #4 on: July 27, 2011, 08:50:17 PM »
Quote
About your Android paths-
In the 4th path, where you have
EXE Name SDK Manager.exe

it should have something like
C:\Program Files\Java\jdk1.6.0_23\bin\
The 4th path is set to the correct Jdk bin folder.
I was just displaying the name of teh SDK file as it has a space in it and wondering if that may be causing the SDK not opening.

Phase 7 tries to verify that your app has a valid key and verification is carried out by JAVA's jarsigner which is in the JAVA bin folder.  Phase 6 which signs your app worked so it appears the jarsigner is working.

I've looked inside HAC and cannot see anything wrong but perhaps there is a problem with its batch file that controls jarsigner.

The batch file is called SignVerify.bat and is in the HAC_Data folder, in a path similar to this:-

C:\Users\UserName\AppData\Roaming\Hac_Data\data\

Note, that the folder AppData is usually hidden.

The SignVerify.bat file should have contents similar to this:-

Code: [Select]
@echo off
cd "C:\Program Files\Java\jdk1.6.0_24\bin\"
jarsigner -verify  "C:\Users\Malkom\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\HelloWorld.apk"

Perhaps there is a problem in your version of the SignVerify.bat  file.


I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

pocoboR

  • Newbie
  • *
  • Posts: 7
Re: Hello World Will not Work
« Reply #5 on: July 28, 2011, 09:58:21 AM »
I have checked the SignVerify.bat and the folders exist.
Quote
@echo off
cd "C:\Program Files\Java\jdk1.6.0_26\bin\"
jarsigner -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"

I then ran the code manually at the command prompt and got the following
Quote
C:\Users\DeaMor>cd "C:\Program Files\Java\jdk1.6.0_26\bin\"

C:\Program Files\Java\jdk1.6.0_26\bin>jarsigner -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"
no manifest.
jar is unsigned. (signatures missing or not parsable)

Regards
Dean

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #6 on: July 28, 2011, 04:51:48 PM »
I have checked the SignVerify.bat and the folders exist.
Quote
@echo off
cd "C:\Program Files\Java\jdk1.6.0_26\bin\"
jarsigner -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"

I then ran the code manually at the command prompt and got the following
Quote
C:\Users\DeaMor>cd "C:\Program Files\Java\jdk1.6.0_26\bin\"

C:\Program Files\Java\jdk1.6.0_26\bin>jarsigner -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"
no manifest.
jar is unsigned. (signatures missing or not parsable)

Regards
Dean

Thank you for these details.


Perhaps you could change line 3 in that file by adding "-verbose" to try and get some detailed info of whats happening.

Replace:-
Code: [Select]
jarsigner -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"
With:-
Code: [Select]
jarsigner -verbose -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"


I'm just wondering if  the other projects also have problems compilingl.
« Last Edit: July 28, 2011, 06:17:15 PM by Malkom »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

pocoboR

  • Newbie
  • *
  • Posts: 7
Re: Hello World Will not Work
« Reply #7 on: July 29, 2011, 09:46:40 AM »
I created a brand new project with a button that has no script. It Runs fine within HAC. I then started the Android 2.2 AVD, started ADB, then clicked Run Android and got the same error as the Hello Worls project. I also ran the jarsign at the command prompt with the verbose option and got the following
Quote
jarsigner -verbose -verify "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Test4HAC.apk"

  s = signature was verified
  m = entry is listed in manifest
  k = at least one certificate was found in keystore
  i = at least one certificate was found in identity scope

no manifest.
jar is unsigned. (signatures missing or not parsable)
Hope this helps
Dean

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #8 on: July 29, 2011, 08:05:56 PM »
I'm sorry that I still haven't solved the problem.

I guess some info you gave me earlier had a wrong character in it"?
The should be a path separator between bin and jarsigner but the text shows a >

I have checked the SignVerify.bat and the folders exist.


I then ran the code manually at the command prompt and got the following
Quote
C:\Users\DeaMor>cd "C:\Program Files\Java\jdk1.6.0_26\bin\"

C:\Program Files\Java\jdk1.6.0_26\bin>jarsigner -verify  "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Hello World.apk"
no manifest.
jar is unsigned. (signatures missing or not parsable)



Here is the output I got when manually running the SignVerify.bat file for the HellwoWorld project:-


Code: [Select]
C:\Users\Malkom\AppData\Roaming\HAC_Data\data>SignVerify.bat

        2664 Wed Jul 27 15:04:12 BST 2011 META-INF/MANIFEST.MF
        2785 Wed Jul 27 15:04:12 BST 2011 META-INF/ANDROIDD.SF
         940 Wed Jul 27 15:04:12 BST 2011 META-INF/ANDROIDD.RSA
sm       279 Mon Feb 21 07:36:58 GMT 2011 assets/Backs/hnr_icon.png
sm       232 Fri Mar 18 13:10:40 GMT 2011 assets/Backs/icon.png
sm      2150 Wed Jul 27 15:04:10 BST 2011 assets/Local/blank.mov
sm       279 Mon Feb 21 07:36:58 GMT 2011 assets/Local/hnr_icon.png
sm       232 Fri Mar 18 13:10:40 GMT 2011 assets/Local/icon.png
sm     17522 Thu Apr 28 06:58:50 BST 2005 assets/splash.jpg
sm      5620 Wed Jul 27 15:04:08 BST 2011 assets/stack.stk
sm         5 Tue Jan 04 13:10:40 GMT 2011 assets/test1.txt
sm      4398 Sat May 21 16:45:36 BST 2011 assets/zz589x4_beep1.ogg
sm      5400 Tue Oct 05 10:52:26 BST 2010 assets/zz589x4_beep1.wav
sm      1834 Mon May 23 04:59:20 BST 2011 assets/zz589x4_btn_check_off.png
sm      1095 Mon May 23 04:58:04 BST 2011 assets/zz589x4_btn_check_off_disable.p
ng
sm      2009 Mon May 23 05:15:20 BST 2011 assets/zz589x4_btn_check_on.png
sm      1243 Mon May 23 05:12:56 BST 2011 assets/zz589x4_btn_check_on_disable.pn
g
sm      2566 Mon May 23 05:14:08 BST 2011 assets/zz589x4_btn_check_on_pressed.pn
g
sm      2238 Mon May 23 05:16:34 BST 2011 assets/zz589x4_btn_radio_off.png
sm      2445 Mon May 23 05:19:10 BST 2011 assets/zz589x4_btn_radio_on.png
sm      3536 Mon May 23 05:17:58 BST 2011 assets/zz589x4_btn_radio_on_pressed.pn
g
sm       537 Mon May 23 05:21:12 BST 2011 assets/zz589x4_btn_square_disabled.png

sm       658 Sun May 22 18:38:30 BST 2011 assets/zz589x4_btn_square_normal.png
sm       739 Mon May 23 05:22:24 BST 2011 assets/zz589x4_btn_square_pressed.png
sm       201 Wed Jul 27 15:04:10 BST 2011 res/drawable/hnr_icon.png
sm       175 Wed Jul 27 15:04:10 BST 2011 res/drawable/icon.png
sm       175 Wed Jul 27 15:04:10 BST 2011 res/drawable/notification_icon.png
sm       680 Wed Jul 27 15:04:10 BST 2011 res/layout/card.xml
sm       516 Wed Jul 27 15:04:10 BST 2011 res/layout/main.xml
sm       680 Wed Jul 27 15:04:10 BST 2011 res/layout/menu.xml
sm       680 Wed Jul 27 15:04:10 BST 2011 res/layout/settings.xml
sm       680 Wed Jul 27 15:04:10 BST 2011 res/layout/splash.xml
sm         8 Sat Nov 27 21:10:34 GMT 2010 res/raw/testh1
sm      2784 Wed Jul 27 15:04:10 BST 2011 AndroidManifest.xml
sm      6164 Wed Jul 27 15:04:10 BST 2011 resources.arsc
sm    878168 Thu Jul 21 10:41:34 BST 2011 classes.dex

  s = signature was verified
  m = entry is listed in manifest
  k = at least one certificate was found in keystore
  i = at least one certificate was found in identity scope

jar verified.

C:\Program Files\Java\jdk1.6.0_24\bin>

I notice that you are using jdk1.6.0_26 while in the above I used jdk1.6.0_24.
However we are using jdk1.6.0_26 on a Windows 7 64 machine with no problems.
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

pocoboR

  • Newbie
  • *
  • Posts: 7
Re: Hello World Will not Work
« Reply #9 on: July 29, 2011, 08:29:02 PM »
I have done a little digging and it appears jarsign cannot find the manifest file in "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime" folder. While the project is located in the D:\Users\DeaMor\Documents\Android\HAC\Hello World.
Every project created has the same result No Manifest. I have been able to get a Hello World to work within Eclipse with no issues.

Hope this info helps you.
Regards
Dean

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #10 on: July 30, 2011, 11:07:56 AM »
I have done a little digging and it appears jarsign cannot find the manifest file in "C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime" folder. While the project is located in the D:\Users\DeaMor\Documents\Android\HAC\Hello World.
Every project created has the same result No Manifest. I have been able to get a Hello World to work within Eclipse with no issues.

Hope this info helps you.
Regards
Dean

Thank you for these details. A  missing Manifest sounds like its missing from the HAC install or has gone missing from the Runtime section.

Perhaps you could try a clean Install of HAC:-
1) Uninstall HAC
2) Delete the HAC_Data folder from AppData

There is a bit here about clean installs:-

http://www.tigabyte.com/smf/index.php?topic=196.msg649#msg649
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

pocoboR

  • Newbie
  • *
  • Posts: 7
Re: Hello World Will not Work
« Reply #11 on: July 30, 2011, 12:29:53 PM »
Quote
Perhaps you could try a clean Install of HAC:-
1) Uninstall HAC
2) Delete the HAC_Data folder from AppData

There is a bit here about clean installs:-

http://www.tigabyte.com/smf/index.php?topic=196.msg649#msg649

I have completed a clean uninstall & re-install with the same error verify failed / No Manifest.
The "AndroidManifest.xml" does exist in C:\Users\DeaMor\AppData\Roaming\HAC_Data\data\HN_Runtime" and refers to the HelloWorld app.

It appears there could be an issue with the data file on a different drive. The Vista library files (document, pictures, etc...) were originally moved (D:\Users\DeaMor\...) when I received the laptop so the data is held on a separate drive in case I have to reinstall the OS. The AppData foler was never moved and still in the original location on the C: drive. Is HAC using a relative path that could cause this.

Regards
Dean

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 289
Re: Hello World Will not Work
« Reply #12 on: July 30, 2011, 03:27:46 PM »
Thank you for this info - the different drives is why its not working for you  :(

I'm sorry but unfortunately the current HAC setup and its helpers expect everything to be on the root drive and there is no way around this. Once the batch files pass the commands to the helper programs they can get confused with the different drives.

Hopefully there might be someway for you to reinstall your Vista so everything is on the bootup drive then HAC should build with no problems.
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

pocoboR

  • Newbie
  • *
  • Posts: 7
Re: Hello World Will not Work
« Reply #13 on: July 30, 2011, 03:39:55 PM »
Well at least we know why it does not work now.
Being an IT engineer of some 20yrs I will not put my data on the same partition because if the OS screws up I do not loose any data and only need to reinstall the programs. That is good IT practice and a lot of the new laptops are also setup in a similar way.
I would hope that HAC will be patched/coded to work with the data on one drive and the programs on another.
I was hoping for an easier route but will now uninstall HAC and use Eclipse as I have a limited knowledge of VB, C#, Java and find some training materials for it.

Thank you for your help.
Dean