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
2
votes
1 answer

Android APK signed with PLATFORM key not given system privileges?

I have access to an Android tablets' platform key and certificate. I'm attempting to build an app and install it with system level privileges by doing the following: Create a Java KeyStore file with platform.pk8 and platform.x509.pem using the bash…
Chimera
  • 5,884
  • 7
  • 49
  • 81
2
votes
2 answers

Suffix / Prefix / InBetween the .APK name when split by ABI

I have split my .APK file into multiple smaller sized .APKs using this As far as my understanding goes. The Gradle system generates multiple .APK files for different ABIs that I am supporting. Each .APK follows the naming convention as mentioned…
PunK _l_ RuLz
  • 621
  • 6
  • 20
2
votes
2 answers

How to know if an app has been installed successfully in android

How can I know if an app has been installed successfully in android? I am using the following method to install apk files. Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file),…
althaf_tvm
  • 773
  • 3
  • 15
  • 28
2
votes
0 answers

How to start apk file install right after "Unknown Sources" are enabled in Nougat?

How to start apk file install right after "Unknown Sources" are enabled in Android Nougat? In my activity I download file on button click, then I call intent to start install my apk file. Then I am redirected to Settings to enabled unknown sources,…
patonjo
  • 440
  • 4
  • 13
2
votes
1 answer

Android Studio "Error Installing APK" to xiaomi phone

I am developing an app in android studio and I use xiaomi mi a1 to run it on it. I turned on USB debugging and USB tethering and I do see the phone in android studio devices. The problem is that when I try to run it after some time it says "Error…
2
votes
2 answers

Updating existing debug app with different developers

I have trouble with updating the debug version of the app's apk: Installation failed with message Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package [here our package] signatures do not match the previously installed version;…
2
votes
0 answers

Force version downgrade on Android when installing with Gradle

Trying to build and install an app on Android with ./gradlew installDebug and it fails with INSTALL_FAILED_VERSION_DOWNGRADE. In plain language, this means the APK I am trying to install has a lower version code than the one already on the…
2
votes
1 answer

How to debug an app upgrade in Android Studio on a USB connected device

I have the production release of my Google Play Store app on my phone and have an updated version of the app in Android Studio. I would like to test the upgrade process, but have run into a versioning problem, then a logging problem. To get a…
Dale
  • 5,520
  • 4
  • 43
  • 79
2
votes
1 answer

How to install APK stored in internal memory without SD Card

I've been trying to find out how to install stored APK from internal memory, but I continually get errors. I've tried getFilesDir() but it returns 08-14 03:18:09.127 10089-10089/? W/zipro: Error opening archive…
John61590
  • 1,106
  • 1
  • 13
  • 29
2
votes
3 answers

How to Fix Session 'app': Error Installing APK?

When I am trying to install the App on physical device, Android Studio throws me the error: Session 'app': Error Installing APK About a week ago, it worked. When I now try to install the APK again and again (about more than 20 times), sometimes it…
Do-Yeon Jo
  • 21
  • 1
  • 2
2
votes
1 answer

App installation blocked with a pop-up saying app may collect data to track user

While installing the latest version of our app (outside of Google Play), a pop-up message shows up: Installation Blocked This app can collect data that may be used to track you. Even if you have heard of this app or the app developer, it's still…
max
  • 5,963
  • 12
  • 49
  • 80
2
votes
2 answers

INSTALL_FAILED_NO_MATCHING_ABIS when instrumented testing

I have troubles with instrumented tests in Android Studio. When I want to run the instrumented tests on an emulator (Nexus 5 API 24, x86) with command gradlew connectedAndroidTest, it fails with INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract…
2
votes
2 answers

unknown error code during application install: "-504"

unknown error code during application install: -504 Actually i try to install an android app in LAVA android Phone with OS version is 6 but Downloaded app is not installing in my device. Updat 1: I done all basic cleanup and all update 2: Checked…
Sharathkumar KG
  • 63
  • 1
  • 2
  • 12
2
votes
1 answer

Accessing source code using .apk file

I am currently developing an android application and every now and then I am checking my application if it runs smoothly on my android phone. Now, my problem is my desktop computer crashes and all the files on my computer were deleted including the…
sean
  • 9,198
  • 22
  • 65
  • 80
2
votes
1 answer

Android Studio : Error while Installing APKs (Path confusion from Windows to Linux)

I made an Android Studio project in Windows. After installing the Linux version of Android Studio I opened the project in Linux (it said it needs to make some changes because couldn't find the files looking for). When I wanted to emulate the…
LoMaPh
  • 1,476
  • 2
  • 20
  • 33