문제 진행 중인 프로젝트의 화면을 구성하던 중 상단 탭이 필요하여 React-Navigation의 createMaterialTopTabNavigator을 적용하고자 하였음. 구조로 잘 작성했음에도 불구하고 "RNCViewPage" was not found in the UIManager 오류가 뜨며 화면에 안 보임. 해결 생각보다 답은 매우 가까이에 있었다. npm 설치할 때 전부 했어야 했는데 공식문서를 제대로 안 읽은 탓에 1가지만 설치했음. 1. npm install @react-navigation/material-top-tabs react-native-tab-view 2. npm install react-native-pager-view [공식문서] https://reactnavigation.org/..
문제 React Native 강의 복기 중이었는데, 안드로이드 애뮬레이터가 실행은 되는데 안 보이는 것! Error creating avd an error occurred while creating the avd. see idea.log for details. 알림창만 뜨더라... 아니면 java.lang.NullPointerException at com.android.tools.idea.devicemanager.virtualtab.BuildVirtualDeviceConfigurationWizardActionListener.actionPerformed(BuildVirtualDeviceConfigurationWizardActionListener.java:45) at com.intellij.util.ui.S..
1. 양방향 액티비티 1) 형태 - 초기 데이터 전달, 다시 받는 곳 a. 데이터 전달 Intent intent = new Intent(MainActivity.this, SecondActivity.class); intent.putExtra("first", Integer.parseInt(etName1.getText().toString())); intent.putExtra("second", Integer.parseInt(etName2.getText().toString())); startActivityForResult(intent, 0); b. 다시 받을 때 (onCreate 외부에 메서드 선언 필요) @Override protected void onActivityResult(int requestCode, i..