This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo | |
pkill -SIGSTOP studio | |
printf "============> Suspending Android Studio <============" | |
gradleCommand="./gradlew ${@}" | |
eval ${gradleCommand} | |
pkill -SIGCONT studio | |
printf "============> Resume Android Studio <============" | |
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/src/debug/java/com/akhil/sampleapp/CustomMultiDexApplication.java | |
package com.akhil.sampleapp; | |
import android.support.multidex.MultiDexApplication; | |
import com.squareup.leakcanary.AndroidExcludedRefs; | |
import com.squareup.leakcanary.LeakCanary; | |
import com.squareup.leakcanary.RefWatcher; | |