're-installation signatures lunch canceled'에 해당되는 글 1건

  1. 2010.04.06 안드로이드 에뮬 실행시 에러...
아침에 출근해서 집에서 수정해서 가지고 온 프로젝트를 그대로 엎어서(?) 실행을 했더니
갑자기 아래의 글과 함께 에뮬이 실행되지 않는다.

Re-installation failed due to different application signatures.
You must perform a full uninstall of the application. WARNING: This will remove the application data!
Please execute 'adb uninstall com.example.uimain' in a shell.
Launch canceled!

위와 관련글을 찾아보니 사람들이 상세히 설명해 놓았다.
 에뮬레이터에 프로그램을 컴파일하고 인스톨이 되는데, 프로그램 소스의 변화가 심할경우 (예를 들어 AndroidManifest.xml을 건드리거나 맵뷰의 apikey 설정)을 건드릴 경우, 에뮬상의 프로그램하고  시그너쳐 (그러니까 프로그램을 식별할 수 있는 값)가 달라져서 에러가 발생한다는 것이다 .해결방법은 이렇다.

1.   c:\Documents and Settings\<사용자디렉토리>\Local Settings\Application Data\Android\SDK-1.1 이 디렉토리 밑에 userdata-qemu.img  파일을 삭

2. Please execute 'adb uninstall com.example.uimain' in a shell. 라는 메세지 대로 쉘에서 'adb uninstall com.example.uimain' 라고 친다

3. 실행된 에뮬레이터에서 Settings -> Applications -> Manageapplications -> 해당 App 을 직접 Uninstall 시킨다.

3가지중 한가지를 선택해서 실행하면 된다..
Posted by 컴투