Tuesday, 15 June 2010

Android wear app not being pushed to Moto 360 -



Android wear app not being pushed to Moto 360 -

hi im having problems pushing an app moto 360, have followed [solution][1]

[1]: android wear app not installing through handset , followed android devolopers pages. im not sure if the problem due using galaxy note 2 has sdk 19 or if im missing something.

below wear build gradle

apply plugin: 'com.android.application' android { compilesdkversion 21 buildtoolsversion "20.0.0" defaultconfig { applicationid "" minsdkversion 20 targetsdkversion 20 versioncode 1 versionname "1.0" } buildtypes { release { runproguard false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.google.android.support:wearable:1.0.0' compile 'com.google.android.gms:play-services-wearable:6.1.71' }

and handset build gradle

apply plugin: 'com.android.application' android { compilesdkversion 19 buildtoolsversion "20.0.0" defaultconfig { applicationid "" minsdkversion 19 targetsdkversion 20 versioncode 1 versionname "1.0" } buildtypes { release { runproguard false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { // compile 'com.android.support:appcompat-v7:18.0.+' compile filetree(dir: 'libs', include: ['*.jar']) //compile 'com.google.android.support:wearable:+' //compile 'com.google.android.gms:play-services-wearable:+' compile files('libs/gson-2.3.jar') compile files('libs/jericho-html-3.3.jar') compile files('libs/jsoup-1.8.1.jar') compile files('libs/android-rss.jar') compile files('libs/volley.jar') compile files('libs/localytics-2.6.jar') compile 'com.android.support:appcompat-v7:21.0.0' compile project(':facebook') compile 'com.android.support:support-v4:20.0.+' compile files('libs/localytics.jar') wearapp project(':wear') }

any help gratefully appreciated. give thanks .

the problem related samsung galaxy note 2, reason in emulator mode on android wear app , wouldn't allow me switch watch mode, meant wouldn't allow bluetooth connection moto 360. got nexus 5 , sorted..

by adding next commands in terminal allows connection moto 360 phone..

adb forwards tcp:4444 localabstract:/adb-hub adb connect localhost:4444

i hope helps..

android android-wear build.gradle

No comments:

Post a Comment