물에 살고싶은 개발자

[React-Native] apk 생성하는 방법(+@ 오류 발생 시 대처법) 본문

React-Native

[React-Native] apk 생성하는 방법(+@ 오류 발생 시 대처법)

돼지사랑 2019. 7. 26. 15:35

번거롭게 어쩌고저쩌고 다 제끼고 바로 본론



  1. apk를 만들 프로젝트 폴더로 이동(index.js 혹은 index.android.js가 있는 루트폴더)

  2. 프로젝트 폴더에 index.js가 있을 경우
    react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
    를 실행

  3. index.android.js가 있을 경우는
    react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/debug
    를 실행

  4. 프로젝트 폴더에 있는 android 폴더로 이동

  5. 디버그apk를 뽑으려면 ./gradlew assembleDebug -> 참고로 이건 디버그서버가 켜져있어야 앱이 시동됨

  6. 릴리즈 apk를 뽑으려면 ./gradlew assembleRelease

  7. 혹시 BUILD FAILED 이 뜨면 한두번정도는 다시 시도해보기



이면 참 좋겠지만 추가로 이런류의 에러가 날 수 있다.


(에러로그 보기 힘든사람이 있을 수 있으니 위에서 해결법을 설명하겠음)


이 수많은줄의 에러로그에서 핵심은 잘 보면 Error: Duplicate resources 라고 있다.

아래 로그에서도 해당부분은 파란색으로 바꿔둠. 이게 결국 문제인데,

익숙한사람도 있겠지만 아무튼 이 오류는 아래 경로로 이동해서 drawable폴더를 모두 삭제하면 해결된다.


android / app / src / main / res / 



말 그대로 이미지가 겹쳐서 생긴 오류이기때문ㅇㅇ


진짜 끝 ! 아래는 에러로그 


> Task :app:mergeReleaseResources FAILED

[drawable-hdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-hdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png [drawable-hdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-hdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_negative_01] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_01.png     [drawable-mdpi-v4/image_background_negative_01] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_01.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_negative_02] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_02.png     [drawable-mdpi-v4/image_background_negative_02] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_02.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_negative_03] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_03.png     [drawable-mdpi-v4/image_background_negative_03] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_03.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_negative_04] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_04.png     [drawable-mdpi-v4/image_background_negative_04] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_04.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_negative_05] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_05.png     [drawable-mdpi-v4/image_background_negative_05] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_05.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_positive_01] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_01.png     [drawable-mdpi-v4/image_background_positive_01] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_01.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_positive_02] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_02.png     [drawable-mdpi-v4/image_background_positive_02] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_02.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_positive_03] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_03.png     [drawable-mdpi-v4/image_background_positive_03] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_03.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_positive_04] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_04.png     [drawable-mdpi-v4/image_background_positive_04] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_04.png: Error: Duplicate resources

[drawable-mdpi-v4/image_background_positive_05] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_05.png     [drawable-mdpi-v4/image_background_positive_05] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_05.png: Error: Duplicate resources

[drawable-mdpi-v4/image_back_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_back_btn.png [drawable-mdpi-v4/image_back_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_back_btn.png: Error: Duplicate resources

[drawable-mdpi-v4/image_close_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_close_btn.png       [drawable-mdpi-v4/image_close_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_close_btn.png: Error: Duplicate resources

[drawable-mdpi-v4/image_cloud_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_cloud_select.png [drawable-mdpi-v4/image_cloud_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_cloud_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_cloud_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_cloud_unselect.png     [drawable-mdpi-v4/image_cloud_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_cloud_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/image_comment_write_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_comment_write_btn.png       [drawable-mdpi-v4/image_comment_write_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_comment_write_btn.png: Error: Duplicate resources

[drawable-mdpi-v4/image_em119_icon] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_em119_icon.png     [drawable-mdpi-v4/image_em119_icon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_em119_icon.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_negative1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative1.png     [drawable-mdpi-v4/image_emoticon_negative1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative1.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_negative2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative2.png     [drawable-mdpi-v4/image_emoticon_negative2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative2.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_negative3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative3.png     [drawable-mdpi-v4/image_emoticon_negative3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative3.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_negative4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative4.png     [drawable-mdpi-v4/image_emoticon_negative4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative4.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_negative5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative5.png     [drawable-mdpi-v4/image_emoticon_negative5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative5.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_positive1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive1.png     [drawable-mdpi-v4/image_emoticon_positive1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive1.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_positive2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive2.png     [drawable-mdpi-v4/image_emoticon_positive2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive2.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_positive3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive3.png     [drawable-mdpi-v4/image_emoticon_positive3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive3.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_positive4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive4.png     [drawable-mdpi-v4/image_emoticon_positive4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive4.png: Error: Duplicate resources

[drawable-mdpi-v4/image_emoticon_positive5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive5.png     [drawable-mdpi-v4/image_emoticon_positive5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive5.png: Error: Duplicate resources

[drawable-mdpi-v4/image_hitag_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_hitag_select.png [drawable-mdpi-v4/image_hitag_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_hitag_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_hitag_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_hitag_unselect.png     [drawable-mdpi-v4/image_hitag_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_hitag_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_negative1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative1.png [drawable-mdpi-v4/image_map_emoticon36_negative1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative1.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_negative2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative2.png [drawable-mdpi-v4/image_map_emoticon36_negative2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative2.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_negative3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative3.png [drawable-mdpi-v4/image_map_emoticon36_negative3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative3.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_negative4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative4.png [drawable-mdpi-v4/image_map_emoticon36_negative4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative4.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_negative5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative5.png [drawable-mdpi-v4/image_map_emoticon36_negative5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative5.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_positive1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive1.png [drawable-mdpi-v4/image_map_emoticon36_positive1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive1.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_positive2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive2.png [drawable-mdpi-v4/image_map_emoticon36_positive2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive2.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_positive3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive3.png [drawable-mdpi-v4/image_map_emoticon36_positive3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive3.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_positive4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive4.png [drawable-mdpi-v4/image_map_emoticon36_positive4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive4.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_emoticon36_positive5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive5.png [drawable-mdpi-v4/image_map_emoticon36_positive5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive5.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_select.png     [drawable-mdpi-v4/image_map_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_map_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_unselect.png [drawable-mdpi-v4/image_map_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/image_profile_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_profile_select.png     [drawable-mdpi-v4/image_profile_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_profile_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_profile_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_profile_unselect.png [drawable-mdpi-v4/image_profile_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_profile_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/image_setting_icon] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_setting_icon.png [drawable-mdpi-v4/image_setting_icon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_setting_icon.png: Error: Duplicate resources

[drawable-mdpi-v4/image_share_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_share_btn.png       [drawable-mdpi-v4/image_share_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_share_btn.png: Error: Duplicate resources

[drawable-mdpi-v4/image_share_map_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_share_map_btn.png       [drawable-mdpi-v4/image_share_map_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_share_map_btn.png: Error: Duplicate resources

[drawable-mdpi-v4/image_splash_temp] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_splash_temp.png   [drawable-mdpi-v4/image_splash_temp] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_splash_temp.png: Error: Duplicate resources

[drawable-mdpi-v4/image_start_test] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_start_test.png     [drawable-mdpi-v4/image_start_test] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_start_test.png: Error: Duplicate resources

[drawable-mdpi-v4/image_testhi_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_testhi_select.png       [drawable-mdpi-v4/image_testhi_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_testhi_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_testhi_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_testhi_unselect.png   [drawable-mdpi-v4/image_testhi_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_testhi_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/image_timeline_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_timeline_select.png   [drawable-mdpi-v4/image_timeline_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_timeline_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_timeline_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_timeline_unselect.png       [drawable-mdpi-v4/image_timeline_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_timeline_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/image_title_logo] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_title_logo.png     [drawable-mdpi-v4/image_title_logo] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_title_logo.png: Error: Duplicate resources

[drawable-mdpi-v4/image_toggle_btn_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_toggle_btn_select.png       [drawable-mdpi-v4/image_toggle_btn_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_toggle_btn_select.png: Error: Duplicate resources

[drawable-mdpi-v4/image_toggle_btn_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_toggle_btn_unselect.png   [drawable-mdpi-v4/image_toggle_btn_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_toggle_btn_unselect.png: Error: Duplicate resources

[drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png [drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

[drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backiconmask] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backiconmask.png [drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backiconmask] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backiconmask.png: Error: Duplicate resources

[drawable-xhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-xhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png       [drawable-xhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-xhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

[drawable-xxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-xxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png     [drawable-xxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-xxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

[drawable-xxxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-xxxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png   [drawable-xxxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-xxxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:mergeReleaseResources'.

> [drawable-hdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-hdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png       [drawable-hdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-hdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_negative_01] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_01.png   [drawable-mdpi-v4/image_background_negative_01] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_01.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_negative_02] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_02.png   [drawable-mdpi-v4/image_background_negative_02] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_02.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_negative_03] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_03.png   [drawable-mdpi-v4/image_background_negative_03] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_03.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_negative_04] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_04.png   [drawable-mdpi-v4/image_background_negative_04] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_04.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_negative_05] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_negative_05.png   [drawable-mdpi-v4/image_background_negative_05] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_negative_05.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_positive_01] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_01.png   [drawable-mdpi-v4/image_background_positive_01] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_01.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_positive_02] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_02.png   [drawable-mdpi-v4/image_background_positive_02] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_02.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_positive_03] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_03.png   [drawable-mdpi-v4/image_background_positive_03] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_03.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_positive_04] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_04.png   [drawable-mdpi-v4/image_background_positive_04] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_04.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_background_positive_05] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_background_positive_05.png   [drawable-mdpi-v4/image_background_positive_05] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_background_positive_05.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_back_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_back_btn.png       [drawable-mdpi-v4/image_back_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_back_btn.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_close_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_close_btn.png     [drawable-mdpi-v4/image_close_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_close_btn.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_cloud_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_cloud_select.png       [drawable-mdpi-v4/image_cloud_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_cloud_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_cloud_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_cloud_unselect.png   [drawable-mdpi-v4/image_cloud_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_cloud_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_comment_write_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_comment_write_btn.png     [drawable-mdpi-v4/image_comment_write_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_comment_write_btn.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_em119_icon] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_em119_icon.png   [drawable-mdpi-v4/image_em119_icon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_em119_icon.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_negative1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative1.png   [drawable-mdpi-v4/image_emoticon_negative1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative1.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_negative2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative2.png   [drawable-mdpi-v4/image_emoticon_negative2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative2.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_negative3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative3.png   [drawable-mdpi-v4/image_emoticon_negative3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative3.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_negative4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative4.png   [drawable-mdpi-v4/image_emoticon_negative4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative4.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_negative5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_negative5.png   [drawable-mdpi-v4/image_emoticon_negative5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_negative5.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_positive1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive1.png   [drawable-mdpi-v4/image_emoticon_positive1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive1.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_positive2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive2.png   [drawable-mdpi-v4/image_emoticon_positive2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive2.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_positive3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive3.png   [drawable-mdpi-v4/image_emoticon_positive3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive3.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_positive4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive4.png   [drawable-mdpi-v4/image_emoticon_positive4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive4.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_emoticon_positive5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_emoticon_positive5.png   [drawable-mdpi-v4/image_emoticon_positive5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_emoticon_positive5.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_hitag_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_hitag_select.png       [drawable-mdpi-v4/image_hitag_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_hitag_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_hitag_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_hitag_unselect.png   [drawable-mdpi-v4/image_hitag_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_hitag_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_negative1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative1.png       [drawable-mdpi-v4/image_map_emoticon36_negative1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative1.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_negative2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative2.png       [drawable-mdpi-v4/image_map_emoticon36_negative2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative2.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_negative3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative3.png       [drawable-mdpi-v4/image_map_emoticon36_negative3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative3.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_negative4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative4.png       [drawable-mdpi-v4/image_map_emoticon36_negative4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative4.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_negative5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_negative5.png       [drawable-mdpi-v4/image_map_emoticon36_negative5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_negative5.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_positive1] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive1.png       [drawable-mdpi-v4/image_map_emoticon36_positive1] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive1.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_positive2] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive2.png       [drawable-mdpi-v4/image_map_emoticon36_positive2] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive2.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_positive3] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive3.png       [drawable-mdpi-v4/image_map_emoticon36_positive3] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive3.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_positive4] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive4.png       [drawable-mdpi-v4/image_map_emoticon36_positive4] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive4.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_emoticon36_positive5] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_emoticon36_positive5.png       [drawable-mdpi-v4/image_map_emoticon36_positive5] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_emoticon36_positive5.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_select.png   [drawable-mdpi-v4/image_map_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_map_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_map_unselect.png       [drawable-mdpi-v4/image_map_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_map_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_profile_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_profile_select.png   [drawable-mdpi-v4/image_profile_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_profile_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_profile_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_profile_unselect.png       [drawable-mdpi-v4/image_profile_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_profile_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_setting_icon] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_setting_icon.png       [drawable-mdpi-v4/image_setting_icon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_setting_icon.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_share_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_share_btn.png     [drawable-mdpi-v4/image_share_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_share_btn.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_share_map_btn] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_share_map_btn.png     [drawable-mdpi-v4/image_share_map_btn] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_share_map_btn.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_splash_temp] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_splash_temp.png [drawable-mdpi-v4/image_splash_temp] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_splash_temp.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_start_test] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_start_test.png   [drawable-mdpi-v4/image_start_test] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_start_test.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_testhi_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_testhi_select.png     [drawable-mdpi-v4/image_testhi_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_testhi_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_testhi_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_testhi_unselect.png [drawable-mdpi-v4/image_testhi_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_testhi_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_timeline_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_timeline_select.png [drawable-mdpi-v4/image_timeline_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_timeline_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_timeline_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_timeline_unselect.png     [drawable-mdpi-v4/image_timeline_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_timeline_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_title_logo] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_title_logo.png   [drawable-mdpi-v4/image_title_logo] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_title_logo.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_toggle_btn_select] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_toggle_btn_select.png     [drawable-mdpi-v4/image_toggle_btn_select] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_toggle_btn_select.png: Error: Duplicate resources

  [drawable-mdpi-v4/image_toggle_btn_unselect] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\image_toggle_btn_unselect.png [drawable-mdpi-v4/image_toggle_btn_unselect] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\image_toggle_btn_unselect.png: Error: Duplicate resources

  [drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png       [drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

  [drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backiconmask] D:\프로젝트경로\android\app\src\main\res\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backiconmask.png       [drawable-mdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backiconmask] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-mdpi\node_modules_reactnavigationstack_lib_module_views_assets_backiconmask.png: Error: Duplicate resources

  [drawable-xhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-xhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png     [drawable-xhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-xhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

  [drawable-xxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-xxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png   [drawable-xxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-xxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources

  [drawable-xxxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\src\main\res\drawable-xxxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png [drawable-xxxhdpi-v4/node_modules_reactnavigationstack_lib_module_views_assets_backicon] D:\프로젝트경로\android\app\build\generated\res\react\release\drawable-xxxhdpi\node_modules_reactnavigationstack_lib_module_views_assets_backicon.png: Error: Duplicate resources


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


* Get more help at https://help.gradle.org


Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings


BUILD FAILED in 1m 9s

53 actionable tasks: 2 executed, 51 up-to-date




Comments