Phonegap app can't install from Google play - android

When I install my apk directly on my device it will install and run.
When I download it from Google Play it will result in:
Unknown Error code during application install: "-24"
Even on devices the app hasn't been installed before.

Go to your /data/data/ folder and search for your com.foobar.myapp
Delete it, install the application again. It may work, but the causes or this error code are multiple.

Related

App not installed error when uninstall and install app again

I generated release apk by following this link. For first time generated apk installed on android device successfully. but when i uninstall and install this apk again its showing error App not installed.
Please help :)
Go to settings -> Appliaction Manager and check if your application is showing in the list. Uninstall it properly for all users(if your mobile support multiple users). Then Try to install this again.

Android Oreo prevent installing directly from source

I have implemented app update which sideload apk from my server. It will download and popup for install after download completed.
On Oreo, it just stop after download.
After some digging, I also found that the apk also can't be installed directly from Google Drive.
Both apks are fine if I download it first to local storage, and installed successfully.
I have read many suggestion to enable 'unknown source' to drive and the result still the same.

App Crashes from playstore

I have an app..I exported the signed apk and uploaded to play store.. When I run signed apk from my computer, it runs fine, but when I download the same from play store, it crashes... I connected the log-cat, it says no classdef found for one of my classes.. But I checked my manifest many times.. I have defined the class there.
What shall I do
Below is my logcat-
And below is my manifest where the class is defined.
I've had similar problems with eclipse, and each time I publish to Play Store, before uploading the APK I verify that its built correctly
You can do that by installing the exported APK to your device by using ADB and only after verifying the build works correctly should you upload it to Play Store
You can install the exported apk to your device by issuing the following commands in command prompt/adb
adb install build.apk
where build.apk is the name of the built apk binary
If you end up with build that fails to run(e.g. by similar exception you now received), try to "Clean Project" from eclipse's menu, it have helped me most of time with these kind of crashes after building

error code during application install -24 on Rooted device from Google Play Store

I am trying to install the App from Google Play Store. Gets downloaded and fails during installation with:
unknown error code during application install -24
The Same Application got installed with different certificate during debug runs from Android Studio. Now it is not getting deleted or over written. How can i clear the cache completely?
Connected the Mobile using USB and tried to run debug from Android Studio. I get following error on debug run APK transfer.
Failure [INSTALL_FAILED_UID_CHANGED]
Deleting the app through Terminal using adb shell command helped in one of the mobile.
In other mobile, even adb shell command did not work out.
Resetting mobile to Factory setting as final solution helped.
PS: Please voteup if you find this helpful.Thanks
Check manifest file and compare with previous one.
If your manifest file contain android:sharedUserId in previous version and it is absent in current version then this error will occured.
Solution is uninstall it and install fresh copy.
The main cause of Google Play Store Error Unknown Error Code During Application Install: 24 is cache problem. However, it can arise at different aspects as listed below:
It can be due to Google Play Store Cache and Data problem.
It can arise due to unwanted junk and residue files.
This error can also appear if you are trying to install an app which was earlier installed in your phone and was uninstalled but all the files of the app was not deleted from your phone.
It can also be caused if your internal storage is full.
Depending on the causes, there are 5 Solutions to Fix Google Play Store Error Unknown Error Code During Application Install: 24. They are listed below:
Solution 1 – Restart your Android Phone.
Solution 2 – Clear Cache and Data of Google Play Store, Google Service Framework and Download Manager.
Solution 3 – Remove Junk files from your internal storage.
Solution 4 – Check if you have sufficient memory in your internal storage.
Solution 5 – Factory Reset your Android Phone.

Install an app from Google Play on Emulator

Is it possible to install Google Play app (such as for example Twitter) on Emulator? I tried to do it using browser in emulator, but it says "No devices".
P.S. I don't have apk, I want to install app from Google Play.
P.S.S I have only emulator, no real device
This question is edited. This answer for those who have google play account.
If you want to download .apk files directly from Google Play. Check this. Apk downloader is a chrome extension which u can use to direct download .apk from google play on computer. After downloading that .apk
Start your emulator.
Start command prompt, and change your directory to the platform-tools folder of SDK directory.
Paste the APK file in the 'android-sdk\tools' or 'platform-tools' folder.
Then type the following command.
adb install yourapp.apk
Approach 2 - Download Genymotion and use drag-drop approach on its emulator.
Update - Now you can drag drop .apk on your Andorid emulator.
As mentioned by Gautam Jain as a comment under the first top suggestion discussion, the easiest way to download any app from Google PlayStore is to use: apk.tools
Once you have the .apk package you can simply drag&drop into your already running emulator.
I ended up using the Genymotion emulator. It allows to install apps from the store without a problem and it's really quick in comparison with standard emulator.
You can install the app on another device via the Play Store, then use a backup app to save the apk file to the SD card, move it from there to the emulator.
To install an apk in the emulator use something like
adb install <path>/Twitter.apk
If you follow this steps you will get there: http://www.android.pk/blog/general/how-to-install-apk-files-on-android-emulator/

Categories

Resources