Session 'app': Error Installing APK

2019-01-13 11:57发布

Trying to install app on real device following instructions:- http://developer.android.com/tools/device.html. At end Android Studio giving error:

Session 'app': Error Installing APK 

I guess the problem probably can be in my android device(it is chinese Doogee X5). It does not have a given USB Vendor ID in developer docs so I decided to follow instructions with random vendor ID from HTC.

I'm sure there is a way to run application on any android device, but yet I didn't find an answer on how to do that.

I'm running through Linux Ubuntu 14.04 LTS

21条回答
狗以群分
2楼-- · 2019-01-13 13:01

Turning off the Instant run removed my error for Androdi Studio 2017.03.03 v2.3

enter image description here

查看更多
我只想做你的唯一
3楼-- · 2019-01-13 13:01

Make sure that project name doesn't contain special character.

查看更多
啃猪蹄的小仙女
4楼-- · 2019-01-13 13:02

This happens because the gradle is not synced with the app. Go to : Tools -> Android -> Sync Project with Gradle files. Re-run and you should be good to go.

查看更多
登录 后发表回答