Phonegap (cordova)을 사용하여 Android 에뮬레이터에 sencha touch 2.0 프로젝트를 설치하려고합니다.Cordova phonegap on eclipse/Android
나는 튜토리얼에서 언급 한 단계를 따라 HelloWorld 예제를 시도해 보았다. , super.loadUrl("file:///android_asset/www/index.html");
그러나 응용 프로그램을 실행 한 후 :
나는 나는 다음과 같은 한의 코르도바 jar 파일은 XML 폴더는 메인 클래스에서 또한
을 추가 assests 폴더에 www 디렉토리에 내 프로젝트를 넣어[2012-06-11 15:48:27 - PhoneGap] Uploading PhoneGap.apk onto device 'emulator-5554'
[2012-06-11 15:36:13 - PhoneGap] Uploading PhoneGap.apk onto device 'emulator-5554'
[2012-06-11 15:38:10 - PhoneGap] Installing PhoneGap.apk...
[2012-06-11 15:38:12 - PhoneGap] Installation failed due to invalid APK file!
[2012-06-11 15:38:12 - PhoneGap] Please check logcat output for more details.
[2012-06-11 15:38:13 - PhoneGap] Launch canceled!
로그 캣 :
06-11 13:00:27.003: DEBUG/SntpClient(65): request time failed: java.net.SocketException: Address family not supported by protocol
06-11 13:04:24.309: DEBUG/dalvikvm(141): GC_EXPLICIT freed 1K, 12% free 14374K/16327K, paused 11ms+5ms
06-11 13:05:27.041: DEBUG/SntpClient(65): request time failed: java.net.SocketException: Address family not supported by protocol
06-11 13:06:05.003: INFO/installd(34): free_cache(6710880) avail 4059136
06-11 13:06:05.009: ERROR/installd(34): cannot open /data/secure/data/: No such file or directory
06-11 13:06:05.341: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.349: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.349: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.370: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.370: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.370: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.370: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.401: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.431: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.431: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.453: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.453: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.453: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.453: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.459: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.473: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.479: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.502: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.519: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.529: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.529: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.529: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.529: ERROR/installd(34): Couldn't openat cache: No such file or directory
06-11 13:06:05.539: WARN/PackageManager(65): Couldn't clear application caches
06-11 13:06:05.539: INFO/DeviceStorageMonitorService(65): Running low on memory. Sending notification
06-11 13:06:05.871: DEBUG/Tablet/NotificationPanel(266): notificationCount=1
06-11 13:06:06.123: INFO/dalvikvm(266): Jit: resizing JitTable from 512 to 1024
06-11 13:06:06.209: WARN/ActivityManager(65): Unable to start service Intent { act=com.android.email.intent.action.MAIL_SERVICE_CANCEL cmp=com.android.email/.service.MailService }: not found
06-11 13:06:12.769: DEBUG/dalvikvm(286): GC_EXPLICIT freed 67K, 9% free 6420K/6983K, paused 4ms+10ms
0 그것은 콘솔에 다음을 보여
cordova.js 파일을 포함하도록 index.html 파일을 업데이트해야합니까 ??
은'지옥 그래 ... 당신의 index.html을 – Rajesh
에 대한 로그 캣 출력을 확인하시기 바랍니다 <스크립트 ID = "microloader"유형 = " text/javascript "src ="sdk/microloader/development.js "> –
내가 그것을 포함에 cordova.js 파일 같은 문제를 포함 더 details.' – Developer