Questions tagged [android-install-apk]

An APK file is the file format used for installing software (i.e. an application or a game) on the Android operating system.

An APK file is the file format used for installing software (i.e. an application or a game) on the Android operating system.

An APK file is basically an archive providing the required application information and resources.

More Info

536 questions
4
votes
0 answers

Don't run my android studio app for the first time

I have a project in which it reads if it is the first time the application is started, I do it through sharedpreference: Main: //Primer inicio boolean muestra = getValuePreferencePrimerInicio(getApplicationContext()); if (muestra) { …
4
votes
1 answer

Flutter app works as .apk, but "installation failed" with firebase distribution

I am trying to put a Flutter app on Firebase app distribution. I build the .apk, then transfer it onto my android phone. When I test it, no issues. Then, I upload the .apk to Firebase app distribution and try to install it on my phone (after…
4
votes
1 answer

Android Pie - 9 (API 28) : Installing APK .... not successfully installing

Recently I have updated OS to Android 9(Pie) and found that Whenever I try to install APK from android studio it does not work. As it just shows "Installing Apk..." and freezes at that point, After waiting too long it shows "Application…
4
votes
3 answers

Why does removing permission from AndroidManifest.xml not work?

There is an app called bodyweight fitness on the play store without any permissions. It is available on git hub as well: https://github.com/mazurio/bodyweight-fitness-android I used the files from git hub and compiled the apk myself with Android…
4
votes
0 answers

Corrupt APK after the update of Android Studio 3.0

I had the Android Studio 2.3.3 with which I was developing an application with OpenCV that tested it in a physical terminal instead of in an emulator. Everything worked perfect and I never had any problem. My problem started when I accepted the…
hlastras
  • 324
  • 5
  • 16
4
votes
4 answers

Unable install Android APK from ADB on Xaomi Redmi Note 4

I am using Redmi Note 4 and trying to install Apk through Android Studio and getting the error while launching the app DELETE_FAILED_INTERNAL_ERROR Error while Installing APKs I have already given all the necessary permissions like install via…
Varun Ajay Gupta
  • 349
  • 1
  • 3
  • 11
4
votes
2 answers

Android: INSTALL_FAILED_DEXOPT while install app on android 1.5

I am developing app which bust run on both Android 1.5 and Andoroid 2.x platforms. When I install it on Android 2.2 all is OK, but on emulator with Android 1.5 I get an error: Failure [INSTALL_FAILED_DEXOPT] What is the problem may be? UPD That is…
Ilya Izhovkin
  • 3,455
  • 4
  • 22
  • 25
4
votes
2 answers

Android - Signed apk not run in mobile device

I am facing very strange problem. When I directly copy APK from bin folder of project and paste in mobile phone SD card. And install it, it working fine. While I do same with export signed APK from Android Tool in project and placed APK in SD card.…
Sanwal Singh
  • 1,765
  • 3
  • 17
  • 35
4
votes
3 answers

How to install android app in system/app directory without rooted device so that user can not uninstall that app

I made an app which I want to install in system/app directory so that user can not uninstall it. but I want to do it without rooting device. as soon as user download app it will be install in system/app directory. I want to do this by writing…
user3383787
  • 68
  • 1
  • 2
  • 6
4
votes
3 answers

Is sharedPreference cleared when an android app is reinstalled?

When we run an app during development on a device is sharedPreference cleared when app is reinstalled ?
4
votes
1 answer

Self updating android system application with root access

I have created my custom ROM from aosp. I have also included my application, lets call it myCustomInstaller.apk (1.0) in the custom ROM while building. The application basically is kind of Google play Store. The application has system privileges and…
Madjokr
  • 147
  • 2
  • 16
4
votes
4 answers

Run code only once after a fresh installation,Shared Preference is not a solution please see below description

I want to run a specific code only once in my android application.Shared preferences solution is not the solution as when you go to application manager and perform Clear Data then shared preferences gets deleted so application treats it a new fresh…
Rauf
  • 620
  • 1
  • 8
  • 20
4
votes
2 answers

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

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…
Yaakov Belch
  • 4,692
  • 33
  • 39
4
votes
2 answers

How can I make android delete old native libraries?

I'm trying to delete some native libraries from my application because I don't use them anymore, but after I install the apk in my phone I can see that the native libraries are still there. As I've seen, android does copy/update native libraries…
mike.adc
  • 191
  • 3
  • 11
4
votes
2 answers

Programatically install apk from assets folder in android

I am trying to install apk programatically from assets folder but not success, Please help me. I am using following code for that. thank you. Intent intent = new…
Ranjitsingh Chandel
  • 1,479
  • 6
  • 19
  • 33