Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3358578
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:46:10+00:00 2026-05-18T02:46:10+00:00

when tried to build a AIR application for android using flex builder I did

  • 0

when tried to build a AIR application for android using flex builder I did the following steps to do that .plz tell me where the error happened

1.Created Air application using flex builder that produced two type of files .swf and .xml files and cetification file

2.Created apk file from the above files using “Package assisstant pro”

3.then i installed AIR 2.5 run time in my emulator

4.after that i tried to install the apk file that Created from the ‘package assisstant pro’ then i tried to install the apk file by using command prompt then it show this error
“INSTATTION FAILED INVALLID APK” .And also i cann’t install other apk file (Sample air for android application apk file that downloaded from the site) that shows the same error

I succeed to install other application’s(Say for printing hello world) apk file

enter code here

package
{
import flash.display.Sprite;
import flash.text.TextField;

public class AndroidAndFlex extends Sprite
{
    public function AndroidAndFlex()
    {
        var textField:TextField = new TextField();
        textField.text = "Hello World";
        stage.addChild(textField);

    }
}

}

xml file

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<id>AndroidAndFlex</id>


<filename>AndroidAndFlex</filename>

<name>AndroidAndFlex</name>

<
<versionNumber>1.0.0</versionNumber>


<initialWindow>

    <content>AndroidAndFlex.swf</content>


     <visible>true</visible>


</initialWindow>

    <supportedProfiles>mobileDevice</supportedProfiles>


<android> 
    <manifestAdditions>
    <![CDATA[
        <manifest android:installLocation="auto">

            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
            <uses-configuration android:reqFiveWayNav="true"/>

            <uses-feature android:required="false" android:name="android.hardware.touchscreen.multitouch"/>
            <application android:enabled="true">
                <activity android:excludeFromRecents="false">
                    <intent-filter>
                        <action android:name="android.intent.action.MAIN"/>
                        <category android:name="android.intent.category.LAUNCHER"/>
                    </intent-filter>
                </activity>
            </application>
        </manifest>
    ]]>
    </manifestAdditions> 
</android>

some body plz help me out

thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:46:11+00:00Added an answer on May 18, 2026 at 2:46 am

    i believe the problem here is the way you are packaging your project. i don’t think serge jespers’ package assistant pro software has been recently updated to handle targeting of android-emulator apks, it will only package android (non emulator) apks.

    try packaging in manually on the command line using ADT 2.5:

    adt -package -target apk-emulator -storetype pkcs12 -keystore MyCert.p12 MyApp.apk MyApp-app.xml MyApp.swf
    

    ADT (AIR Developer Tool) is located in the “bin” folder of the AIR SDK. i assume you’re using Windows? if so, it’s called “adt.bat” (on Mac and Linux is just called “adt” without an extension). in the command i wrote above, “adt” is the program you want to execute on the command line, while all that follows (-package, -keystore, etc.) are arguments you are passing to ADT.

    open your command prompt (cmd.exe). drag “adt.bat” into the command prompt, which will display it’s location in quotes. you could also write out its location, but dragging and dropping files is much easier. after that, type -package -target apk-emulator -storetype pkcs12 -keystore, add a space, then drag your .p12 certificate file into the command prompt to log it’s location.

    next write the location you want your .apk file. say you want it on your desktop, so you write the file path “Desktop\myEmulatorApp.apk” (without the quotes), add a space and drag and drop both of your MyApp-app.xml and MyApp.swf, separated by a space to log their locations.

    when you hit enter, ADT should compile and save myEmulatorApp.apk on to your desktop.

    you can read more about installing AIR on mobile devices with ADT here: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ff6.html#WS2d929364fa0b81373f5793e012a24c349f8-7fff

    if you receive any vague errors messages, you can get a better understanding of the error by looking them up here: http://help.adobe.com/en_US/air/build/WSBE9908A0-8E3A-4329-8ABD-12F2A19AB5E9.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Flex 4.5.1 with AIR 2.7 (and Flash Builder 4.5.1) to build an
I tried to reuse the .pch to speed the build using the following way:
I am working on a full screen kiosk application in Flex 4/Air 2 using
I have built a Air 2/Flex 4 kiosk application with Flash Builder 4. Currently
I have an application that I build in Flash Builder 4.6. The application is
I got the below error when I tried to build Android 4.0 on Mac
My ant build for a Flex air 3.0 project for android with native extensions
I tried to build mongodb c++ 2.0 driver,but got the following error message: security_commands.cpp:(.text+0x865):
Recently I tried to build a flash application in Flash Builder, and I wanted
I tried to build vtkMFC project available in vtk-5.8.0\VTK\Examples\GUI\Win32\vtkMFC. When I built that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.