Installed app not working - android

I've got a problem with my android app. When I run and install it by Android Studio, everything is ok, but when I try to install it manualy from .apk file after installation it immediately close.
It does even on hello world app.
I have unkown sources turn on.

Related

The app gets forced stop when installed through .apk file but works fine when installed through adb in android studio

My app executes fine when i install through adb in android studio.
When i use the .apk file to install the app it gets installed but gives forced stop dialog whenever i open it.
How can i resolve this?
Try to disable instant run from File--> Settings--> Build,Execution,Deployment.
Disable instant run and run it again from adb.
And then try to install new apk in your phone

Cannot run the sample android application in the codenvy emulator

I tried creating an Android workspace with Codenvy with the sample hello world app provided. I built and ran the project. Clicked on 1(execute the run command) and then on 2(preview).
I never saw the hello world activity in the emulator screen and I didn't even see the app installed in the APPS section.
Am I doing something wrong?
You need to follow this guide https://github.com/che-samples/mobile-android-hello-world/blob/master/README.md and install apk once an emulator is started.

Android Studio emulator can neither install app nor delete it.

I have a problem with a particular app in android studio.
When I wanted to Run app it gave this error:
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
and asked like this:
I clicked OK button to uninstall it then it gave another error:
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APK
I can not uninstall the app manually from the emulator. The Settings -> App -> in the emulator does not show the application in the application list.
How can I erase the app or how can I make it work on emulator.

See app changes in real time on real device

I have Eclipse with Android Development Kit (ADT) installed, and also SDK. I have connected my Venue7 tabled and enabled USB Debugging.
I've created a simple Hello World app and ran it on my Venue7.
Now is it possible to update the app via Eclipse and see the result #Venue7 in real time? Or do you I have to stop the app and start it again after each change?
When you install your program on your device you are doing just that - installing it. The .apk file you have there is an installation package (apk stands for android package) not an executable file. So yes you have to reinstall it each time you have made changes to the program.
On eclipse I believe you just click the run as android program as the other poster said.
If you are using for the first time, Just see the left side, in package explorer, right click on your package- Select Run As Android application.
You dont need to stop an app. Just Run it from eclipse
If you have made changes in source code and you want to see the effects, you no need to stop the app/device or emulator. But you need to re-run the package again.
You can do this by 2 ways:
Right-click project, run as Android application
CTRL+F11 is to run the application. But for this you have to apply pre-settings as below.
Windows>Preferences>Run/debug > Launching : Launch Operation; "Always launch the previously launched application"

could not be able to run AIR .apk file on android emulator

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.

Categories

Resources