Answer the question
In order to leave comments, you need to log in
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
Check the manifest, see if such an application (with such a package) is already on the device
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question