Notice
Recent Posts
Recent Comments
Link
투케이2K
181. (AndroidStudio/android/java) 프로젝트 메모리 (memory) 용량 늘리기 및 largeHeap 설정 - out of memory 발생 시 설정 본문
Android
181. (AndroidStudio/android/java) 프로젝트 메모리 (memory) 용량 늘리기 및 largeHeap 설정 - out of memory 발생 시 설정
투케이2K 2021. 9. 5. 11:57[개발 환경 설정]
개발 툴 : AndroidStudio
개발 언어 : java
[폴더 및 파일설정]
[소스 코드]
<application
android:allowBackup="false"
android:icon="@mipmap/ic_logo"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_logo"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:largeHeap="true"
android:hardwareAccelerated="false"
android:usesCleartextTraffic="true"
android:screenOrientation="portrait">
<!-- application 등록 설명 -->
<!-- 1) android:usesCleartextTraffic="true" : https 를 사용할 수 있다 -->
<!-- 2) android:largeHeap="true" : 기본 애플리케이션 사용 메모리 용량 늘린다 -->
<!-- 3) android:hardwareAccelerated="true" : 애플리케이션 성능 가속화를 허용한다 -->
<!-- 4) android:icon="@drawable/test_applogo_icon" : 커스텀으로 앱 설치 시 표시되는 아이콘 설정한다 -->
<!-- 5) android:roundIcon="@drawable/test_applogo_icon" : 커스텀으로 푸시 발생시 표시되는 아이콘 설정한다 -->
<!-- 6) android:theme="@style/AppTheme" : 기본 애플리케이션 액션바 표시 여부를 설정한다 (styles.xml 파일) -->
<!-- 7) android:allowBackup="false" : 애플리케이션 삭제 후 재설치시 데이터를 초기화 시킨다 -->
<!-- 8) android:excludeFromRecents = "true" 최근 앱 작업 목록에 남지 않는다 -->
<!-- 9) android:screenOrientation="portrait" 항상 앱 화면을 세로 표시하겠다-->
</application>
반응형
'Android' 카테고리의 다른 글
Comments