InApp 라이브러리를 세팅한후, 만일 게임을 Landscape 으로 만든다면
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
이녀석을 꼭 주석 처리 해야한다.
아니면 Unregistering JNI method 라는 요상한 메시지가 뜨면서 시작하자 마자 종료 된다.
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Screen portrait 고정 //setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); mPlugin = IapPlugin.getPlugin(this, "development"); mActivity = this; }