Updating both app and AIR
Hi,
I'm using the air update framework to update my app. However, I'd also like AIR to update itself at the same time, so my app can use new API additions, such as
System.disposeXML();
I thought the only thing I'd have to do is change the namespace, as in<application xmlns="http://ns.adobe.com/air/application/1.5.2">
I've made this change, published the new AIR file using the new sdk, and updated my update.xml file so an update would occur. But when the app attempts to update, I get the following window reporting an error:
My app.xml file looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.5.2">
<id>my id</id>
<version>1.1</version>
<filename>my filename</filename>
<description>my desc</description>
<name>my name</name>
<copyright>my copyright</copyright>
<initialWindow>
<content>main.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<maximizable>false</maximizable>
<minimizable>true</minimizable>
<resizable>false</resizable>
</initialWindow>
<icon>
<image128x128>icons/AIRApp_128.png</image128x128>
<image48x48>icons/AIRApp_48.png</image48x48>
<image32x32>icons/AIRApp_32.png</image32x32>
<image16x16>icons/AIRApp_16.png</image16x16>
</icon>
</application>
Shouldn't AIR and the app update correctly? Does anybody know why I'm getting such an error?
I've also created .airappinstall.log and received the following output after installation fail:
Starting update of c:\program files\app folder\appname.exe
Updating from file:///C:/Documents%20and%20Settings/username/Application%20Data/com.company.subfolder.subfolder.incorrectid.1/Local%20Store/%23ApplicationUpdater/update.air
Updating to version 0.348
UI SWF load is complete
UI initialized
Unpackaging to C:\Documents and Settings\username\Local Settings\Temp\fla17.tmp
unpackaging is complete
application is bound to side-by-side version 1.0
application is bound to this version of the runtime
app id com.company.subfolder.subfolder
pub id incorrect_id.1
Application located at c:\program files
AIR file app id, pub id, and version don't match
installed app id com.company.subfolder.subfolder
installed pub id correct_id.1
Requested version: 0.348; AIR file version: 0.348
Re-launching application from c:\program files\app folder\appname.exe
starting cleanup of temporary files
application installer exiting
After seeing my id was different, I realized what was wrong. Flash CS4 had recently crashed, and the location of my cert was reset. Apparently, I selected the wrong one when publishing. Again, thanks for your tip on the log files, as I wouldn't have been able to figure this out without them.
Similar Messages
-
I'm trying to update my apps and purchase a movie from itunes and it keeps saying "an unknown error has occurred." How do I fix this?
Trying to do both at the same time? Try updating the apps first. Maybe one at a time. Then try buying the movie.
First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem. -
Im trying to update my apps and it wont let me. When i clicked on an app to update it or to download a free app it says "sign in required, tap continue and sign in to view your billing information" when i did it says "you must verify your payment info before you can makes purchases" then "security code is invalid" when the security code is valid. I even switched credit card it keeps saying the same thing....... THIS IS NOT FAIR........ I WANNA UPDATE MY APPS!!!!! Btw idk why did i buy the ipad for, APPLE dont even let you download ADOBE FLASH PLAYER and must of the games required ADOBE FLASH PLAYER to play example: wizard101. Idk what i was thinking...... :(
Why not simply remove yoru payment info by selecting None at top?
APPLE dont even let you download ADOBE FLASH PLAYER
Considering Adobe dont (sic) even make Flash Player for iPads, this seems about right. How can you download something that does not exist? -
I just recently purchased 3 songs from itunes not knowing that I had no money on my debit card (visa) left. My iphone wont let me update my apps and says that there was a billing problem with my last purchase. I dont know what I am supposed to do! I dont understand why it worked in the first place when it wasn't supposed to!
There seems to be a billing problem with the iTS. I've been trying to make purchases today (Dec 9th) too and it reports either the iTS can not process payments or it says my card was declined. I even changed the payment method to Paypal (which is never declined) and still no go.
I don't think it is "you" but a problem at Apple. Some popular new apps were released recently like Logic Pro and perhaps they're getting bombarded as they did when Lion was released.
Wait a few hours and then try again. -
How do you change the I'd on the log in screen when you want to update your apps and the I'd is wrong and the password is also wrong. HELP
Go to Settings>Store>Apple ID. Tap on the ID and sign out. Then tap on "sign in" and sign in with the correct account.
-
My 6th generation nano isn't recognized by my computer. When I plug it in an error message pops up, which says "USB Device Not Recognized". Does anyone know how to start trouble shooting this? I updated both windows and iTunes.
Work through all the suggestions in this Apple support document first.
iPod: Does not appear in Windows or iTunes and Device Manager is empty
B-rock -
Sync problem - earlier today I updated both iTunes and my iPod Touch. Since then, I have tried syncing the two. The iPod Touch claims that there is no music on the iPod, however, when I connect it to my computer it says my full library is on there. At present, I am unable to listen to songs on the iPod when not connected to the computer. What can I do to fix this?
Thanks for any help!- Have you reset your iPod:
Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
- Next would be to backup your iPod and then restore you iPod from backup via iTunes. -
Tried to use my apple id to update some apps and got"Connection Manager::invoke:: Failed to find service connection url" After this occured a few times I reset the id password, and this was confirmed by email. It still fails with same message. Ideas?
Hi, you have to logout from your iTunes account and reconnect it:
Settings / iTunes & App Stores / ...
https://mobilfunkexperten.de/news/13450/sporadische-probleme-im-itunes-und-app-s tore
Hope this helps... :-) -
I had about $1.03 in a debit card that I had forgotten about and used a dollar to gift an app to someone. That was a week ago, now I checked itunes to update my apps and it won't let me because my card has been declined and that it's invalid. It says that I owe a dollar for the app that was already bought (the dollar is gone from my account, I've checked) and downloaded. Now I can't remove my card or update any of my apps.
If you have a card on your account then it has to be valid, it will be checked when you try to download items (if the card doesn't have money on it then it will fail the validation). How have you tried to remove the card, are you logging into the account separate to trying to download the updates, does that not give you the 'none' option : Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support ?
(Creating a new account won't help with downloading updates to your existing apps, you would have to delete them and rebuy them with a new account.) -
I have an app in my app store that is requiring an update but I never purchased the app and when I click update, another apple ID pops up that is not mine. Now i keep getting reminders to update the app and I cant get rid of it from the app store. Help.
You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
Important: The app you need to remove is not necessarily the one named in the App Store notice. For example, if the App Store says you need to update "Twitter," the hacked app may be "Angry Birds" or something else entirely. Don't make any assumptions about which app you're looking for. To find it, you have to carry out a systematic search.
Triple-click anywhere in the line of text below on this page to select it:
kMDItemAppStoreHasReceipt=1
Copy the selected text to the Clipboard (command-C).
In the Finder, press the key combination command-F to open a search window, or select
File ▹ Find
from the menu bar. In the search window, select
Search: This Mac
from the row of tokens below the toolbar. Below that is a popup menu initially showing Kind. From that menu, select Other...
A sheet will drop down. In that sheet, select Raw Query and click OK or press return.
Now there will be a text box to the right of popup menu. Click in that box and paste (command-V).
The search window will show all the App Store products you've installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
At least one of the items listed in the search window is not among your purchases in the App Store. Move each such item to the Trash. You may be prompted for your administrator password. Empty the Trash.
Log out and log back in. Test. -
I'm trying to find out why am I not being able to update my apps and there telling me my payment method is declined ! Due to the fact that it's continuously stating this I'm am trying to enter a new card !
Do you recognize the ID?
-
I wanted to know how i can remove my account information off my iphone, because i keep trying to update my apps and it asks me to fix my billing information seeing as my card is now empty at the moment, it acts as if my updates cost money.
Hi Broken Smoke,
Welcome to Apple Support Communities.
You can change the iTunes Store information associated with your Apple ID, and select None as your payment option. See the steps in this article for help:
iTunes Store: Changing account information
http://support.apple.com/kb/ht1918
Changing your account information using an iOS device:
Tap Settings on the Home screen.
Tap iTunes & App Stores.
Tap on your Apple ID. (If you are not signed in, enter your Apple ID and password, and tap Sign In.)
Tap View Apple ID.
Enter your Apple ID password.
To update your name, billing address, or payment information, follow these instructions:
In the Edit section, tap Payment Information.
Update the information that you want to change.
Tap the Done button when finished.
Have a great day,
Jeremy -
Hello im trying to update my apps and its keep asking me for my bank details can u help me please
Hello im trying to update my apps and its keep asking me for my bank details can u help me please
You need to update your credit card info before you can update your apps.
Accepted form of payment
http://support.apple.com/kb/HT5552 -
HT6154 trying to update my apps and got message apple ID disabled tried ifogot and it didnt work
trying to update my apps and got message apple id disabled tried iforgot and it didnt work
Then contact iTunes:
Contact iTunes -
Trying to update my apps and its saying a different email
trying to update my apps and its saying a different email
Those apps were purchased with another Apple ID; delete it and download them with your own Apple ID.
Maybe you are looking for
-
Mac unathorizing Win 7 files.
Im trying to work on a windows 7 and mac network. We are using photoshop and saving a the JPGS on a MAC. Erery time a win 7 user saves files the mac it sets restricted permissions to that file. And windows computers cant open them util the new permis
-
Failed to connect to backend system
Hello, I have installed visual composer and experience some errors. My system fails to connect to the backend system in VC. I am able to create SAP transaction iviews for the system, see the alias, and user mapping is configured. When I perform the S
-
Error REP-0501 connecting to DB
Hi to all, I have installed Oracle Devsuite 10.1.2.0.2. In Reports Builder, when I try to establish a connection with DB, this error are displayed: REP-0501: Unable to connect to the specified database ORA-12637: Packet receive failed If I try to con
-
Mac OS X (10.4) Clone To New Hard Drive - Not Booting
Hello folks, I have recently bought an iMac G3 Snow, w/ 500MHz processor. This things works well with Tiger installed, but has quite a noisy hard drive. I wish to replace the hard drive with a newer, faster, and quieter 30GB hard drive that I happen
-
LX too big for MBP screen?
Hi! Anybody know how to make the Logic X window fit to a 13'' MacBookPro screen? I keep missing about an inch at the left or the right side. Can't make the window any smaller by dragging at the corners. What am I missing?