Have installed Java 6.0 , Android SDK, Apple QuickTime according to instructions for installing Hypernext. HyperNext paths are also set up according to instructions. Emulator set up and driver to actual device installed successfully Have tried installation on two different PC's running Win7 64bit. When building app error messages as shown below occurs (full log at end)
java.io.FileNotFoundException: C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Tenerife.ap_ does not exist
Debug Key Enter Passphrase for keystore: jarsigner: unable to open jar file: C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Tenerife.apk
-jarsigner: java.util.zip.ZipException: error in opening zip file
-
shell jar verify failed
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\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Android\android-sdk\platforms\android-9\android.jar" -0 stk -F "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Tenerife.ap_" -A "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.Tenerife
Repackaging..
C:\Data\HyperNext\Tenerife>cd "C:\Android\android-sdk\platform-tools\"
C:\Android\android-sdk\platform-tools>aapt package -f -v --version-code 1 -M "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml" -I "C:\Android\android-sdk\platforms\android-9\android.jar" -0 stk -F "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Tenerife.ap_" -A "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets" -S "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res" --rename-manifest-package org.Tenerife
Found 24 custom asset files in C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets
Configurations:
(default)
Files:
assets\Local\IMG_3672.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\IMG_3672.jpg
assets\Local\blank.mov
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\blank.mov
assets\Local\hnr_icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\hnr_icon.jpg
assets\Local\icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\Local\icon.jpg
assets\black800x600.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\black800x600.jpg
assets\hnr_icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\hnr_icon.jpg
assets\icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\icon.jpg
assets\splash.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\splash.jpg
assets\stack.stk
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\stack.stk
assets\test1.txt
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\test1.txt
assets\zz589x4_beep1.ogg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.ogg
assets\zz589x4_beep1.wav
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_beep1.wav
assets\zz589x4_btn_check_off.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off.png
assets\zz589x4_btn_check_off_disable.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_off_disable.png
assets\zz589x4_btn_check_on.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on.png
assets\zz589x4_btn_check_on_disable.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_disable.png
assets\zz589x4_btn_check_on_pressed.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_check_on_pressed.png
assets\zz589x4_btn_radio_off.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_off.png
assets\zz589x4_btn_radio_on.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on.png
assets\zz589x4_btn_radio_on_pressed.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_radio_on_pressed.png
assets\zz589x4_btn_square_disabled.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_disabled.png
assets\zz589x4_btn_square_normal.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_normal.png
assets\zz589x4_btn_square_pressed.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_btn_square_pressed.png
assets\zz589x4_cursor1.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\assets\zz589x4_cursor1.png
drawable\hnr_icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.jpg
drawable\hnr_icon.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
drawable\icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.jpg
drawable\icon.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
drawable\notification_icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.jpg
layout\card.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
layout\main.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
layout\menu.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_D
Repackaging.. ata\data\HN_Runtime\res\layout\menu.xml
layout\settings.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
layout\splash.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
raw\testh1
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
values\integers.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
values\strings.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\strings.xml
AndroidManifest.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\AndroidManifest.xml
Resource Dirs:
Type drawable
drawable\hnr_icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.jpg
drawable\hnr_icon.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
drawable\icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.jpg
drawable\icon.png
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
drawable\notification_icon.jpg
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.jpg
Type layout
layout\card.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml
layout\main.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml
layout\menu.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml
layout\settings.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml
layout\splash.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml
Type raw
raw\testh1
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\raw\testh1
Type values
values\integers.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\integers.xml
values\strings.xml
Src: () C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\values\strings.xml
Including resources from package: C:\Android\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
Processing image: C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png
Processing image: C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png
(processed image C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.png: 95% size of source)
(processed image C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.png: 97% size of source)
(new resource id hnr_icon from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\hnr_icon.jpg)
(new resource id hnr_icon from drawable\hnr_icon.png #generated)
(new resource id icon from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\icon.jpg)
(new resource id icon from drawable\icon.png #generated)
(new resource id notification_icon from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\drawable\notification_icon.jpg)
(new resource id card from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\card.xml)
(new resource id main from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\main.xml)
(new resource id menu from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\menu.xml)
(new resource id settings from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\settings.xml)
(new resource id splash from C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\res\layout\splash.xml)
Repackaging..
(new resource id testh1 from C:\Users\Emma\AppData\Roaming\HAC
Repackaging.. _Data\data\HN_Runtime\res\raw\testh1)
Warning: AndroidManifest.xml already defines versionCode (in
http://schemas.android.com/apk/res/android); using existing value in manifest.
res\drawable\hnr_icon.png:0: error: Resource entry hnr_icon is already defined.
res\drawable\hnr_icon.jpg:0: Originally defined here.
res\drawable\icon.png:0: error: Resource entry icon is already defined.
res\drawable\icon.jpg:0: Originally defined here.
DONE
PH_5 Android BuildAPK.....
Rebuild Data
C:\Data\HyperNext\Tenerife>cd "C:\Android\android-sdk\tools\tools\"
C:\Android\android-sdk\tools\tools>apkbuilder "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Tenerife.apk" -u -z "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Tenerife.ap_" -f "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\classes.dex"
Rebuild Data
THIS TOOL IS DEPRECATED. See --help for more information.
Rebuild Data java.io.FileNotFoundException: C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\bin\Tenerife.ap_ does not exist
DONE
PH_6 Android_SignAPK .....TYPE:--- debug.keystore
Debug Key
C:\Data\HyperNext\Tenerife>cd "C:\Program Files (x86)\Java\jdk1.6.0_33\bin\"
C:\Program Files (x86)\Java\jdk1.6.0_33\bin>jarsigner -J-Duser.language=en -keystore "C:\Users\Emma\AppData\Roaming\HAC_Data\data\debug.keystore" "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Tenerife.apk" androiddebugkey
Debug Key Enter Passphrase for keystore: jarsigner: unable to open jar file: C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Tenerife.apk
Debug Data
DONE
PH_7 Android_SignVerifyAPK .....-
C:\Data\HyperNext\Tenerife>cd "C:\Program Files (x86)\Java\jdk1.6.0_33\bin\"
C:\Program Files (x86)\Java\jdk1.6.0_33\bin>jarsigner -J-Duser.language=en -verify "C:\Users\Emma\AppData\Roaming\HAC_Data\data\HN_Runtime\dist\Tenerife.apk"
-
-jarsigner: java.util.zip.ZipException: error in opening zip file
-
shell jar verify failed