설치된 Android 버전이 Lollipop 5.1 (AZPEN A1040 태블릿-최신 버전 사용 가능) 인 Android 기기 용 앱을 작성했습니다.
앱이 에뮬레이터에서 올바르게 설치되고 작동합니다 (Lollipop 5.1 기기를 에뮬레이션하도록 설정).
그러나 문제없이 보관 한 후 앱의 apk 파일을 실제 대상 장치에 설치하려고하면 다음 오류가 발생합니다.
"패키지를 구문 분석하는 중에 문제가 발생했습니다."
Visual Studio 2015의 프로젝트 속성은 아래 그래픽에 표시됩니다.
프로젝트에서 참조 된 모든 라이브러리가 아래 그림에 표시됩니다.
I have neither errors nor warnings during the build, deploy to emulator or archiving processes.
The target device has already the following settings enabled:
EDIT: To add pertinent info based on comments below
At this point I'm at a loss as to what to do to make this install on the target device.
Any ideas?
Figured it out what the issue was. The settings on the device under "About Tablet" displayed the Android Version as 5.1. Because of that, I set the Minimum Android Target in the Visual Studio project as "Android 5.1 (API Level 22 - Lollipop)".
@Jon_Douglas의 의견을 읽은 후 총알을 깨물고 클라이언트에게 문제 해결을 위해 그의 장치를 사용하도록 요청하기로 결정했습니다. 장치를 연결하면 Visual Studio에서 "AZPEN A1040 (Android 5.0-API 21)"로 선택했습니다.
최소 Android 대상을 "Android 5.0 (API 레벨 21-Lollipop)"으로 변경하고 apk를 설치할 수있었습니다. 아래의 설정 이미지를 위에 처음 제공된 이미지와 비교하십시오.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다