IT박스

Android 앱이 설치되지 않았습니다.

itboxs 2020. 7. 8. 08:06
반응형

Android 앱이 설치되지 않았습니다. 서명이 충돌하는 동일한 이름의 기존 패키지가 이미 설치되어 있습니다.


내 에뮬레이터에서 프로그래밍 방식으로 APK를 업그레이드하려고 할 때. 나는 얻다:

Android App Not Install.

An existing package by the same name with a conflicting signature is already installed

여기에 이미지 설명을 입력하십시오

나는 여전히이 업그레이드의 테스트 단계에 있으므로 다운로드 한 파일은 이전 버전의 서명 된 apk이며 문제없이 작동해야한다고 생각합니다.

제안에서 : 프로파일 링 서명이있는 동일한 이름의 기존 패키지가 이미 설치되어 있습니다. 디버그 모드와 일반 모드 모두에서 에뮬레이터를 실행하려고 시도했지만 작동하지 않았습니다.

내가 잃어버린 것에 대한 생각이 있습니까?


문제는 APK에 서명하는 데 사용 된 키입니다. 기본적으로 IDE에서 직접 실행하고 에뮬레이터를 열면 에뮬레이터에 설치된 APK가 디버그 키로 서명됩니다 (보통 ~ / .android에 설치됨) /debug.keystore)와 같이 이전 APK에 현재 사용중인 것과 다른 키로 서명 한 경우 서명을 충돌시키기 위해 항상 서명 충돌이 발생합니다. 수정하려면 동일한 키를 사용하여 서명해야합니다. 이전 APK가 다른 SDK의 디버그 키로 서명 된 경우에도 두 APK 모두 키가 다릅니다.

또한 apk에 서명하기 전에 어떤 키가 사용되었는지 정확히 모르지만 새 버전의 앱을 설치하려는 경우 이전 응용 프로그램을 제거하고 새 응용 프로그램을 다시 설치하면됩니다.

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

문안 인사!


나는 같은 오류 메시지가 있었지만이 답변은 도움이되지 않았습니다. 4.3 넥서스 7에서는 소유자가 아닌 사용자를 사용하고있었습니다. 이전 버전을 제거했지만 동일한 메시지가 계속 나타납니다.

해결 방법 : 소유자로 로그인하고 설정-> 앱으로 이동 한 다음 모두 탭으로 스 와이프해야했습니다. 이전 버전이 '설치되지 않음'으로 표시되어있는 목록의 맨 끝으로 스크롤하십시오. 그것을 선택하고 오른쪽 상단 모서리에있는 '설정'버튼을 누르고 마지막으로 '모든 사용자를위한 제거'


 Go to Settings > Apps, find and open the app info. Then, open the overflow menu (3 vertical dots), and choose Uninstall for all users.

여기에 이미지 설명을 입력하십시오

설정> 앱으로 이동하여 앱 정보를 찾아서 엽니 다. 그런 다음 오버플로 메뉴 (3 개의 수직 점)를 열고 모든 사용자에 대해 제거를 선택하십시오.


서명 된 APK 파일과 서명되지 않은 APK 파일에는 차이가 있습니다. 아마도 당신은 이전에 서명하지 않았을 것입니다. 서명 된 버전을 설치하기 전에 서명되지 않은 사람을 삭제하면됩니다. 이 작업을 수행하는 방법은 정확한 버전에 따라 다르지만 일반적으로 에뮬레이터에서 설정-> 응용 프로그램으로 이동하여 앱을 길게 클릭 한 다음 삭제 / 제거 / 제거합니다.


디버그 APK를 사용하는 경우 서명하는 데 사용되는 키는

C:\Users\<user>\.android\debug.keystore

동일한 키를 사용하는 경우 설치시 충돌이 없어야합니다.


키 저장소 파일을 사용하지 않으려면 모든 사용자에 대해 패키지를 모두 제거하십시오.

Mac / PC와 장치를 연결하고 실행 adb uninstall <package>

나를 위해 일했다.

참조 : https://android.stackexchange.com/questions/92025/how-to-completely-uninstall-an-app-on-android-lollipop


If above solutions did not work for you then you may have doing something as following ..

1) installing the app from Appstore.
2) updating it with sign APK with same package name updated version.

So basically there are two kinds if APK's.

1) you uploaded on playstore known as original APK.
2) download from playstore known as derived APK.

In this case basically you are downloading derived apk and updating it with original APK.

For let it work fine uploaded new signed released APK in the internal test mode on the Google Play Store and download the derived APK to check the update scenario.

여기에 이미지 설명을 입력하십시오


If you use multiple users at android, verify that the app is uninstalled everywhere.


I had an issue where both debug and release build won't install on devices I used for debugging. The same msg would appear when trying to install the new version. The only workaround was to uninstall the current version and install the new one.

It looks like Android studio marks the apk it installs so that installation using the package managers would distinguish between version installed for debugging and versions downloaded from Google play or other external sources (this never happened to me when using eclipse).


Same package error:

  1. Create a new Package in your app with different name.
  2. Copy and paste all file in your old package to new Package.
  3. Save Code.
  4. Delete old Package And Clean and rebuild project.

여기에 이미지 설명을 입력하십시오I had to login as the owner and go to Settings -> Apps, then swipe to the All tab. Scroll down to the very end of the list where the old versions are listed with a mark 'not installed'. Select it and press the 'settings' button in the top right corner and finally 'uninstall for all users'


It may be application is not uninstall successful. If your device is this case, you can try this method.

First get the package name of the application, e.g 'com.xxx.app', you can use Root Explorer and find it from Manifest file(RE can decode the file). then you can use this script to uninstall it:

adb shell pm uninstall com.xxx.app // replace to package name that you want to remove

There may be another reason when your application will not update when you either change/add/remove shareId in AndroidManifiest.

"android:sharedUserId"

Please check that also.

To prevent would recommend to use sharedUserId in your application despite in your current requirement you need or now.


I tried all the above and it did not work.

I found that in spite of uninstalling the app a new version of the app still gives the same error.

This is what solved it: go to Settings -> General -> application Manager -> choose your app -> click on the three dots on the top -> uninstall for all users

Once you do this, now it is actually uninstalled and will now allow your new version to install.

Hope this helps.


from android studio go to:

Gradle -> install -> uninstallAll

that will solve problem.

참고URL : https://stackoverflow.com/questions/19959890/android-app-not-install-an-existing-package-by-the-same-name-with-a-conflicting

반응형