[Q] Unable to package Flash Lite CS5 swf to Android apk - Android Apps and Games

I have a test app in CS5 and tried to package it using the Android SDK.
I guess there was some problem in setting up the Android SDK and it states that the archquery.jar is missing. How can I assure that the setup is fine? I dont even see any uninstall option so that I can reinstall. Even with a prerelease, can I publish the app...I remember having read somewhere that I cannot distribute it.
While using the Windows packager - I do not find the AIR 2.0 and AIR 2.5 folders, to point to the adt.jar, however, I am able to locate adt.jar in the lib folders of the AIK 2.0 and AIK 2.5 in Flash CS5. Will those references be valid enough? The packager version that I am using is 0.4.2 and it also requires pointing to the JAVA.exe, however, I do not see packaging options for 'dmg', instead, I see 'Package exe' along with the 'Package apk'. I am able to create an xml, and a p12 self signed certificate along with the swf for the 'AIR for Android' app in CS5, but while building an apk, using the certificate and the xml, I am stuck with an error (Usage Error - Incorrect Arguments) and cannot proceed further.

Related

[Help!] Compiling an Android APK on Windows using Eclipse

I recently worked on a theme for some home alternative apps but when I tried to compile it in Eclipse, things seemed to be missing (for example Keytool and Jarsigner) which are not in my SDK directory anywhere.
I was able to get the theme to work by using the APK from someone else's, replacing the images with mine and signing using the Autosign tool downloaded from XDA but I was unable to change the name of the app in the Manifest.
So my question is, is there a way to compile in Windows at all? Reading the guide on the developers.android page didn't answer anything for me.
Also, would there be anyone willing to walk me through that? If not, just knowing if its possible is enough for me.
Windows 7 64-bit
im on windows 7 64 and I can compile my apps without any problem. right click on the folder of your app -> android tools -> export as signed / unsigned (which ever you prefer)
The "keytool" and "jarsigner" programs are in the JDK, which you'll need to get from Oracle (formerly known as Sun). Set the JAVA_HOME environment variable to the JDK directory; in my case, C:\Program Files\Java\jdk1.6.0_18, and add the JDK's bin path--in my case, C:\Program Files\Java\jdk1.6.0_18\bin--to your PATH environment variable. You may need to logoff/logon or reboot for everything to settle out. If you get the latest JDK, the paths should end in _20 instead of _18.
jarsigner is not needed in eclipse as eclipse will sign and zipalign the apk for you.
File | Export
Choose Android | Export Android Application
Create a new keystore via the tool and it will automatically sign and zipalign creating a nice new apk for you

[Q] How to package Flash Lite CS5 swf to Android apk

I have a test app in CS5 and tried to package it using the Android SDK.
I guess there was some problem in setting up the Android SDK and it states that the archquery.jar is missing. How can I assure that the setup is fine? I dont even see any uninstall option so that I can reinstall. Even with a prerelease, can I publish the app...I remember having read somewhere that I cannot distribute it.
While using the Windows packager - I do not find the AIR 2.0 and AIR 2.5 folders, to point to the adt.jar, however, I am able to locate adt.jar in the lib folders of the AIK 2.0 and AIK 2.5 in Flash CS5. Will those references be valid enough? The packager version that I am using is 0.4.2 and it also requires pointing to the JAVA.exe, however, I do not see packaging options for 'dmg', instead, I see 'Package exe' along with the 'Package apk'. I am able to create an xml, and a p12 self signed certificate along with the swf for the 'AIR for Android' app in CS5, but while building an apk, using the certificate and the xml, I am stuck with an error (Usage Error - Incorrect Arguments) and cannot proceed further.

[Q] APK Manager 4.9 / LOG = Lost was unexpected at this time

This is my first post as an XDA member. I apologize in advance for any thing I may miss in communication. I also appreciate every thing about this website and the people in it, being that now there are endless opportunities paved for modifying my cell phone.
I install java and jdk, also the adt bundle, and apk manager and had everything up and running perfectly. I even went through and changed the logo of an app, and the name of the app through the projects folder, after decompiling apk. then successfully recompiled the app, signed it, put it on my phone and it runs great.
However, I tried to decompile an another apk at a later time, and it errored. Then afterward the apk manager no longer worked properly. It will open up, I can select option 22, then select whatever I have put in the modded folder, but whenever I try to decompile or extract the apk, the apk manger automatically closes. I have tried uninstalling all java, and adt bundle and apk manager, and going through and redo all the pat variales. Still same result.
Here is the log:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Lost was unexpected at this time.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Here are my variables:
Variable Name: Variable Value:
ADB C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform-tools\adb
Path ;C:\Program Files\Java\jre7\bin
;C:\Program Files\Java\jdk1.7.0_10\bin
;C:\AndroidSDK
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform- tools
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\tools
;C:\Program Files (x86)\Java\jre7\bin
_______________________________________________________________________________________________________
My brain is racked, I have searched everywhere and no solution revealed to me, hence the post. Thank you in advance.

[Q] Hacking Hardware Stumped?

I'm trying to covert a thin-client RDP system into a standalone linux system. I'd like to run a lighthttp server on it and auto-boot it to chromium (on start up).
The device comes with a crappy RDP interface and has a method for installing software UPGRADES via FTP. --- Confirmed working.
Doing some research on the web I was able to find an update package for this device. ATTACHED AS TORRENT FILE.
Using CENTOS I've tried to extract the RAMDISK but Linux doesn't seem to know how to extract the file type. I've tried a ton of scripts from xda-devs none seem to work.
I've tried just changing the system dir to see if I can get that work but it seems that the new image doesn't take to the device. I did see that the scripts have checksum info in them but not sure how to repackage or change them to adjust for the new changes.
I do see the build.prop file with a ton of ANDROID stuff and the package is APK signed. Thus I'm thinking it's an ANDROID setup. Also I see that the device is using busybox.
Any help or ideas how to get this doing what I need it?
Thanks!
chavenor said:
I'm trying to covert a thin-client RDP system into a standalone linux system. I'd like to run a lighthttp server on it and auto-boot it to chromium (on start up).
The device comes with a crappy RDP interface and has a method for installing software UPGRADES via FTP. --- Confirmed working.
Doing some research on the web I was able to find an update package for this device. ATTACHED AS TORRENT FILE.
Using CENTOS I've tried to extract the RAMDISK but Linux doesn't seem to know how to extract the file type. I've tried a ton of scripts from xda-devs none seem to work.
I've tried just changing the system dir to see if I can get that work but it seems that the new image doesn't take to the device. I did see that the scripts have checksum info in them but not sure how to repackage or change them to adjust for the new changes.
I do see the build.prop file with a ton of ANDROID stuff and the package is APK signed. Thus I'm thinking it's an ANDROID setup. Also I see that the device is using busybox.
Any help or ideas how to get this doing what I need it?
Thanks!
Click to expand...
Click to collapse
Any ideas out there?
Bump?

Translating code written in Chinese to English so I can edit them.

I'm trying to edit an .apk of an existing game and basically create a private server for just me and a couple friends. BUT, the code is written in Chinese. When I open the file in Visual Studio editor with multi-language support it gives me this error, "The file will not be displayed in the editor because it is either binary, very large, or uses an unsupported text encoding." Any ideas on how to bypass this? Even tried opening in notepad using unicode.
You can't open a apk in visual studio as is, you must first unpack the apk.
I would use APK Studio instead.
9volts said:
You can't open a apk in visual studio as is, you must first unpack the apk.
I would use APK Studio instead.
Click to expand...
Click to collapse
Yes, Visual Studio is fit to source code, other than a binary file such as an .apk.

Categories

Resources