androidVNC 뷰어를 라이브러리 프로젝트로 사용하는 Android 애플리케이션을 개발하고 있지만 androidVNC (활동을 찾을 수 없음 예외)에서 활동을 시작할 수 없습니다.android : 라이브러리 프로젝트에 정의 된 활동을 시작하는 방법
또한 어떻게 라이브러리 프로젝트를 번들로 하나의 apk로 사용할 수 있습니까?
UPDATE 내가 전화를 다음과 같은 의도를 사용하고
:
Intent call= new Intent("android.androidVNC.androidVNC.LAUNCH");
startActivity(call);
업데이트 2 을 (내가 활동을 시작할 수 있다고 생각 다음 코드를 사용하지만,이을받은 후 java.lang.NoSuchFieldError : android.androidVNC.R $ id.textIP) 오류 ...
01 23,516,Intent vnc_call = new Intent(getApplicationContext(), androidVNC.class);
vnc_call.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(login);
내가 확인 후 내가 시킴으로 빨리에 R.java이 있지만 거기에없는 textip입니다 무엇을 가지고 모두 R.java (생성 된 자바 파일에서) 라이브러리로 사용 androidVNC의 원본과 androidVNC ... 호출 프로젝트에있는 (생성 된 java 파일들)의 R.java.
로그 캣의 O/P (처음 몇 줄)
04-05 01:34:18.135: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/AbstractConnectionBean; (256) 04-05 01:34:18.135: W/dalvikvm(479): Link of class 'Landroid/androidVNC/AbstractConnectionBean;' failed 04-05 01:34:18.135: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/ConnectionBean; (8) 04-05 01:34:18.135: W/dalvikvm(479): Link of class 'Landroid/androidVNC/ConnectionBean;' failed 04-05 01:34:18.145: W/dalvikvm(479): VFY: unable to find class referenced in signature (Landroid/androidVNC/ConnectionBean;) 04-05 01:34:18.155: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/AbstractConnectionBean; (256) 04-05 01:34:18.155: W/dalvikvm(479): Link of class 'Landroid/androidVNC/AbstractConnectionBean;' failed 04-05 01:34:18.155: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/ConnectionBean; (8) 04-05 01:34:18.155: W/dalvikvm(479): Link of class 'Landroid/androidVNC/ConnectionBean;' failed 04-05 01:34:18.187: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/AbstractConnectionBean; (256) 04-05 01:34:18.187: W/dalvikvm(479): Link of class 'Landroid/androidVNC/AbstractConnectionBean;' failed 04-05 01:34:18.187: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/ConnectionBean; (8)` 04-05 01:34:18.135: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/AbstractConnectionBean; (256) 04-05 01:34:18.135: W/dalvikvm(479): Link of class 'Landroid/androidVNC/AbstractConnectionBean;' failed 04-05 01:34:18.135: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/ConnectionBean; (8) 04-05 01:34:18.135: W/dalvikvm(479): Link of class 'Landroid/androidVNC/ConnectionBean;' failed 04-05 01:34:18.145: W/dalvikvm(479): VFY: unable to find class referenced in signature (Landroid/androidVNC/ConnectionBean;) 04-05 01:34:18.155: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/AbstractConnectionBean; (256) 04-05 01:34:18.155: W/dalvikvm(479): Link of class 'Landroid/androidVNC/AbstractConnectionBean;' failed 04-05 01:34:18.155: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/ConnectionBean; (8) 04-05 01:34:18.155: W/dalvikvm(479): Link of class 'Landroid/androidVNC/ConnectionBean;' failed 04-05 01:34:18.187: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/AbstractConnectionBean; (256) 04-05 01:34:18.187: W/dalvikvm(479): Link of class 'Landroid/androidVNC/AbstractConnectionBean;' failed 04-05 01:34:18.187: W/dalvikvm(479): Unable to resolve superclass of Landroid/androidVNC/ConnectionBean; (8)
단서?
매니페스트에서 신고하셨습니까? – MByD
예 .. 나는 그것을 선언했다 – Sanyprashant
당신의 안드로이드 SDK 버전은 r17을 사용하고 있습니까? – yorkw