I'm using Android Studio to test and debug my application with% s of% s, but the application does not overlap properly, so I need to remove it before installing it.
I tested it with library
and :app:uninstallDebug
as described here in the OS , but nothing happens after running the :app:uninstallAll
, I only see the status Run
and it does not go away. The project is simple, in a nutshell it is compiled and installed without the Gradle Build Running
setting.
Next the logs.
Event Log
17:18:16 Executing tasks: [: app: uninstallAll]
Message Gradle Build
Information: Gradle tasks [: app: uninstallAll]: app: uninstallDebug 05:59:13 E / ddms: 'C: \ Users \ Desktop \ AppData \ Local \ Android \ sdk \ platform-tools \ adb.exe, start-server' failed - run manually if necessary: app: uninstallDebug FAILED Error: Execution failed for task ': app: uninstallDebug'. > com.android.builder.testing.api.DeviceException: Could not create ADB Bridge. ADB location: C: \ Users \ Desktop \ AppData \ Local \ Android \ sdk \ platform-tools \ adb.exe Information: BUILD FAILED Information: Total time: 4:03 secs Information: 1 error Information: 0 warnings Information: See complete output in console
Gradle Console
Executing tasks: [: app: uninstallAll]
Configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. : app: uninstallDebug
idea.log
2016-08-26 17: 18: 16,722 [1226128] INFO - a.gradle.invoker.GradleInvoker - About to execute Gradle tasks: [: app: uninstallAll] 2016-08-26 17: 18: 16,773 [1226179] INFO - s.plugins.gradle.GradleManager - Instruction gradle to use java from C: / Program Files / Java / jdk1.8.0_45
How can I do to uninstall an application before installing it with Android Studio, without going through these problems described above? How do I resolve this?