Author Topic: java error  (Read 4833 times)

nussmichel

  • Newbie
  • *
  • Posts: 25
java error
« on: April 22, 2012, 09:44:49 AM »
hi

since yesterday i suddenly get an error massage while running procress:

Debug Key Enter Passphrase for keystore:
Debug Key jarsigner: unable to open jar file: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\test 2.apk

Debug Data
  DONE
PH_7 Android_SignVerifyAPK .....-
C:\Users\x\workspace\HAC\test 2>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -verify  "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\test 2.apk"


i can´t build or run any project.
i did not change any settings nor files, i´ve just start HAC and open up my project. the day before it works, now it doesn´t work.

thx for help

nussmichel

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 287
Re: java error
« Reply #1 on: April 23, 2012, 07:06:05 AM »
Hi

It looks like the problem might be occurring before the attempted signing so it might be a missing resource.

Perhaps you could:-

1) Launch HAC

2) Open the Hello World project

3) From the Go menu choose Build Android

4) Show me the complete output from the Log window.



Also, some things to check - do the following look okay from the Android menu?

- Your Application (perhaps a missing icon)
- Android Paths - (all ticked green)
- Android Key

About the debug key -- called debug.keystore  - it should be in the sub folder My Android of your Documents folder

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.

nussmichel

  • Newbie
  • *
  • Posts: 25
Re: java error
« Reply #2 on: April 23, 2012, 04:42:27 PM »
Hi again

here the "hello world" log:
It seems HAC emulates the app as usualy, but nothing happends on the emulator.


Android searching AVDs .....Android AVD searching...
C:\Program Files (x86)\HyperNextAndroidCreator\HyperNext Android Creator>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>android list avd

Android AVD searching... Available Android Virtual Devices:
    Name: test
    Path: C:\Users\x\.android\avd\test.avd
  Target: Android 2.2 (API level 8)
     ABI: armeabi
    Skin: WVGA800
  Sdcard: 32M


  DONE
Android Device search starting.....Android Devices searching...
C:\Program Files (x86)\HyperNextAndroidCreator\HyperNext Android Creator>cd "C:\Program Files (x86)\android-sdk-windows\platform-tools\"

C:\Program Files (x86)\android-sdk-windows\platform-tools>adb devices
List of devices attached



  DONE
Android searching AVDs .....Android AVD searching...
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>android list avd

Android AVD searching... Available Android Virtual Devices:
    Name: test
    Path: C:\Users\x\.android\avd\test.avd
  Target: Android 2.2 (API level 8)
     ABI: armeabi
    Skin: WVGA800
  Sdcard: 32M


  DONE
Android Device search starting.....Android Devices searching...
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\android-sdk-windows\platform-tools\"

C:\Program Files (x86)\android-sdk-windows\platform-tools>adb devices
List of devices attached



  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\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Test.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.
Repackaging..
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\android-sdk-windows\platform-tools\"

C:\Program Files (x86)\android-sdk-windows\platform-tools>aapt package -f -v --version-code 1 -M "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Test.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.
Found 29 custom asset files in C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets
Configurations:
 (default)

Files:
  assets\Local\Do not delete.txt
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\Do not delete.txt
  assets\Local\EH-Line-E-Bike-Street-Racer.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\EH-Line-E-Bike-Street-Racer.jpg
  assets\Local\NUSSMICHELLOGOANDROID (Kopie).PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\NUSSMICHELLOGOANDROID (Kopie).PNG
  assets\Local\blank.mov
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\blank.mov
  assets\Local\hnr_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\hnr_icon.png
  assets\Local\icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\icon.png
  assets\Local\startlevel.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\startlevel.JPG
  assets\Pictures\EH-Line-E-Bike-Street-Racer.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\EH-Line-E-Bike-Street-Racer.jpg
  assets\Pictures\NUSSMICHELLOGOANDROID (Kopie).PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\NUSSMICHELLOGOANDROID (Kopie).PNG
  assets\black800x600.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\black800x600.jpg
  assets\hnr_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\hnr_icon.png
  assets\icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\icon.png
  assets\splash.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\splash.jpg
  assets\stack.stk
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\stack.stk
  assets\test1.txt
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\test1.txt
  assets\zz589x4_beep1.ogg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.ogg
  assets\zz589x4_beep1.wav
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.wav
  assets\zz589x4_btn_check_off.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off.png
  assets\zz589x4_btn_check_off_disable.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off_disable.png
  assets\zz589x4_btn_check_on.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on.png
  assets\zz589x4_btn_check_on_disable.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_disable.png
  assets\zz589x4_btn_check_on_pressed.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_pressed.png
  assets\zz589x4_btn_radio_off.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_off.png
  assets\zz589x4_btn_radio_on.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on.png
  assets\zz589x4_btn_radio_on_pressed.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on_pressed.png
  assets\zz589x4_btn_square_disabled.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_disabled.png
  assets\zz589x4_btn_square_normal.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_normal.png
  assets\zz589x4_btn_square_pressed.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_pressed.png
  assets\zz589x4_cursor1.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_cursor1.png
  drawable\hnr_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
  drawable\icon.png
    Src: () C:\Users\x\AppDat
Repackaging.. a\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
  drawable\notification_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.png
  layout\card.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
  layout\main.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
  layout\menu.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml
  layout\settings.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
  layout\splash.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
  raw\testh1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
  values\integers.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
  values\strings.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\strings.xml
  AndroidManifest.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml

Resource Dirs:
  Type drawable
    drawable\hnr_icon.png
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
    drawable\icon.png
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
    drawable\notification_icon.png
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.png
  Type layout
    layout\card.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
    layout\main.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
    layout\menu.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml
    layout\settings.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
    layout\splash.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
  Type raw
    raw\testh1
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
  Type values
    values\integers.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
    values\strings.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\strings.xml
Including resources from package: C:\Program Files (x86)\android-sdk-windows\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
Processing image: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
    (processed image C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png: 97% size of source)
Processing image: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
    (processed image C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png: 95% size of source)
Processing image: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.png
    (processed image C:\Users\x\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\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml)
    (new resource id main from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml)
    (new resource id menu from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml)
    (new resource id settings from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res
Repackaging.. \layout\settings.xml)
    (new resource id splash from C:\Users\x\AppDa
Repackaging.. ta\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml)
    (new resource id testh1 from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1)
Creating 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Test.ap_'
Writing all files...
      'assets/Local/Do not delete.txt' (compressed 27%)
      'assets/Local/EH-Line-E-Bike-Street-Racer.jpg' (not compressed)
      'assets/Local/NUSSMICHELLOGOANDROID (Kopie).PNG' (not compressed)
      'assets/Local/blank.mov' (compressed 72%)
      'assets/Local/hnr_icon.png' (not compressed)
      'assets/Local/icon.png' (not compressed)
      'assets/Local/startlevel.JPG' (not compressed)
      'assets/Pictures/EH-Line-E-Bike-Street-Racer.jpg' (not compressed)
      'assets/Pictures/NUSSMICHELLOGOANDROID (Kopie).PNG' (not compressed)
      'assets/black800x600.jpg' (not compressed)
      'assets/hnr_icon.png' (not compressed)
      'assets/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)
      'assets/zz589x4_cursor1.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 40 files
Included 0 files from jar/zip files.
Checking for deleted files
Done!
    (skipping index file 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Thumbs.db')
    (skipping index file 'C:\Users\x\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
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>apkbuilder "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Test.apk" -u -z "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Test.ap_" -f "C:\Users\x\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 Key
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -keystore "C:\Users\x\AppData\Roaming\HAC_Data\data\debug.keystore" "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Test.apk" androiddebugkey

Debug Key Enter Passphrase for keystore:
Debug Data
  DONE
PH_7 Android_SignVerifyAPK .....-
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -verify  "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Test.apk"
-
-jar verified.
-
APK Verified
PH_8 Android_ZipAlignAPK .....ZipAlign Data
C:\Users\x\workspace\HAC\Test>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>zipalign -f  4 "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Test.apk" "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\TestOUT.apk"


  DONE
Android_CopyAPKtoProjFolder .....  DONE
  Trying Install
  Android run  flag = false







nussmichel

  • Newbie
  • *
  • Posts: 25
Re: java error
« Reply #3 on: April 23, 2012, 04:42:51 PM »
and here the "nussmichel" app log, here  HAC does not emulate in the first place:





Android searching AVDs .....Android AVD searching...
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>android list avd

Android AVD searching... Available Android Virtual Devices:
    Name: test
    Path: C:\Users\x\.android\avd\test.avd
  Target: Android 2.2 (API level 8)
     ABI: armeabi
    Skin: WVGA800
  Sdcard: 32M


  DONE
Android Device search starting.....Android Devices searching...
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\android-sdk-windows\platform-tools\"

C:\Program Files (x86)\android-sdk-windows\platform-tools>adb devices
List of devices attached



  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\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Nuss Michel.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package com.dreamstep.wNussmichel
Repackaging..
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\android-sdk-windows\platform-tools\"

C:\Program Files (x86)\android-sdk-windows\platform-tools>aapt package -f -v --version-code 1 -M "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Nuss Michel.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package com.dreamstep.wNussmichel
Found 71 custom asset files in C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets
Configurations:
 (default)

Files:
  assets\Local\2011-03-11 14.48.49.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\2011-03-11 14.48.49.jpg
  assets\Local\2011-06-14 15.53.28.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\2011-06-14 15.53.28.jpg
  assets\Local\BONUS.TIF
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\BONUS.TIF
  assets\Local\SNV82438m.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\SNV82438m.JPG
  assets\Local\SNV82502.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\SNV82502.JPG
  assets\Local\SNV82567ALLERLEI.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\SNV82567ALLERLEI.JPG
  assets\Local\backround1.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\backround1.png
  assets\Local\bbonus.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\bbonus.PNG
  assets\Local\blank.mov
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\blank.mov
  assets\Local\button.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\button.PNG
  assets\Local\button1.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\button1.PNG
  assets\Local\hnr_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\hnr_icon.png
  assets\Local\icon.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\icon.PNG
  assets\Local\nuss.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\nuss.JPG
  assets\Local\nussmicheliconiiii.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\nussmicheliconiiii.PNG
  assets\Local\obererteil.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\obererteil.PNG
  assets\Local\obererteil1.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\obererteil1.PNG
  assets\Local\vvpict_2_3_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_2_3_1
  assets\Local\vvpict_3_3_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_3_3_1
  assets\Local\vvpict_4_1_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_1_1
  assets\Local\vvpict_4_1_2
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_1_2
  assets\Local\vvpict_4_1_3
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_1_3
  assets\Local\vvpict_4_1_4
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_1_4
  assets\Local\vvpict_4_1_5
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_1_5
  assets\Local\vvpict_4_1_6
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_1_6
  assets\Local\vvpict_4_3_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_4_3_1
  assets\Local\vvpict_5_1_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\vvpict_5_1_1
  assets\Pictures\2011-03-11 14.48.49.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\2011-03-11 14.48.49.jpg
  assets\Pictures\2011-06-14 15.53.28.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\2011-06-14 15.53.28.jpg
  assets\Pictures\BONUS.TIF
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\BONUS.TIF
  assets\Pictures\SNV82438m.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\SNV82438m.JPG
  assets\Pictures\SNV82502.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\SNV82502.JPG
Repackaging..
  assets\Pictures\SNV82567ALLERLEI.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\SNV82567ALLERLEI.JPG
  assets\Pictures\backround1.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\backround1.png
  assets\Pictures\bbonus.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\bbonus.PNG
  assets\Pictures\button.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\button.PNG
  assets\Pictures\button1.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\button1.PNG
  assets\Pictures\nuss.JPG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\nuss.JPG
  assets\Pictures\nussmicheliconiiii.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\nussmicheliconiiii.PNG
  assets\Pictures\obererteil.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\obererteil.PNG
  assets\Pictures\obererteil1.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\obererteil1.PNG
  assets\Pictures\vvpict_2_3_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_2_3_1
  assets\Pictures\vvpict_3_3_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_3_3_1
  assets\Pictures\vvpict_4_1_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_1_1
  assets\Pictures\vvpict_4_1_2
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_1_2
  assets\Pictures\vvpict_4_1_3
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_1_3
  assets\Pictures\vvpict_4_1_4
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_1_4
  assets\Pictures\vvpict_4_1_5
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_1_5
  assets\Pictures\vvpict_4_1_6
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_1_6
  assets\Pictures\vvpict_4_3_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_4_3_1
  assets\Pictures\vvpict_5_1_1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Pictures\vvpict_5_1_1
  assets\black800x600.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\black800x600.jpg
  assets\hnr_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\hnr_icon.png
  assets\icon.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\icon.PNG
  assets\splash.jpg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\splash.jpg
  assets\stack.stk
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\stack.stk
  assets\test1.txt
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\test1.txt
  assets\zz589x4_beep1.ogg
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.ogg
  assets\zz589x4_beep1.wav
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.wav
  assets\zz589x4_btn_check_off.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off.png
  assets\zz589x4_btn_check_off_disable.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off_disable.png
  assets\zz589x4_btn_check_on.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on.png
  assets\zz589x4_btn_check_on_disable.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_disable.png
  assets\zz589x4_btn_check_on_pressed.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_pressed.png
  assets\zz589x4_btn_radio_off.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_off.png
  assets\zz589x4_btn_rad
Repackaging.. io_on.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on.png
  assets\zz589x4_btn_radio_on_pressed.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on_pressed.png
  assets\zz589x4_btn_square_disabled.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_disabled.png
  assets\zz589x4_btn_square_normal.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_normal.png
  assets\zz589x4_btn_square_pressed.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_pressed.png
  assets\zz589x4_cursor1.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_cursor1.png
  drawable\hnr_icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
  drawable\icon.png
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
  drawable\notification_icon.PNG
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.PNG
  layout\card.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
  layout\main.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
  layout\menu.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml
  layout\settings.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
  layout\splash.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
  raw\testh1
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
  values\integers.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
  values\strings.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\strings.xml
  AndroidManifest.xml
    Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml

Resource Dirs:
  Type drawable
    drawable\hnr_icon.png
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
    drawable\icon.png
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
    drawable\notification_icon.PNG
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.PNG
  Type layout
    layout\card.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
    layout\main.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
    layout\menu.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml
    layout\settings.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
    layout\splash.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
  Type raw
    raw\testh1
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
  Type values
    values\integers.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
    values\strings.xml
      Src: () C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\strings.xml
Including resources from package: C:\Program Files (x86)\android-sdk-windows\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
Processing image: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
    (processed image C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png: 98% size of source)
Processing image: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
 
Repackaging..    (processed image C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\d
Repackaging.. rawable\icon.png: 94% 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 C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.PNG)
    (new resource id card from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml)
    (new resource id main from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml)
    (new resource id menu from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml)
    (new resource id settings from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml)
    (new resource id splash from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml)
    (new resource id testh1 from C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1)
    (skipping index file 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Thumbs.db')
    (skipping index file 'C:\Users\x\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.
C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml:2: error: Error: Float types not allowed (at 'versionCode' with value '1.311850e+9').


  DONE
PH_5 Android BuildAPK.....
Rebuild Data
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>apkbuilder "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Nuss Michel.apk" -u -z "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Nuss Michel.ap_" -f "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\classes.dex"

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

java.io.FileNotFoundException: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Nuss Michel.ap_ does not exist


  DONE
PH_6 Android_SignAPK .....TYPE:---   debug.keystore
Debug Key
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -keystore "C:\Users\x\AppData\Roaming\HAC_Data\data\debug.keystore" "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Nuss Michel.apk" androiddebugkey

Debug Key Enter Passphrase for keystore: jarsigner: unable to open jar file: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Nuss Michel.apk

Debug Data
  DONE
PH_7 Android_SignVerifyAPK .....-
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -verify  "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Nuss Michel.apk"
-
-jarsigner: java.util.zip.ZipException: error in opening zip file
-
shell jar verify failed





Quote
Also, some things to check - do the following look okay from the Android menu?

- Your Application (perhaps a missing icon)
- Android Paths - (all ticked green)
- Android Key

all fine, i did not changed anything before, as i said, it works all fine, suddenly it doesn´t work.


nussmichel

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 287
Re: java error
« Reply #4 on: April 23, 2012, 05:08:14 PM »
Hi

Many thanks for all this.

In your second log listing - an error shows up - something to do with the version number of your app - it says floating point is not allowed - not sure if it is a bug in HAC or with an invalid version number

here is that section and the subsequent build failure:-
--------------------------------
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml:2: error: Error: Float types not allowed (at 'versionCode' with value '1.311850e+9').

  DONE
PH_5 Android BuildAPK.....
Rebuild Data
C:\Users\x\workspace\HAC\Nuss Michel>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>apkbuilder "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Nuss Michel.apk" -u -z "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Nuss Michel.ap_" -f "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\classes.dex"

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

java.io.FileNotFoundException: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Nuss Michel.ap_ does not exist
-----------------------------------

Perhaps you can see a problem with the version number in Your Application window, perhaps HAC has corrupted it or it is no longer an integer-

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.

nussmichel

  • Newbie
  • *
  • Posts: 25
Re: java error
« Reply #5 on: April 23, 2012, 05:33:45 PM »
ok, it works. :)

but hello word still does not.

and i have a test game, it doesen´t work either.
maybe the test game doesent work because i´ve set the screen 480:320 in order to have a landscape look (?)

Here the log:


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\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\test 2.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.test2
Repackaging..
C:\Users\x\workspace\HAC\test 2>cd "C:\Program Files (x86)\android-sdk-windows\platform-tools\"

C:\Program Files (x86)\android-sdk-windows\platform-tools>aapt package -f -v --version-code 1 -M "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\test 2.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.test2
Found 70 custom asset files in C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets
    (skipping index file 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Thumbs.db')
    (skipping index file 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\Thumbs.db')
C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\grün.JPG: error: Invalid filename.  Unable to add.


  DONE
PH_5 Android BuildAPK.....
Rebuild Data
C:\Users\x\workspace\HAC\test 2>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

C:\Program Files (x86)\android-sdk-windows\tools>apkbuilder "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\test 2.apk" -u -z "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\test 2.ap_" -f "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\classes.dex"

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

java.io.FileNotFoundException: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\test 2.ap_ does not exist


  DONE
PH_6 Android_SignAPK .....TYPE:---   debug.keystore
Debug Key
C:\Users\x\workspace\HAC\test 2>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -keystore "C:\Users\x\AppData\Roaming\HAC_Data\data\debug.keystore" "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\test 2.apk" androiddebugkey

Debug Key Enter Passphrase for keystore: jarsigner: unable to open jar file: C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\test 2.apk

Debug Data
  DONE
PH_7 Android_SignVerifyAPK .....-
C:\Users\x\workspace\HAC\test 2>cd "C:\Program Files (x86)\Java\jdk1.6.0_31\bin\"

C:\Program Files (x86)\Java\jdk1.6.0_31\bin>jarsigner -J-Duser.language=en -verify  "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\test 2.apk"
-
-jarsigner: java.util.zip.ZipException: error in opening zip file
-
shell jar verify failed


nussmichel

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 287
Re: java error
« Reply #6 on: April 23, 2012, 06:37:27 PM »
Thanks again.

In the log listing i can see an invalid image file name:-  grün.JPG


C:\Program Files (x86)\android-sdk-windows\platform-tools>aapt package -f -v --version-code 1 -M "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Program Files (x86)\android-sdk-windows\platforms\android-9\android.jar" -0 stk -F "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\test 2.ap_" -A "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.test2
Found 70 custom asset files in C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets
    (skipping index file 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Thumbs.db')
    (skipping index file 'C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\Thumbs.db')
C:\Users\x\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\grün.JPG: error: Invalid filename.  Unable to add.
  DONE
PH_5 Android BuildAPK.....
Rebuild Data
C:\Users\x\workspace\HAC\test 2>cd "C:\Program Files (x86)\android-sdk-windows\tools\"

 

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.

nussmichel

  • Newbie
  • *
  • Posts: 25
Re: java error
« Reply #7 on: April 23, 2012, 07:01:22 PM »
ah you mean due the letter "ü" right? that could be.

nussmichel

  • Newbie
  • *
  • Posts: 25
Re: java error
« Reply #8 on: April 23, 2012, 07:14:26 PM »
INDEED  ;D ;D ;D ;D (damn little mistakes, thanks for your patience)

Malkom

  • Administrator
  • Sr. Member
  • *****
  • Posts: 287
Re: java error
« Reply #9 on: April 23, 2012, 08:28:23 PM »
thats such a relief  :)

Sometime though we'll have to make HAC better at pointing these problems out.
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.

 

anything