protected boolean undeployApk ( File apkFile ) throws MojoExecutionException , MojoFailureException { final String packageName ; packageName = extractPackageNameFromApk ( apkFile ) ; return undeployApk ( packageName ) ; }
Undeploys an apk from a connected emulator or usb device . Also deletes the application s data and cache directories on the device .