arts639 / in-app-purchase-air-ios

Automatically exported from code.google.com/p/in-app-purchase-air-ios
0 stars 0 forks source link

Requested extension com.adobe.appPurchase could not be found. #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have created a sample ActionScript Mobile project.
2.I have added appPurches.swc in the build path
3.I have written the exactly same code as you have given in the example.
3.Specified the extension id in MyApp-app.xml 
4. and trying to run the app and i m getting the followng error:

////Error Start////////
Process terminated without establishing connection to debugger.

The content cannot be loaded because there was a problem loading an extension: 
Error: Requested extension com.adobe.appPurchase could not be found.

Launch command details:  "C:\Program Files\Adobe\Adobe Flash Builder 
4.5\sdks\4.5.1\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash 
Builder 4.5\sdks\4.5.1\runtimes\air\win" -profile mobileDevice -screensize 
640x920:640x960 -XscreenDPI 326 -XversionPlatform IOS "C:\MyWork\Adobe Flash 
Builder 4.5\SampleExtensionApp\bin-debug\SampleExtensionApp-app.xml" 
"C:\MyWork\Adobe Flash Builder 4.5\SampleExtensionApp\bin-debug" 
/////Error END///////////

I just want to use this in-app-purchase extension in my app,

What version of the product are you using? On what operating system?
I am using Adobe Flash Builder 4.5 with Flex 4.5.1 sdk and Air 3.0 sdk.

Original issue reported on code.google.com by vickyvb...@gmail.com on 25 Nov 2011 at 2:35

GoogleCodeExporter commented 9 years ago
Same issue here, the example seems broken. The package path in the swc seems to 
be com.adobe.nativeExtensions.AppPurchase, while the id listed in the txt file 
is come.adobe.appPurchase, not sure if that's the issue.

A fix would be great! Also, can you attach a complete working project? 

Original comment by shawnbla...@gmail.com on 26 Nov 2011 at 8:40

GoogleCodeExporter commented 9 years ago
I have been banging my head against the wall with this problem as well. Some 
guidance would be much appreciated!

Original comment by kashaniz...@gmail.com on 28 Nov 2011 at 8:49

GoogleCodeExporter commented 9 years ago
So, the library does work, but only when compiled and run on the device. If you 
attempt to debug this in ADL it will blow up. Package, and deploy to the 
device, start a debug session, and you'll see that everything runs fine.

Original comment by shawnbla...@gmail.com on 28 Nov 2011 at 10:05

GoogleCodeExporter commented 9 years ago
ya, when i compiled from command line and deployed on device, it works fine..

Original comment by vickyvb...@gmail.com on 30 Nov 2011 at 2:03

GoogleCodeExporter commented 9 years ago
Hi Shawn and all other:

Thanks for reporting this issue. I will add the stubs for desktops 
ASAP.Currently the ANE works only on actual device.

"come.adobe.appPurchase" is the extension id whereas 
"com.adobe.nativeExtensions.AppPurchase" is the package(namespace) in which AS 
classes/APIs are defined these two are not related at all. Sorry for choosing 
confusing names. 

Original comment by saumitra...@gmail.com on 2 Dec 2011 at 8:15

GoogleCodeExporter commented 9 years ago
Also, when i try to generate the ipa file, either by using command line adt 
command, or from new FlashBuilder 4.6, it takes around 15min to just create an 
ipa file.
I have tried using diffrent options like ipa-test-interpreter or ipa-test, but 
still it takes around 12 min.. 

Anyone knows how to reduce compile time?

Original comment by vickyvb...@gmail.com on 2 Dec 2011 at 8:50

GoogleCodeExporter commented 9 years ago
Using FB 4.6, open your debug configuration and select "Fast Mode" it should 
compile in about 15 seconds.

Original comment by shawnbla...@gmail.com on 2 Dec 2011 at 9:08

GoogleCodeExporter commented 9 years ago
@saumitra - If you could add a stub for Android that would be excellent as 
well. My end result is a project I can compile on all devices without having to 
modify the code.

Currently including this package will blow up on Android, even though I never 
make calls on it, simple because the classes are missing... that's a bummer.

Original comment by shawnbla...@gmail.com on 2 Dec 2011 at 9:10