2014-11-09 9 views
0

안녕 메신저 모토 (360)에 응용 프로그램을 추진하는 데 문제가, 내가 [1]Android Wear 앱은 360

[1] [솔루션] 따랐다 모토로 추진되지 . Im은 SDK 19가있는 Galaxy Note 2를 사용하거나 im이없는 경우 문제가 있는지 확실하지 않습니다.

다음은 내 마모 빌드 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' 
} 

와 어떤 도움이 기꺼이 감사하겠습니다

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') 

} 

내 휴대폰 빌드 Gradle을합니다. 고맙습니다 .

+0

APK에 서명했거나 출시 했습니까? 이는 웨어러블 앱이 웨어러블에 자동으로 동기화되는 유일한 시간입니다. – kentarosu

+0

답장을 보내 주셔서 감사합니다 .. 안드로이드 스튜디오에서 Generate Signed APK 옵션을 사용하여 릴리스 키를 생성했습니다. 갤럭시 노트 2를 사용하여 눈치 챘는데, 안드로이드 마모 앱이 에뮬레이터와 시계에 연결되어있는 것을 보여줍니다. 이 느낌은 내가 시계를 블루투스를 통해 디버깅에 연결할 수 없기 때문에 발생하는 문제입니다. 나중에 문제가 해결되는지 확인하기 위해 넥서스 5를 테스트 해 봅니다. – n4zg

답변

0

문제는 삼성 갤럭시 노트 2와 관련이 있습니다. 어떤 이유로 Android 착용 앱에서 에뮬레이터 모드에 있었고 시계 모드로 전환 할 수 없기 때문에 블루투스를 허용하지 않습니다. 터미널에서 다음 명령을 추가하여 Moto 360을 나는 넥서스 5를 가지고 있으며 모든 분류되었다 ..

에 연결 .. 휴대 전화에서 모토 (360)에 연결할 수 있습니다

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

도움이 되었기를 바랍니다.