android - How can I deploy a release signed apk to attached device using gradle? -


i have keystore file 2 keys: 1 debug build , release build type. gradle build script generates 2 apks on need. now, deploy debug build apk android gradle plugin has installdebug task in how deploying release build apk? andorid gradle plugin doesn't have task installrelease. how can deploy release build apk directly connected devices using gradle?

the android gradle plugin includes installrelease task if don't see there signing configuration problem.

from documentation:

finally, plugin creates install/uninstall tasks build types (debug, release, test), long can installed (which requires signing).

you can try figure out what's wrong signingreport task:

./gradlew signingreport 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -