G3M
G3M

Reputation: 1031

Unable to install glass sample using adb on MAC

I am trying to install Timer sample from GDK onto my glass. adb is configured correctly and picks up the device. However when i try to do install the sample app i get the following error

2671 KB/s (228119 bytes in 0.083s) pkg: /data/local/tmp/MenuActivity.apk Failure [INSTALL_FAILED_OLDER_SDK]

My AndroidManifest.xml file looks like this

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.google.android.glass.sample.timer"
    android:versionCode="5"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="19"
        android:targetSdkVersion="19" />

I have updated the SDK to the latest version there is.

Also i dont see the device being picked up by Eclipse device chooser while launching the app. I am guessing it is related to the SDK issue. Any help on fixing this?

Upvotes: 1

Views: 161

Answers (1)

matiash
matiash

Reputation: 55350

XE12 is API level 15. XE16 is API level 19 (KitKat, check the release notes).

You should either update your device (strange that it didn't do so automatically) or change your <uses-sdk> to 15.

Upvotes: 1

Related Questions