Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
BlackBerry Development Advisor
Posts: 15,697
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

I don't recommend adding a release you haven't tested.

 

What error are you seeing with the signed build?  

 

You mentioned you see this with a basic sample.  Could you provide a link and/or attach the APK and BAR file for the sample that is giving you errors (signed release build).

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 29
Registered: ‎12-28-2012
My Device: 9199
My Carrier: 962334234

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

[ Edited ]

Thank you for the prompt reply.

 

"What error are you seeing with the signed build?"

It's the same error: Unfortunally, "my app name" has stopped.

 

"You mentioned you see this with a basic sample.  Could you provide a link and/or attach the APK and BAR file for the sample that is giving you errors (signed release build)."

I will give more than that. You can find on this link a zip file with the following items: APK, BAR, WRN (warnings from the BB packager) and FXP (the FB 4.7 source code of the very basic sample Hello World).

 

Thank you,

Hugo.

BlackBerry Development Advisor
Posts: 15,697
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

Thank you for the link.  I'm seeing the same behaviour as you in the simulator, but the BAR file is working correctly on a real device.  I'm looking into this further and will report back.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 29
Registered: ‎12-28-2012
My Device: 9199
My Carrier: 962334234

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

Thank you very much.

 

On my honest opinion and for the time that I already invest on this, no one (from AIR-BAR file to AIR-APK-BAR) are testing on the emulator !

 

I'm looking forward for a fix about the emulator or workaround.

BlackBerry Development Advisor
Posts: 15,697
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

I was mistaken in my previous message.  BlackBerry OS 10.2.1 higher supports the Adobe AIR Captive Runtime for Android, but this is supported on devices only, not the simulator.  From Adobe's ADT Help page:

 


 

  • apk‑captive‑runtime — an Android package that includes both the application and a captive version of the AIR runtime. A package produced with this target can only be installed on an Android device, not an emulator.


 

Appologies for the time spent troubleshooting this.  I will contact you directly for information on an alternative method for testing.

 

 

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 29
Registered: ‎12-28-2012
My Device: 9199
My Carrier: 962334234

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

Thank you MShom,

 

I already replied on the private message.

New Contributor
Posts: 4
Registered: ‎04-15-2014
My Device: *
My Carrier: *

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

So there is not option to test Adobe AIR apps without physical device? Smiley Sad

I've just spend hours with installing all these simulators, SDKs, creating bar files etc. and now I read in some second page of this forum that IT WON'T WORK? WTF?

 

Btw. same issue here:

clipboard_201405221243.png

 

clipboard_201405221242.png

 

I think I'm done here... :-/

Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR


ZwickTheGreat wrote:

So there is not option to test Adobe AIR apps without physical device? Smiley Sad

 


Correct.

 

Any AIR-Android apps require a physical device running OS 10.2.1 or higher...


Read my thoughts on BlackBerry Development at news.ebscer.com
Contributor
Posts: 15
Registered: ‎08-05-2013
My Device: Simulator
My Carrier: Telekom

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

Thanks for reporting the issue. I started converting a week ago and gave up because of this problem. So it is safe to assume that my app will work and I should just upload it without testing it on the simulator? I too do not have access to a physical device.

 

Best,

Ruben

Developer
Posts: 1,251
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: Fail to convert Android AIR APK to BB10 AIR APK-BAR

You might consider emailing developer support to see if it's possible for them to send you a test device.  I don't know what their criteria are for sending one, but it would not hurt to ask.