lmahdi / in-app-purchase-air-ios

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

Error at Export release build #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create new ActionScript MobileProject.
   And, add AS.swc and appPurchase.ane in ActionScript Build path.

2. Copy the functions in UsageSample. and paste to my project's main.as.
   course, the functions rewrite to form ActionScript MobileProject.

3. Try Export release build. I can't build by error.

What is the expected output? What do you see instead?
expected output is "○○○.ipa".
but Error below.

//////////////////////////////
Exception in thread  "main"
//////////////////////////////

What version of the product are you using? On what operating system?

Version is Prefixed.
Flash builder4.6
OS:Windows 7

Please provide any additional information below.

I'm Japanese. English is poor. sorry. sorry. sorry.

Original issue reported on code.google.com by coppe...@gmail.com on 2 Dec 2011 at 6:58

GoogleCodeExporter commented 8 years ago
Hi Coppepam:

I Strongly recommend you read the Wiki and existing issues. They will resolve 
your problems. You can not build ipa from within IDE if you are on FB 4.5.X and 
use native extensions.

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

GoogleCodeExporter commented 8 years ago
Hi saumita:

I use FB4.6.
but I pore over Wiki. 

Thank you!

Original comment by coppe...@gmail.com on 3 Dec 2011 at 7:53

GoogleCodeExporter commented 8 years ago
I am also using FB4.6 but cannot able to export release build.

Original comment by jai.jais...@teks.co.in on 5 Dec 2011 at 6:47

GoogleCodeExporter commented 8 years ago
This is the screenshot of these problem.

Original comment by jai.jais...@teks.co.in on 5 Dec 2011 at 6:59

Attachments:

GoogleCodeExporter commented 8 years ago
Hi jai.jais!

I can't export release build yet.
But I might be able to help you.

Is your problem the gray line in the screenshot?

"Does not support AIR simulator"
It means that the ANE don't work simulator on PC.
The ANE can work on iOS Devices.

...maybe....

Original comment by coppe...@gmail.com on 5 Dec 2011 at 8:31

GoogleCodeExporter commented 8 years ago
yeah I knew that but on device I am getting this error log:-

Here is the error log:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at com.adobe.nativeExtensions::AppPurchase()[/Users/airqe/work/Repos/in-app-purchase-air-ios/branches/v1/AS/src/com/adobe/nativeExtensions/AppPurchase.as:21]
    at com.adobe.nativeExtensions::AppPurchase$/get manager()[/Users/airqe/work/Repos/in-app-purchase-air-ios/branches/v1/AS/src/com/adobe/nativeExtensions/AppPurchase.as:30]
    at com.lisieremedia.inapppurchasestest::InAppPurchasesTest/initInAppPurchasesIOS()[C:\LisiereDev\Common\research\InAppPurchasesTest\as\com\lisieremedia\inapppurchasestest\InAppPurchasesTest.as:38]
    at com.lisieremedia.inapppurchasestest::InAppPurchasesTest()[C:\LisiereDev\Common\research\InAppPurchasesTest\as\com\lisieremedia\inapppurchasestest\InAppPurchasesTest.as:32]
    at runtime::ContentPlayer/loadInitialContent()
    at runtime::ContentPlayer/playRawContent()
    at runtime::ContentPlayer/playContent()
    at runtime::AppRunner/run()
    at ADLAppEntry/run()
    at global/runtime::ADLEntry()

Original comment by jai.jais...@teks.co.in on 5 Dec 2011 at 9:12

GoogleCodeExporter commented 8 years ago
I have seen this error.
But I don't remember how to resolve this problem....

Did you write <extensionID> on your-app.xml?
And, Check project's property whether "appPurchase.ane" is added.

Original comment by coppe...@gmail.com on 11 Dec 2011 at 12:32

GoogleCodeExporter commented 8 years ago
has anyone resolved this issue? I am having the same problem regarding android.

Original comment by brianker...@gmail.com on 22 Jan 2012 at 9:42

GoogleCodeExporter commented 8 years ago
Just came across this problem. Make sure you include the following somewhere in 
your application descriptor file (the AIR xml file):

<extensions>
    <extensionID>com.adobe.appPurchase</extensionID> 
</extensions>

Original comment by dma...@zabustudio.com on 27 Feb 2012 at 11:23

GoogleCodeExporter commented 8 years ago
I cannot export release build either.
I am using FB4.6, on Mac.

Testing/Debugging creates ipa, and successfully installed on device.
However, on exporting release build, throws error (both on Final Package or Ad 
hoc package):

Original comment by sardor...@gmail.com on 20 Mar 2012 at 5:23

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I cannot export release build either.
I am using FB4.6, on Win-7

Testing/Debugging creates ipa, and successfully installed on device.
However, on exporting release build, throws error (both on Final Package or Ad 
hoc package):

Original comment by sunil...@gmail.com on 19 Jan 2013 at 9:08

Attachments: