Android Wear app not installing through handset

To Answer @odiggity specifically, in build.gradle file of your phone app, you should mention the exact name of the wear app folder. If you created the project in Android Studio, then your build.gradle should look like this: wearApp project(‘:wear’) This can happen because of the following reasons: Wear & Mobile app’s “permissions” are not same … Read more

How to retrieve Key Alias and Key Password for signed APK in android studio(migrated from Eclipse)

On the Mac, I found the keystore file path, password, key alias and key password in an earlier log report before I updated Android Studio. I launched the Console utility and scrolled down to ~/Library/Logs -> AndroidStudioBeta ->idea.log.1 (or any old log number) Then I searched for “android.injected.signing.store” and found this from an earlier date: … Read more

Change apk name with Gradle

As CommonsWare wrote in his comment, you should call appendVersionNameVersionCode only for staging variants. You can easily do that, just slightly modify your appendVersionNameVersionCode method, for example: def appendVersionNameVersionCode(variant, defaultConfig) { //check if staging variant if(variant.name == android.buildTypes.staging.name){ if(variant.zipAlign) { def file = variant.outputFile def fileName = file.name.replace(“.apk”, “-” + defaultConfig.versionName + “-” + defaultConfig.versionCode … Read more