View unanswered posts | View active topics


Reply to topic  [ 7 posts ] 
Air 3.4 Beta and Direct AIR Deployment using ADT 
Author Message
Member

Joined: Wed Jun 27, 2012 10:44 am
Posts: 15
Post Air 3.4 Beta and Direct AIR Deployment using ADT
I suppose most of you saw the news:
http://www.bytearray.org/?p=4516
The 3.4 Beta release of AIR brings a few interresting new features.
I Knew workers were on the way, but the iOS Notification support and direct deployment features are very welcome.

Until Flashdevelop updates with those new features, and following some instructions from there, I updated the ios-package section of the Run.bat file to this:

Code:
set PLATFORM=ios
call bat\Packager.bat

echo Installing %OUTPUT% on the device...
echo.
adt -installApp -platform ios -device f084**********************4455d -package %OUTPUT%


Where the f084**********************4455d ( of course the stars are replacing some real characters ) is the result of the number found throw the adt -devices -platform ios command

But I get this result: Invalid <device> specified

Has anybody else tried the new SDK, and can confirm there is a problem, or correct me?

Thank you.


Tue Jul 17, 2012 9:56 am
Profile
Member

Joined: Wed Jan 04, 2006 2:23 am
Posts: 21
Post Re: Air 3.4 Beta and Direct AIR Deployment using ADT
Reading the release notes suggest that you can omit the device property if you've only got one iOS device connected. Have you tried that?


Tue Jul 17, 2012 11:14 am
Profile
Member

Joined: Wed Jun 27, 2012 10:44 am
Posts: 15
Post Re: Air 3.4 Beta and Direct AIR Deployment using ADT
Hey, you are right.
I should have read more carefully.
Thanks a lot.

Still looks like an issue, though.
It shouldn't affect many people but still...

For those wondering, the application doesn't launch, it is just updated, you still need one click to launch it.
It is stopped properly if you upload a new version while it is still running on the device.
And the on air debugger works like a charm, with stack locals and such.


Tue Jul 17, 2012 11:39 am
Profile
Member

Joined: Wed Jan 04, 2006 2:23 am
Posts: 21
Post Re: Air 3.4 Beta and Direct AIR Deployment using ADT
Do you mind giving a bit more detail about how you're getting the debugging to work within FlashDevelop?

I had to set up an Ant script that then calls a .bat file to start the fdb.exe and listen to port 7936. I also needed to run idb.exe and have it forward from port 7936 on the device to the same port on my machine.


Tue Jul 17, 2012 2:10 pm
Profile
Member

Joined: Wed Jun 27, 2012 10:44 am
Posts: 15
Post Re: Air 3.4 Beta and Direct AIR Deployment using ADT
This port is for USB debugging, right?
I tried it a while ago with FlashDevelop although it was claimed not supported.
I never got it to work, would it be with Android or iOS.

Have you read it should work now?

What I use is debugging throw wifi (that's what I called "on air", sorry it wasn't clear).
Just in case you wouldn't know (I doubt so...):
- Go to SetupApplication.bat and setup the DEBUG_IP with your current IP.
- When you run your Flashdevelop project, it launches a remote debugging session and waits for your application to connect back.
- If it doesn't connect, check your firewall.


Tue Jul 17, 2012 4:08 pm
Profile
Member

Joined: Thu Oct 28, 2010 8:25 am
Posts: 2
Post Re: Air 3.4 Beta and Direct AIR Deployment using ADT
Has anyone figured out how that works properly yet?
I keep getting the same error:
[exec] Installation Error: ApplicationVerificationFailed.

Any idea?


Mon Jul 23, 2012 11:06 am
Profile
Member

Joined: Wed Jun 27, 2012 10:44 am
Posts: 15
Post Re: Air 3.4 Beta and Direct AIR Deployment using ADT
Well, this doesn't look like it matches the problem I had.
When you try throw iTunes, does it work?


Mon Jul 23, 2012 3:13 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.