본문 바로가기
반응형

안드로이드 스튜디오 오류9

[Android Studio] android.content.res.Resources$NotFoundException: String resource ID #0x5 에러 발생 해결하기 숫자를 출력하기 위해 setText를 사용하다 위와 같은 오류 메시지를 발견할 때가 있습니다. android.content.res.Resources$NotFoundException: String resource ID Random random = new Random(); int number_max = getIntent().getExtras().getInt("number_max"); int number_min = getIntent().getExtras().getInt("number_min"); Log.d(TAG,"최대값 : "+number_max); Log.d(TAG,"최소값 : "+number_min); int randomNum = random.nextInt(number_max); textView_numb.. 2023. 7. 6.
[Android Studio 오류] Please specify destination folder for the signed bundle AAB 파일 생성시 오류 수정하기 다 완성한 어플리케이션 파일에서 aab 파일을 추출하려할 때 아래와 같은 오류가 발생 Please specify destination folder for the signed bundle 라는 경고 메세지가 띄게 되는데 서명한 번들의 목적 폴더를 지정해달라는 의미입니다. Export encrypted Key for enrolling pulished apps in Google Play App Signing의 체크박스안에 체크를 풀어주고 Next 버튼을 누르면 해당 경고 메세지가 뜨지 않고 정상적으로 aab파일을 추출할 수 있습니다. 2023. 7. 2.
Build was configured to prefer settings repositories over project repositories... 오류 해결 [안드로이드 스튜디오] Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle' 라는 오류를 해결하기 위해서 해석을 해보자면 "프로젝트 repositories보다 설정 repositories를 선호하도록 빌드가 구성되었지만 repositories 'Google'이 빌드 파일 'build.gradle'에 의해 추가되었습니다." 라고 되어있습니다. setting.gradle에서 dependencyResolutionManagement{---}에 해당하는 내용을 모두 지워주면 프로젝트 repositories보다 설정 repositories를.. 2023. 6. 27.
[안드로이드 스튜디오] Build was configured to prefer settings repositories over project repositories... 오류 해결 Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle' 라는 오류를 해결하기 위해서 해석을 해보자면 "프로젝트 repositories보다 설정 repositories를 선호하도록 빌드가 구성되었지만 repositories 'Google'이 빌드 파일 'build.gradle'에 의해 추가되었습니다." 라고 되어있습니다. setting.gradle에서 dependencyResolutionManagement{---}에 해당하는 내용을 모두 지워주면 프로젝트 repositories보다 설정 repositories를.. 2023. 6. 24.
반응형