Skip to content Skip to sidebar Skip to footer

Android Wear-debug.apk Shows Parsing Error

i placed configuration as wear and run it into emulator, then i found apk in my project output folder. i emailed that one, at the time of installation on wearable watch it shows th

Solution 1:

I had a same error just make sure that the micro app is signed.

Here is a snippet of my wearable build.gradle:

android {
    compileSdkVersion 20
    buildToolsVersion "20.0.0"

    defaultConfig {
        applicationId "my.package.name"// same as the main app!
        minSdkVersion 20
        targetSdkVersion 20
        versionCode 1
        versionName "1.0"
    }
    signingConfigs {
        release {
            storeFile file("path/to/keystore")
            storePassword '...'
            keyAlias '...'
            keyPassword '...'
        }
    }
    buildTypes {
        debug {
            runProguard false
            signingConfig signingConfigs.release
        }
        release {
            runProguard true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.release
        }
    }
}

Post a Comment for "Android Wear-debug.apk Shows Parsing Error"