How to convert keystore (from native android project) to .p12 to use with AIR project?

Due to the advancements with adobe AIR, I'm really excited to be finishing up a HUGE update of an old project that was originally made with native android.
But, i've hit a brick wall with 2 issues, and it would be terrible if all the work i've done in AIR was for nothing...
First, how do I convert the keystore I previously used (from native android project) to .p12 to use with AIR project? (on a mac)
Second, how do I remove the "air." that gets automatically appended onto the front my android package name? I plan to use a captive runtime, so it's not really needed at all, and I can't upload it like this as an update because it will think it's a different app.
Please help so I can continue using air for all my projects from now on!

Thanks for the reply!
So I'm going through this guide..
http://helpx.adobe.com/air/kb/opt-out-air-application-analytics.html
I followed all the steps, made all the adjustments to the androidmanifest.xml like it asks.
But when i get to the stap that says
"Run the following command to create the resource file for the updated AndroidManifest.xml:"
I run this..
    "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platform-tools/aapt" package -f -M AndroidManifest.xml -F resources.arsc -I "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platforms/android-8/android.jar" -S ./res
But I keep getting the same error
    ./res/layout/expandable_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
    ./res/layout/expandable_multiple_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
    ./res/layout/main.xml:1: error: Error parsing XML: not well-formed (invalid token)
    ./res/layout/multiple_file_selection_panel.xml:1: error: Error parsing XML: not well-formed (invalid token)
    ./res/layout/ssl_certificate_warning.xml:1: error: Error parsing XML: not well-formed (invalid token)
The guide doesn't say anything about these xml files, and im not sure what to do with these ore how to handle them.
If i go into the res/layout folder, and just delete these (i know theyre for my layout and i need them, but im just saying i deleted them for the sake of a test)
I was able to get through the rest of the steps in the guide fine, make an apk, and put it on my phone...only to find out the app will crash the moment you try to run it.
So my question is, does anyone with any experience re-packaging an android application know how I might get around this or take care of the errors with the xml files in the layout folder?
Thanks!!
EDIT to note something i've tried:
So, earlier in the guide they have me use thing thing called the "AXMLPrinter2.jar" to make the AndroidManifest.xml readable so i can edit it.
I run something like this:
    java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" AndroidManifest.xml > AndroidManifest.xml.bk
This makes a new file "AndroidManifest.xml.bk" and i can edit that.
So, I was thinking with all of these layout xml files, maybe I could run this "AXMLPrinter2.jar" on them and then edit them. Because right now if you open them they're not human readable, and its hard for me to work on them if they're not...
But when i do the same command I did on the AndroidManifest.xml i just get blank files...
I tried
    java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" main.xml > main.xml.bk
Just get a blank file.
So, i think the issue might be with these just not being re-formatted to human readable.

Similar Messages

  • How to use keystore file from native android project.

    Android apk upload fails with error 'The apk must be signed with the same certificates as the previous one'.
    Out of the frying pan, into the fire.
    How to convert .keystore file to .p12 file?

    "Bobby Digi" <[email protected]> wrote:
    Hi,
    Is there a way to use .keystore file with BEA Weblogic 6 or 6.1 ?
    I used keytool to create private key and public key..
    I do not know how to tell weblogic 6 to use it....
    Can this be done through the GUI or do I have to add something to the.xml
    config file for the site?
    Thanks,
    Rob
    nope. with 7.0 you can do that.
    >
    >

  • How to convert date from ccyymm format to mmddyy

    hi,
    How to convert date from ccyymm format to mmddyy

    Please don't multipost. This question has been answered in your first post.
    How to convert date to ccyymm format
    Regards,
    Jo

  • How do i print from my android phone (Droid X2) to my printer (HP 8600 +)?

    how do i print from my android phone (Droid X2) to my printer (HP 8600 +)?  I am sending a pix from my phone to the printer's email address, but it is not showing up on the HP eprint print jobs. 
    This question was solved.
    View Solution.

    Hi,
    Please check check this to setup:
      https://play.google.com/store/apps/details?id=com.hp.android.print&hl=en
    Good luck.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to convert music from one apple account to another

    how to convert music from one apple account to another

    leilaboxergirl wrote:
    The apple account music you want to transfer >> go to itunes store and log into the apple account that you want music to be put on your ltunes library...sign in then after you sign in then look down on right hand side for the word "Purchased" and those are the accounts songs and you can download them for free.
    Note that this does not change the iTunes account of these songs. This simply adds them to the iTunes library you are using.
    Also note than once you do this, you will have to wait 90 days to redownload any iTunes purchases from any other iTunes account, including the original iTunes account.
    It is possible to transfer itunes music from one account to another!
    No it is not!

  • How to convert oracle form fmb file to java swing file using Jdeveloper

    how to convert oracle form fmb file to java swing file using Jdeveloper.Please explain with detailes steps if possible or please give a link where it is available
    thanks
    Message was edited by:
    user591884

    There is no automatic way to do this in JDeveloper. I know there are some Oracle Partners offering forms to java conversion, I don't know how much of their tools are automated and done with JDeveloper. With JDeveloper+ADF you basically rewriting the Forms application from scratch (and using ADF is helpful during this process).

  • I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I think the McAfee suite will do the trick when I pay them a one-time fee of $69 or $179 for a year for unlimited support.
    Your call of course but IMO a waste of money. Please read this first:
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
    More useful information can also be found here:
    http://www.reedcorner.net/mmg/

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • How to extract data from info cube into an internal table using ABAP code

    HI
    Can Anyone plz suggest me
    How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
    Thankx in advance
    regds
    AJAY

    HI Dinesh,
    Thankq for ur reply
    but i ahve already tried to use the function module.
    When I try to Use the function module RSDRI_INFOPOV_READ
    I get an information message "ERROR GENERATION TEST FRAME".
    can U plz tell me what could be the problem
    Bye
    AJAY

  • In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

  • How to transfer movie from the apps in iphone to my laptop with window 7 os

    how to transfer movie from the apps in iphone to my laptop with window 7 os ?? Pls helpppp =)

    Movie from what app? If this is a movie that you took, with the video camera of the phone, then see this. iOS: Import personal photos and videos from iOS devices to your computer

  • How can I print from my MacBook Pro to Canon MP560 using rear tray?  I can't find that "option" in the print selection possibilities.

    How can I print from my MacBook Pro to Canon MP560 using rear tray?  I can't find that "option" in the print selection possibilities.

    Sure can.
    With a document open in Pages, select to print so that you can see the print dialog as shown below.
    Note that to see this view, you may need to press the Show Details button in the bottom left corner. In the image above, since I have the expanded view displayed, this button changes to Hide Details
    So with the view shown, first change the Presets menu to Default Settings. Then click the Layout drop menu and select Quality & Media. Make the changes you want and then click on the Presets menu and select Save Current Settings as Preset...
    At the next window, give the Preset a name and select the Only this Printer radio button and then click OK to save it. That's it.
    As for the Preset that you already have, if you no longer want this preset then you can delete it via the Show Presets menu pane that you've used already.

  • Error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" on SQL Server 2008 R2 Enterprise Edition 64-bit SP2 clustered instance

    Hi there,
    I have a Windows 2008 R2 Enterprise x64 SP2 cluster which has 2 SQL Server 2008 R2 Enterprise Edition x64 SP2
    instances.
    A domain account "Domain\Login" is administrator on both physcial nodes and "sysadmin" on both SQL Server instances.
    Currently both instances are running on same node.
    While logging on to SQL Server instance 2 thru "Domain\Login" using "IP2,port2", I get error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication". This happened in the past
    as well but issue resolved post insatllation of SQL Server 2008R2 SP2. This has re-occurred now. But it connects using 'SQLVirtual2\Instance2' without issue.
    Same login with same rights is able to access Instance 1 on both 'SQLVirtual1\Instance1' and "IP1,port1" without any issue.
    Please help resolve the issue.
    Thanks,
    AY

    Hello,
    I Confirm that I encountred the same problem when the first domain controller was dow !!
    During a restarting of the first domain controller, i tried to failover my SQL Server instance to a second node, after that I will be able to authenticate SQL Server Login but Windows Login returns Error 18452 !
    When the firts DC restart finishied restarting every thing was Ok !
    The Question here : Why the cluster instance does'nt used the second DC ???
    Best Regards     
    J.K

  • Version 4.2.6(8E200) bought this from Apple, NewYork. Can this be used with any CDMA or only Verizon?

    version 4.2.6(8E200) bought this from Apple, NewYork. Can this be used with any CDMA or only Verizon?

    Apple's response: Sorry, only verizon
    Person in back alley wearing overcoats response : Step this way

  • Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

    Hello,
    I have gone through couple of posts regarding this issue but couldn't get the right solution. Could you please help what exactly we are missing here.
    Details:
    1) we have two SQL instances on one standalone machine (Default Instance (2008 SP3) + Named Instance (SQL 2012 SP1))
    2) Both instances are configured to accept SQL+ Windows authentication.
    3) when we give access to our users they are getting following exception if they connect with 'windows authentication'. (For both instances)
    Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
    Note: (Being a sys + windows admin I'm able to connect both the instances from same client machine without
    any issues)
    4) Also, we observed following error in windows application event log,
     SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure.
    The logon attempt failed   [CLIENT: 192.168.xxx.xyx]
    5) If we create SQL login it is working fine without any issues.
    Could someone guide/help  me identifying and fixing this issue.
    Thank you

    Hello,
    Are those Windows Logins associated to domain Windows accounts? Windows Logins work for domain accounts and local Windows account created on the server where the SQL Server instance is installed (and used to login locally to the server).
    Could you try to delete one of the Windows logins that fail to login , and try to recreate them?
    The following resources may help:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/12/19/error-message-quot-login-failed-the-login-is-from-an-untrusted-domain-and-cannot-be-used-with-windows-authentication-quot.aspx
    http://support.microsoft.com/kb/555332
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for