D
D
Denis Kotlyarov2015-06-30 21:07:37
Java
Denis Kotlyarov, 2015-06-30 21:07:37

ADB in android studio doesn't install apk, what's the problem?

What is wrong or where is the problem?
On a computer or tablet?
Problems can be here and there, in a computer in Linux I could screw up, in android too (recently restored from backup).
Here is the log from the studio
Installing com.example.denis.myapplication
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.denis.myapplication"
pkg: /data/local/tmp/com.example.denis .myapplication
Failure [INSTALL_FAILED_INVALID_APK]
This is a new clean project, I tried it, there was an erroneous package, where and what to do?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan, 2015-06-30
@sputnic

check gradle file

E
Erdani Erdyneev, 2015-06-30
@dEn13L

Check the manifest, see if such an application (with such a package) is already on the device

C
Chvalov, 2015-06-30
@Chvalov

1. Try to change the name of the package
2. Build the project and install it directly from Android, if this apk is not installed there, download any of w3bsit3-dns.com and try to install it, if the error is 80% that PackageInstaller.apk is located in / system / app
3 Try to install something that is not your own using adb install toster.apk, if the error is try point 2
4. If ADB works fine and everything is put on the android itself, look towards gradle and ide

H
hummerd, 2015-07-09
@hummerd

I remember trying to put an apk for 4.3 on a device with android 4.1, the error was the same. Check android version in manifest.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question