[IT]/모바일

[모바일][안드로이드] Re-installation error 해결법

jamesku 2012. 8. 29. 21:25

 

 

 

ApiDemos 실행시키는데 아래와 같이 에러가 났다.
에뮬레이터와 프로그램과 시그너쳐가 달라져서 재설치하라는 얘기..

해결방법

1) 에뮬레이터 상에서 settings > applications > Manage application 에서 ApiDemos application 삭제

2) 아니면 터미널상에서 adb uninstall com.example.android.apis 라고 실행

cmd -> adb uninstall com.example.android.apis
path : C:\Program Files\Android\android-sdk\platform-tools


다음은 내 에러내용이다.

[2012-08-29 20:45:53 - ApiDemos] ------------------------------
[2012-08-29 20:45:53 - ApiDemos] Android Launch!
[2012-08-29 20:45:53 - ApiDemos] adb is running normally.
[2012-08-29 20:45:53 - ApiDemos] Performing com.example.android.apis.ApiDemos activity launch
[2012-08-29 20:45:53 - ApiDemos] Automatic Target Mode: launching new emulator with compatible AVD '2.2'
[2012-08-29 20:45:53 - ApiDemos] Launching a new emulator with Virtual Device '2.2'
[2012-08-29 20:45:54 - ApiDemos] New emulator found: emulator-5554
[2012-08-29 20:45:54 - ApiDemos] Waiting for HOME ('android.process.acore') to be launched...
[2012-08-29 20:46:14 - ApiDemos] WARNING: Application does not specify an API level requirement!
[2012-08-29 20:46:14 - ApiDemos] Device API version is 8 (Android 2.2)
[2012-08-29 20:46:14 - ApiDemos] HOME is up on device 'emulator-5554'
[2012-08-29 20:46:14 - ApiDemos] Uploading ApiDemos.apk onto device 'emulator-5554'
[2012-08-29 20:46:18 - ApiDemos] Installing ApiDemos.apk...
[2012-08-29 20:46:41 - ApiDemos] Re-installation failed due to different application signatures.
[2012-08-29 20:46:41 - ApiDemos] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2012-08-29 20:46:41 - ApiDemos] Please execute 'adb uninstall com.example.android.apis' in a shell.
[2012-08-29 20:46:41 - ApiDemos] Launch canceled!
[2012-08-29 20:47:55 - ApiDemos] ------------------------------



출처
http://corehunter.tistory.com/8