Hey Pea.
I'm loving the easy to use layout but I'm encountering a problem when I deploy my app.
The white output box seems to show that everything went fine:
Deploying for iOS
check AIR SDK path: ok
check Java JRE path: ok
check swf path: ok
check password specified: ok
creating output folder (ios)
copy starcraft2soundboard.swf
copy Default-Portrait~iphone.png
creating app descriptor XML
save starcraft2soundboard-app.xml
create build.bat
run build.bat
but the cmd output box ends with
ADT does not support 64bit java for IPA targets
C:\FilePath\ios>set /p dummy=
Using Windows 7 Pro 64bit.
Installed Air SDK 2.6. (Maybe I need a 64bit SDK? But I can't find any if that is the case)
Installed JRE 64bit
I also had the "Use Java (adt.ar)" tick box checked.
I had the same issue - try installing the 32 bit JRE and pointing the tool at that.
http://www.oracle.com/technetwork/java/javase/install-windows-141940.h tml
Yeah, sorry guys - not sure if this is a problem with the ADT Helper tool, or with the ADT?
Have either of you managed to get the ADT to work (on the command line) prior to using the tool?
If so, what was the command that you used to make it work? Or did you have to use 32bit Java then, too?
Hi Pea, first of all props to the program, it looks and feels great! )
I followed install instructions for both ADT and ADTHelper, I've entered everything needed to Deploy to iOS but I've stumbled on an error during the deployment in cmd.
Error: could not load keystore file (password may be incorrect)
I was searching for a solution, some say it should be compiled in a bin folder, but I've been trying so far with no success, and for password I'm sure I'm entering the right one D:
I installed both 64 and 32 bit java, played with them; 64 bit wont compile, 32bit shows this error and without Java cmd just closes by itself. I have Windows 7 64bit installed.
Anyway, if any of you could shed some light I would be thankful; I'm new to AIR 2.6 because I didn't want to update prior to a program such as this being released )
Thanks in advance and once again thanks for the great program Pea )
Sasha Agafonoff wrote:
I had the same issue - try installing the 32 bit JRE and pointing the tool at that.
http://www.oracle.com/technetwork/java/javase/install-windows-141940.h tml
Thanks Sasha Agafonoff. That actually seemed to work a bit better but now created a different error which funnily enough, is the exact same error I recieve when I try exporting using Adobe CS5 packager.
This error which appears in both instances is:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
As this happens to the Adobe Packager it's safe to say this isn't a one off bug caused by your compiler Pea, but instead something to do with Java on my machine.
Any Ideas anyone?
Yes, I have managed to get an IPA file with both ADT from batch/command and with ADT Helper Tool (still facing a range of issues with the end results from both, but that's off topic).
You definitely need to use 32-bit Java - if you try to run ADT with 64 bit Java, you just get an "ADT does not support 64bit Java for IPA targets" message. So, for clarity, my batch includes the full path to 32bit Java as follows:
"C:\Program Files (x86)\Java\jre6\bin\java" -jar "C:\AdobeAIRSDK2.6\lib\adt.jar" -package ...etc
Side comment: I've noticed with the ADT Helper Tool that it's sensitive to spaces (yes, I had some folders and files with spaces in them) - these might be causing a few issues once people get passed the Java issue...
Hi Timothy,
The command 'set /p dummy=' is only in the file to ensure that the DOS window doesn't close and so gives you time to read any errors!
All this command does is ask for user input (just hit return) and puts that input in the variable 'dummy'.
If there are no errors above this line in the window, then you should have a nice IPA file in the 'ios' folder.
However it sounds like you might have an error above this line somewhere?
Regards,
Peter
Thanks for the reply Pea, cool didnt know that... but It still doesn't create a .IPA file ![]()
here is what my DOS window says:
http://pastie.org/pastes/1805885/text
Thanks ![]()
There are a couple of things that seem odd in your text:
-storepass 65789 -provisioning-profile C:\
Program Files (x86)\Adobe\Adobe Flash CS5\AIK2.0\bin\TImothy_Logue_Provision_.mo
bileprovision test.ipa test-app.xml test.swf icons
password:
Normally you only get asked the password if you left out the -storepass part. Also, did you really name your provisioning file with a capital i as the second letter?
This is the problem I am having too!
It asked me for the password again in the terminal EVEN THOUGH I have already placed it in the dialog.
When I do enter the password AGAIN and pressed enter, the terminal quickly displayed many lines and DISAPPEARS!
I was like WHAT!!!???
I tried not putting in the password and wait thinking that it was compiling.
I felt so stupid trying to make it work ![]()
Hi Pea,
I too getting the same error.
i) The password is already in the batchfile then why again asking for a password?
ii) If the password typed again, it returns the error as they mentioned
iii) How do we know the progress running in the background that creates IPA?
iv) I never get the IPA in the ios folder
v) I'm not able to attach my external sound and xml files (not yet developed?)
Otherwise the tool is nice and looking friendly.
Oops! Its working now. Guys, here a tip for all and pea should take care of this too while using the browse button.
Some of them are getting worried about not creating the ipa and password error. Please check whether your path of the folder contain any space otherwise it shows the error of the password.
And Pea, Is it possible to validate the space error when browsed the path? Hope its possible and its very easy for everybody to select the path even it having the space.
Now I'm waiting for the tool to support my additional files to add! WHEN! WHEN! WHEN!
Ok, in order to remove all possible traces of spaces in all the files I use, I port everything to pure C Drive.
Now there is a new error: "iTunesArtwork-app.xml: error 304: Initial window contend is invalid"
[Correction, I've fixed the problem, turns out there is a bug in the program for the time being, when everytime you select the 512 by 512 artwork, the path of the swf change to the image file name :(]
Thanks for the dialog!
Now we can use 2.6! Thanks!!!!
Ah I see! So it's spaces in the path to the provisioning profile and the p12 causing the issues.
Easy fix. I'll also enable external files. I'll need to do this tomorrow as I'm not at work at the moment (evening here in New Zealand).
@relaxatraja - do you know if external files need to be in teh same folder as the generated IPA, or if they can be referenced anywhere on the drive?
Hi Pea,
The adobe packager turn it into the folders within that ipa and I mentioning the files within the ipa and not from the external one from server. For server you dont need to compile the folders here we just refer that by code. So the only thing is to packaging the ipa with the folders. I mean when you extract the files from the ipa the folders should be there. Hope you clear!
I'm from India and you can take your own time, here its Evening ![]()
Note: you should not remove the spaces in the browsed path, instead the script should access the specified path from the OS even have space.
May I know what was the software you developing the GUI and the code?
You are right Colin Holgate, turning OFF GPU does the trick.
But now the whole application, without the help of the CPU turns into slow-mo.
So...using 26 SDK, we gain new APIs, Multitask, but lose the usage of the GPU.
I felt that we are moving backward as the main problem of the IOS Packager IS SPEED.
![]()
But atleast I will have a lot of fun with the new API in a slower application ![]()
@Dei Machiavelli - I think you have got it slightly wrong:
So...using 2.6 SDK, we gain new APIs, Multitask, but lose the usage of the filters GPU.
I felt that we are moving backward as the main problem of the IOS Packager IS SPEED.
But you are right - the main problem of the packager was speed, and filters are a huge performance hit. So the best thing you can do for your app is to not use them. This would give the biggest performance increase ![]()
Not to mention that if you DID use the GPU, the vector output for those sprites with cacheAsBitmap and cacheAsBimapMatrix enabled is HORRIBLE, like "In your FACE" jagged!
Try it ! Create a Circle or Round Rectangle, make a class out of them and in the constructor enable cacheAsBitmap and cacheAsBitmapMaxtrix = new Matrix().
Look at how the GPU totally fail in your face!
I love the new APIs, so I will be more then happy to use CPU for now, I am still a happy man ![]()
The whole way that things work was changed to match how it was done with Android. The end result is that you can set the stage quality to any of the normal settings, with the old packager you got antialiasing ok, but it was always sort of medium quality. Now you can have it look horrible or great.
I see !
So in the old Packager we have NO control over the quality and now we do !
I would gladly add one more extra line to my normal coding now ![]()
Yeah!
[Edit:
Could I use
stage.quality = StageQuality.BEST;
or this constant is not part of the new SDK Android focus version ?
?
]
Hi Pea,
Why not replying to my post above still? Without the attachments and the space issue still its an incompleted tool, Am I right?. Becoz not only users going to develop their project within a single flash file, there are more than that adding external files, sounds, images, videos etc. Pure programmers not going to develop their files within a single file and publish with the tool given here. So please make it an complete tool, still the tool is great.
Don't be so harsh relaxatraja ![]()
Remember, Pea is doing this out of his own free time, he has chosen to share his work with us, he don't do it so that we can suddenly start demanding him to "work for us" or that he have to answer to us.
Give him some time ![]()
He has already done something that have help most of us here already ![]()
North America
Europe, Middle East and Africa
Asia Pacific