error occured while installing AIR application for android u

Put your problem here if it does not fit any of the other categories.

error occured while installing AIR application for android u

Postby kariyachan » Tue Nov 09, 2010 7:46 am

hi all,

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

Code: Select all
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
Code: Select all
<?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

kariyachan
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 21, 2010 10:54 am
Location: Kerala,India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: TurnitinBot [Bot] and 32 guests