dimanche 25 mai 2014

building andorid app failes

Hi

I have tried to build an android app for 2 weeks now without success

What every I try I get following error

Code:



jarsigner: Certificate chain not found for: EmptyValue. EmptyValue must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
""C:/Users/max/AppData/Local/Android/android-sdk\tools\android" create project --target android-19 --name SmsTid --activity STActivity --path "C:\ws\ws\smstid\www\mobile7\mobile/build/native-package-mobile/SmsTid/packager.json\/" --package se.smstid.mobile"
Could not sign application with error: 1
Failed to package application


[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: stbuild exited with non-zero code : 7
[ERR] at

The command is a mix of forward and backward slashes

If I copy the command and make all backaward slahes and run it from commandline it works


Code:



C:\Users\max\AppData\Local\Android\android-sdk\tools\android" create project --target android-19 --name SmsTid --activity STActivity --path "C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json" --package se.smstid.mobile"


Code:



c:\ws\ws\smstid\www\mobile7>C:\Users\max\AppData\Local\Android\android-sdk\tools\android create project --target android-19 --name SmsTid --activity STActivity --path "C:/ws/ws/smstid/www/mobile7/mobi
le/build/native-package-mobile/SmsTid/packager.json\/" --package se.smstid.mobile
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\src\se\smstid\mobile
Added file C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\src\se\smstid\mobile\STActivity.java
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\bin
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\libs
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\values
Added file C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\values\strings.xml
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\layout
Added file C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\layout\main.xml
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\drawable-xhdpi
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\drawable-hdpi
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\drawable-mdpi
Created directory C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\res\drawable-ldpi
Added file C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\AndroidManifest.xml
Added file C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\build.xml
Added file C:\ws\ws\smstid\www\mobile7\mobile\build\native-package-mobile\SmsTid\packager.json\proguard-project.txt

So I have two problems

1. Architect 3 can not build android apps

2. The process for manual build is a bit unclear to be but could be a workaround

So if someone have a good solution for making Architect 3 build the android app I will be very happy





Aucun commentaire:

Enregistrer un commentaire