분류 전체보기(15058)
-
함수 객체의 표준 프로퍼티 확인
함수 객체의 표준 프로퍼티 확인 소스 코드 function add(x, y) { return x + y; } //add()함수 객체 프로퍼티 확인 console.dir(add); 출처: 함수에 다양한 프로퍼티가 생성된 것을 확인 할 수 있습니다. __proto__영역에서 다양한 표준 프로퍼티 함수를 확인할 수 있습니다. function add(x, y) { return x + y; } arguments: null caller: null length: 2 name: "add" prototype: add constructor: function add(x, y) { __proto__: Object __proto__: function Empty() {} apply: function apply() { [nativ..
-
Error-D/dalvikvm(1904): newInstance failed: Lkr/android/actionbardemo/MainActivity; not accessible to Landroid/app/Instrumentation;
07-24 02:42:16.148: D/dalvikvm(1904): newInstance failed: Lkr/android/actionbardemo/MainActivity; not accessible to Landroid/app/Instrumentation; 해결방법 클래스에 대한 접근 지정자를 확인해 보시기 바랍니다. MainActivity클래스에 접근지정자가 빠져 있어서 실행과 동시에 중지 되어 버립니다. public으로 접근지정자를 선언해주면 해결됩니다.
-
값으로 할당
변수, 객체, 배열에 함수값 할당 소스 코드 출처: 함수의 인자로 전달 가능 05.html-선언적 함수를 매개변수로 받는 함수 06.html-익명함수를 매개변수로 받는 함수 함수의 리턴 값 사용 가능 09.html-익명 내부 함수 리턴
-
Error-The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 동일 방법1 Server탭의 No servers are available Click this link to create a new server… 링크 클릭 Next Browase.. 확인 동일 방법2 프로젝트 선택 > 마우스 우클릭 > Properties > Java Build Path 선택 > 우측 Libraries탭 선택 > Add Library..
-
Error-Description Resource Path Location Type - Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded
에러 메시지 Description Resource Path Location Type Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded 72MapDemo Unknown Android Packaging Problem 해결방법 필요한 라이브러리가 없어서 에러 발생했으며 해당 프로젝트에 사용 라이브러리를 추가해 주면 해결됩니다. 프로젝트 선택 > 마우스 우클릭 > Build Path > Configure Build Path.. Add Library... > User Library 선택 > Next User Libraries ... > New ... > 원하는 라이브러리 이름 입력 > System library..
-
Android source file import(임포트)시 에러 대처 방법 - eclipse error
import시 에러 대처 방법 방법 프로젝트 선택 > 마우스 우클릭 > Properties > Project Build Target에서 해당 API버전 선택합니다. Library가 없는 경우 Add버튼 클릭 > 해당 라이브러리 선택 > OK OK 방법 메뉴 > Project > Build Automatically 체크 메뉴 > Proejct > Clean 방법 프로젝트 선택 > 마우스 우클릭 > Build Path > Configure Build Path... 해당하는 항목 체크 OK 방법 gen\R.java 파일 삭제 프로젝트 선택 > 마우스 우클릭 > Source > Organize Imports