Sarith Nob
Sarith Nob

Reputation: 43

Android: need uninstall because of existent package even it have not been installed before

I am running into this problem after I click on run to run an application for testing in my phone. Actually this problem require to uninstall the existed application but I have never installed it one time.

Thank you for your help!

Image: https://i.sstatic.net/dFUeP.png

Upvotes: 0

Views: 240

Answers (3)

HB.
HB.

Reputation: 4226

If you updated android studio recently remember to change gradle build tools to 2.3.0 inside top level gradle file:

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.3.0'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

and you should also make sure you use BuildToolsVersion 25

    android {
    buildToolsVersion "25.0.0"

}

IF THAT DOESN'T WORK-----

Try turning off instant run

Mac Android Studio > Preferences > Build, execution, deploy > Instant Run.

Windows File > Setting

Upvotes: 1

Rizwan
Rizwan

Reputation: 163

In Your Mobile go to the developer option and MAke sure that your usb debugging option is on

if you are using xiomi mobile there is one option below allow via usb make sure it is on .

if you dont know how to see developer option in mobile please google it its very easy

if none of this thing will work then click on the file in android studio then settings . then expand the Build Execution And Deployment option .click on the instant run option and then disable it .hope this might work

Upvotes: 0

Dishonered
Dishonered

Reputation: 8831

Clean the project and run again.

Upvotes: 0

Related Questions