I need to test my android phonegap app. I have the APK file and have tried to get some sort of android emulator running on my mac with no luck. i just need to test the app for android but cant get it to work. i have the android sdk manager installed but cant find the right commands for it to run an apk file in x location.
the phonegap emulator doesnt seem to work for apk files, by the looks of it, it runs html, css, js files on an iphone size screen. unless im doing something wrong and it can work apk files.
Any help would be great.
you can download android studio and the Android SDK, run the emulator and send the apk to your email, in the emulator accessing your mail and download the apk, install it and test ...
Related
I am facing a weird problem. I've developed a react-native app in 'Expo' and generate its .apk file following (https://docs.expo.io/versions/latest/guides/building-standalone-apps.html#building-standalone-apps) this guideline. Now the downloaded .apk file works well on 'Emulator' but in real android phone Error: App not installed. The package appears to be corrupt ....?
I have accidentally formatted the hard drive where I had all of my projects. The project I'm currently working on is completely lost, but I have the app running on my device. I didn't generate an apk, I just ran it using the 'run' option in Android Studio to test as a wrote the code.
Is there a way to retrieve the source code in this case? I have tried extracting the apk from the device (inside \data\app[package name]) and using several decompilers tools available, but none of them show me any of my code.
Thanks in advance.
I built an app on Meteor, and deployed it to a Digitalocean server using mupx. On my local machine (where the android SDK is installed), I built the app for android with the following command:
meteor build --server=http://SERVER.IP /output/directory
I then signed the app and put it on my phone, and it runs fine, and is connected to the database. The problem is that, when I change code on the server, it doesn't automatically get pushed to the app. The only way I've been able to update the app is to build a new .apk and put it on my phone.
Some background info:
I don't have the android platform on the server, only on my local machine, and the hot code push works in the browser when I go to the IP.
Well, it seems I answered my own question in the question. You really do need to have android on the server, as well as the SDK. Just look up instruction to install the android sdk on a server (no gui). Now it works.
From 1.3-beta.12, added a --server-only option to meteor build that doesn't require the mobile SDKs to be installed on the build machine, but that will still build web.cordova whenios or android platforms have been added to the project.
Reference: meteor forum
I'm using Eclipse to run my android mobile app. The problem is that when modify code the change not appear in the deployed app on device. Remain ever the same app on device.
If you are changing code in yourProject->www folder, then you need to build it first with command prompt /cli
OR you need to directly change the files in yourProject->platforms->...->www before running from Eclipse
I have developed a mobile app in Flex 4.6, and generated a .apk file in following way
and installed on android emulator. installation is successful but while I'm trying to run that app, popup dialog appears saying that application stopped unexpectedly Please try again. Please tell me how to get rid of that error and run that app in android emulator. Thanks in Advance.
Solution is so simple, if you are running App on emulator you have to install air run time for emulator located in C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\runtimes\air\android\emulator\Runtime.apk your App will run as you want. Happy Programming and Wish you all the best Dear Arshay.