Archive for the ‘ Android ’ Category

Create Certificate Valid till 2033 – AIR Android apk upload

When uploading your android .apk file you may be asked for Certificate valid for certain years.

“Market requires that the certificate used to sign the apk be valid until at least October –, 2033/2034. Create a new certificate.”

Adobe Air Certificate generator does not Create a time Stamp valid for certain years. Work around for this is use keytool command line key generator.

keytool -genkey -v -storetype pkcs12 -keystore AndroidCertificate.p12 -keyalg RSA -validity 20000

above syntax creates certificate valid for 20000 days.

Hope this is helpful.


Warning: Application has not specified its permission requirements in application.xml

Problem can be solved by uncommenting following code in application descriptor

<manifest android:installLocation=”auto”>
<uses-permission android:name=”android.permission.INTERNET”/>
<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/>
<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION”/>
<uses-configuration android:reqFiveWayNav=”true”/>
<supports-screens android:normalScreens=”true”/>
<uses-feature android:required=”true” android:name=”android.hardware.touchscreen.multitouch”/>
<application android:enabled=”true”>
<activity android:excludeFromRecents=”false”>
<action android:name=”android.intent.action.MAIN”/>
<category android:name=”android.intent.category.LAUNCHER”/>




There has been change in build 20100909 of Air for Android.


For physical device:

adt.bat -package -target apk -storetype pkcs12…


For emulator:

adt.bat -package -target apk-emulator -storetype pkcs12…