android-install-apk

Installation process of .apk within ART. Difference from Dalvik VM installation process

橙三吉。 提交于 2020-02-06 05:51:14
问题 Recently I answered this question, where was described whole installation process of .apk file to android phone. The one thing it was about using Dalvik VM . And now I'm wondered is installation process is exactly same using ART ? What are the differences? I mean the work of PackageManager , path , convertion to dex format etc. Googling didn't give much info, only about performance power, managing memory and something similar. I would be very thankful if someone with knowledge could share

Installation process of .apk within ART. Difference from Dalvik VM installation process

不羁岁月 提交于 2020-02-06 05:51:07
问题 Recently I answered this question, where was described whole installation process of .apk file to android phone. The one thing it was about using Dalvik VM . And now I'm wondered is installation process is exactly same using ART ? What are the differences? I mean the work of PackageManager , path , convertion to dex format etc. Googling didn't give much info, only about performance power, managing memory and something similar. I would be very thankful if someone with knowledge could share

Installing apk that updates the same app fails on Android 10; java.lang.SecurityException: Files still open

强颜欢笑 提交于 2020-02-01 09:38:20
问题 Our app downloads an APK from our server, and runs this to upgrade itself. As mentioned in Android 10 - No Activity found to handle Intent and Xamarin Android 10 Install APK - No Activity found to handle Intent, this does not work as previously if the mobile device has been upgraded to Android 10, getting "No Activity found to handle Intent". We've tried to rewrite this using PackageInstaller as in the example https://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src

Apk File download Error using Java in Android

…衆ロ難τιáo~ 提交于 2020-01-13 19:04:25
问题 .I followed this tutorial and getting errors "PARSING ERROR THERE IS A PROBLEM PARSING THE PACKAGE" . I have check the result in Android Device Samsung Galaxy S3. package com.mrfs.android.surveyapp.activities; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask;

Apk File download Error using Java in Android

时光毁灭记忆、已成空白 提交于 2020-01-13 19:04:09
问题 .I followed this tutorial and getting errors "PARSING ERROR THERE IS A PROBLEM PARSING THE PACKAGE" . I have check the result in Android Device Samsung Galaxy S3. package com.mrfs.android.surveyapp.activities; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask;

INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES on adb install

醉酒当歌 提交于 2020-01-10 03:28:07
问题 The same Android project is built in debug mode, sometimes with Eclipse, sometimes with ant (on build machine). If I first install the ant build, and then try to start Eclipse debugging, the Eclipse console displays [2012-03-20 13:32:26 - myproject] Re-installation failed due to different application signatures. [2012-03-20 13:32:26 - myproject] You must perform a full uninstall of the application. WARNING: This will remove the application data! [2012-03-20 13:32:26 - myproject] Please

How to fix Unknown sources error during App install?

青春壹個敷衍的年華 提交于 2020-01-06 05:31:30
问题 Created an App in android studio. While try to install it in real device. I am getting an error "For Security, your phone is set to block installation of apps obtained from Unknown sources." I removed this error by going to setting and enabled install from Unknown sources. After that app get installed. Question: 1) How can i make this app as trusted known source for installation without making Unknown sources option enabled. Even i tried to create a signed APK in android studio. But Still

Is it possible to replace an existing Android free app with its paid version

旧时模样 提交于 2020-01-03 06:31:28
问题 Hi guys i have made an app free version and paid version. I was wondering that, Is there any way i can replace the free version with the paid version during istallation. * Consider this Scenario * The user has already installed the free version. Now he wants some added functionality which is only available in paid version. So he is redirected from app to google play where he buys and installs the paid version. Now he has the free and paid version but we know that he will now use the paid

why “Open” button after installing apk on android device is disabled?

岁酱吖の 提交于 2020-01-03 00:47:41
问题 I have two projects and I want to combine them together.When I install each of them separately on device ," Open " button (in page that has been represented after successful installation) is enabled.But when I combine them,"Open" button will be disabled, although installation process will be completed successful.I guess that this error is because of manifest file,but I am not sure.Thanks you in regards your time. 回答1: I can't say for certain without seeing your manifest, but my guess is that

Android apk install: How to clear files from old version?

无人久伴 提交于 2020-01-02 06:53:25
问题 When I install a new version of my .apk, this overwrites the old version without deleting it: In the new version, I deleted some files (libraries generated with NDK) --- but on the device, the old files are still there. How can I ensure that whenever a new version is installed, all old files will be deleted before the installation? Edit/Clarification: This question asks for a solution for existing users of my application. I know that I can clean up the application myself by uninstalling it