android - Why does Gradle build my project twice -
first click rebuild android app project , click run app. notice app built twice.
the event log shows:
01:17:57 executing tasks: [clean, :app:generatedebugsources, :app:generatedebugandroidtestsources, :app:mockableandroidjar, :app:preparedebugunittestdependencies, :app:compiledebugsources, :app:compiledebugandroidtestsources, :app:compiledebugunittestsources] 01:18:06 gradle build finished in 8s 559ms 01:18:12 executing tasks: [:app:clean, :app:generatedebugsources, :app:generatedebugandroidtestsources, :app:mockableandroidjar, :app:preparedebugunittestdependencies, :app:assembledebug] 01:18:20 gradle build finished in 8s 407ms
i haven't changed code before clicking run
, why gradle have build project again instead of deploying app directly?
Comments
Post a Comment