Android 2

[Android][ERROR]The application's minSdkVersion is newer than the device API level 해결 방법.

문제 새로운 안드로이드 프로젝트를 만들어서 진행하려고 하는데 빌드 시 다음과 같은 에러가 났습니다. Installation did not succeed. The application could not be installed: INSTALL_FAILED_OLDER_SDK. The application's minSdkVersion is newer than the device API level. 무슨 문제인가 싶어서 확인해보니 현재 저의 VM의 SDK버전이 제가 프로젝트에서 셋팅한 최소 버전의 SDK버전 보다 낮아서 발생하는 문제였습니다. 해결하기 위해서 최소 SDK 버전을 더 낮춰야 했는데 방법은 아래와 같습니다. 해결방법 먼저 build.gradle 파일을 열어줍니다. 위치는 Project -> app -..

안드로이드 More than one file was found with OS independent path '?'

안드로이드 개발중 jar 파일 추가하고 나서 More than one file was found with OS independent path ‘build.xml’ 과 같은 에러가 발생했습니다. 대충 OS에서 중복된 경로가 발견돼서 에러가 발생하는 문제로 위의 경로를 gradle에서 패키징옵션의 exclude로 처리해주니 해결되었습니다. 프로젝트경로의 Gradle Scripts에서 build.gradle (Module: app) 이라고 되어있는 파일에 들어가서 android { compileSdkVersion 28 buildToolsVersion '28.0.3' packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' excl..