Can not debug Adobe AIR mobile app on Android - android

I can not debug my simple Flex Mobile Project on my Samsung Galaxy S3. It is a default application with two empty views. Nothing more.
When I try to run the application it says:
"Adobe AIR is required on your device before deploying the projects to it. Would you like to install it now".
If I click "Yes" the launch stops on 57% and nothing happens.
The strange thing is that I have Adobe AIR installed on the phone.

It will be a different version of AIR. What version are u compiling for?
Compile a captive apk to see if the App runs or is corrupted. Also for remote debugging I would reccomend using Monster Debugger

Related

How do I deploy an Android MonoGame game to an Android phone?

I recently created a game using XNA 4.0 for Windows Phone. I was able to deploy it to a physical device running Windows Phone 8 by connecting the device to my computer and deploying the project's XAP file with Windows Phone Application Deployment 8.1. I've now ported the game to MonoGame for Android and want to deploy it to a Samsung phone running Android 4.4.4. I was wondering how I would be able to do this. I see that the project folder contains an APK file rather an XAP file. Can I deploy this to the device in order to deploy the game? If so, what program would I use to do this?
Actually you need a Xamarin liscence to deploy your Android Monogame application.
Check out this example that shows what you want to do.
https://developer.xamarin.com/guides/cross-platform/game_development/monogame/introduction/part1/
Xamarin Studio actually cost 25 $ / month.
But I found that they have a free starter edition if you want to look up. It seems to not be limited.
https://xamarin.com/starter

Missing files in android build for multi device hybrid apps

I am attempting to debug my application on my android device. running 4.1.2
The app builds and installs correctly but nothing displayed. I get an error message in the debugger that WinJS is undefined. so I check to make sure everything is referenced. and it appears all my scripts and files are not being added to the app package. This only happens when debugging on the android device the app runs fine on the ripple emulator and for windows phone device and windows store.
I have made sure the build tools revision 19 and all drivers are installed.
Please assist

Android Device Connectivity in Adobe Flash Pro CS6 Win7 x64

I'm using a Samsung Galaxy S3 running Android 4.3. I've installed the latest Samsung Kies as well as the Android SDK. I'm able to run the Android SDK in Eclipse and properly compile/run/debug applications via Eclipse, but I cannot seem to get it working with Adobe Flash CS6 - it compiles the SWF and hangs on the "Publishing..." progress bar.
AIR 3.2 for Android Settings are correct, and when I compile the SWF to an APK file and then move the file over to the phone via File Manager I am able to install and run applications successfully. I can't, however, publish directly to the phone or debug on the device over USB.
I've definitely done my research and have been through all the normal stuff like USB debugging and all that. Everything works great in Eclipse with the Android SDK - just not in Adobe Flash Pro CS6. I've read in this thread that others simply have not been able to do it either with Samsung devices running Android 4.2.2+ Can anyone shed some definitive light on this issue?
UPDATE: I got it to work! I had to copy the adb.exe file from the Android SDK to the one being used by Adobe Flash Pro CS6. I'm working on turning my experience into a blog post with pictures and step-by-step instructions and I will elaborate on every step of the process. Stay tuned...

Do I need to root my Android mobile to run my own applications?

If I write an application using the Android SDK or NDK, can I simply copy the APK produced onto any Android phone (with the right version of the OS running) and run it? Or do I need to root the phone before apps not bought through a marketplace can run?
The context is that I have the choice of a Galaxy S2 as an upgrade to my iPhone4 and I'd like to start writing my own stuff. I can find plenty of instructions and examples of compiling and running apps in the emulator, but nowhere explicitly states I can run the apps I compile on the S2. I'm worried that apps may need to be signed or authenticated before they can run on it (and other phones) and I'd rather not mess about with the phone too much.
You can download it and run it without root.
You can debug directly on a device even from your development environment.
Android development tools environment (ADT) in eclipse (as well as others) and the correct ADB USB drivers for your phone gives you that nice option. Much faster than using the android emulator too.
In settings you have to allow debug (a simple checkbox), that is all.
No you don't need to root. Just install drivers and SDK. Using eclipse you can directly run on device and debug too
it's also faster than working on emulator
If you get Galaxy S2, then you can install Samsung's own free app, "Kies Air". This allows you to transfer files over wifi from your PC to anywhere that you can see in the phone's file explorer. If you transfer an apk this way, then when you click on it in the phone's file explorer, it will install the app. The app can be signed with a debug key, or a release key.
You don't need root. In order to instal on android phones you simply install the app on the phone through eclipse ADT tool or just through the ADT terminal. Just remember to set the phone to development mode by going into settings -> programs, then allow installing from unknown sources.
Alternatively if you want to install the *.apk on you device download an app from market. Follow this link for guides on both this approach and the SDK/debug approach: http://www.talkandroid.com/guides/beginner/install-apk-files-on-android/

app is not running in tab but running fine in phone?

I have downloaded some sample source codes, modified them and made a audio-video player.
The player is supporting minimum Android version 2.2. I ran the app in my tab, as well as phone.
It's working fine for my Android phone, but not in my tab. I am not sure why this is happening.
I am not even able to install the .apk file in my Android tab.
Can anybody suggest me what may be cause of this?
In order to install apps from places other than the market, you need to enable that in Applications settings - allow unknown sources. enable it.
enable usb debugging also
With the debug tools installed, you can install an apk from the command line by saying
adb install my.apk.

Categories

Resources