이 문제는 상당히 혼란스럽고 내 눈은 분노로 타기 전에 Kindle 장치를 보는 것만으로 많이 볼 수 있습니다. , 나는 당신의 도움, 관대 한 인터넷 사람들을 원합니다!Fire HD 6 + Sencha Touch 2.3.1 + Cordova 3.5.1 + 서명 된 APK = 공백 (진회색) 화면
나는 Sencha Touch 2.3.1 및 Cordova 3.5.1을 기반으로하는 응용 프로그램을 만들고 있습니다. 이 앱은 아마존의 최신 Fire HD 기기와 필자의 경우 Fire HD 6을 제외한 모든 Android 기기에서 작동합니다.
APK를 빌드 할 때 zipalign 그 다음 장치에 다운로드하기 위해 온라인으로 게시하면 인물을 시작할 때만 회색 화면 문제가 나타납니다. 내가 가로 모드에서 시작하면
, 나는이 스크린 샷을 얻을 : 여기 스크린 샷입니다
미쳤 부분은 내가 세로 (회색 화면)에서 응용 프로그램을 시작할 때 (가로로 회전한다는 것입니다 변경 없음)을 선택하고 세로로 돌아가서 응용 프로그램을 닫은 다음 다시 열면 올바른 세로 화면이 표시됩니다. 여기에
대조적으로 서명 된 APK와 달리 Eclipse에서 테스트 할 앱을 빌드하면 장치에 배포하면 응용 프로그램이 예상대로 작동합니다. Eclipse 버전과 서명 된 APK를 구분할 수있는 유일한 차이점은 Cordova jar 파일이 프로젝트에 포함되어있는 것입니다.
10-15 13:36:00.715: I/Activity(16158): No ActvityExender defined. Proceed with default activity behavior.
10-15 13:36:00.719: I/CordovaLog(16158): Changing log level to DEBUG(3)
10-15 13:36:00.722: D/Whitelist(16158): Unlimited access to network resources
10-15 13:36:00.723: D/CordovaActivity(16158): CordovaActivity.onCreate()
10-15 13:36:00.726: D/CordovaActivity(16158): Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml
10-15 13:36:00.726: D/CordovaActivity(16158): Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml
10-15 13:36:00.750: W/BindingManager(16158): Cannot setInForeground() - never saw a connection for the pid: 16158
10-15 13:36:00.771: D/CordovaWebView(16158): CordovaWebView is running on device made by: Amazon
10-15 13:36:00.775: D/JsMessageQueue(16158): Set native->JS mode to 2
10-15 13:36:00.776: D/CordovaActivity(16158): CordovaActivity.init()
10-15 13:36:00.860: D/CordovaWebView(16158): >>> loadUrl(file:///android_asset/www/index.html)
10-15 13:36:00.860: D/PluginManager(16158): init()
10-15 13:36:00.874: D/CordovaWebView(16158): >>> loadUrlNow()
10-15 13:36:00.875: W/BindingManager(16158): Cannot setInForeground() - never saw a connection for the pid: 0
10-15 13:36:00.875: W/BindingManager(16158): Cannot setInForeground() - never saw a connection for the pid: 16158
10-15 13:36:00.877: I/CordovaLog(16158): Changing log level to DEBUG(3)
10-15 13:36:00.881: D/Whitelist(16158): Unlimited access to network resources
10-15 13:36:00.881: D/CordovaActivity(16158): Resuming the App
10-15 13:36:00.881: D/CordovaActivity(16158): CB-3064: The errorUrl is null
10-15 13:36:00.989: D/SoftKeyboardDetect(16158): Ignore this event
10-15 13:36:01.037: D/SoftKeyboardDetect(16158): Ignore this event
10-15 13:36:01.059: D/SoftKeyboardDetect(16158): Ignore this event
10-15 13:36:01.067: D/CordovaWebViewClient(16158): onPageStarted(file:///android_asset/www/index.html)
10-15 13:36:01.067: D/CordovaActivity(16158): onMessage(onPageStarted,file:///android_asset/www/index.html)
10-15 13:36:01.390: D/SoftKeyboardDetect(16158): Ignore this event
10-15 13:36:02.039: D/CordovaActivity(16158): onMessage(spinner,stop)
10-15 13:36:02.043: D/CordovaNetworkManager(16158): Connection Type: wifi
10-15 13:36:02.068: E/chromium(16158): [ERROR:gl_context.cc(53)] Not implemented reached in virtual void gfx::GLContext::SetUnbindFboOnMakeCurrent()
10-15 13:36:02.068: I/chromium(16158): [INFO:async_pixel_transfer_manager_android.cc(60)] Async pixel transfers not supported
10-15 13:36:02.083: D/CordovaNetworkManager(16158): Connection Type: wifi
10-15 13:36:02.083: D/CordovaActivity(16158): onMessage(networkconnection,wifi)
10-15 13:36:02.100: D/CordovaWebViewClient(16158): onPageFinished(file:///android_asset/www/index.html)
10-15 13:36:02.100: D/CordovaActivity(16158): onMessage(onPageFinished,file:///android_asset/www/index.html)
10-15 13:36:02.324: D/CordovaLog(16158): file:///android_asset/www/app.js: Line 1 : a launch right here: file:///android_asset/www/index.html
10-15 13:36:02.324: I/chromium(16158): [INFO:CONSOLE(1)] "a launch right here: file:///android_asset/www/index.html", source: file:///android_asset/www/app.js (1)
10-15 13:36:02.345: D/CordovaLog(16158): file:///android_asset/www/app.js: Line 1 : index: gotFS
10-15 13:36:02.345: I/chromium(16158): [INFO:CONSOLE(1)] "index: gotFS", source: file:///android_asset/www/app.js (1)
10-15 13:36:02.347: D/CordovaLog(16158): file:///android_asset/www/app.js: Line 1 : here is the root: cdvfile://localhost/persistent/
10-15 13:36:02.347: I/chromium(16158): [INFO:CONSOLE(1)] "here is the root: cdvfile://localhost/persistent/", source: file:///android_asset/www/app.js (1)
10-15 13:36:04.256: I/App(16158): WARNING: Back Button Default Behavior will be overridden. The backbutton event will be fired!
10-15 13:36:04.293: W/System.err(16158): org.apache.cordova.file.FileExistsException: create/exclusive fails
10-15 13:36:04.294: W/System.err(16158): at org.apache.cordova.file.LocalFilesystem.getFileForLocalURL(LocalFilesystem.java:176)
10-15 13:36:04.294: W/System.err(16158): at org.apache.cordova.file.FileUtils.getFile(FileUtils.java:698)
10-15 13:36:04.294: W/System.err(16158): at org.apache.cordova.file.FileUtils.access$5(FileUtils.java:691)
10-15 13:36:04.294: W/System.err(16158): at org.apache.cordova.file.FileUtils$16.run(FileUtils.java:349)
10-15 13:36:04.294: W/System.err(16158): at org.apache.cordova.file.FileUtils$23.run(FileUtils.java:477)
10-15 13:36:04.294: W/System.err(16158): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
10-15 13:36:04.294: W/System.err(16158): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
10-15 13:36:04.294: W/System.err(16158): at java.lang.Thread.run(Thread.java:841)
10-15 13:36:04.296: W/System.err(16158): org.apache.cordova.file.FileExistsException: create/exclusive fails
10-15 13:36:04.296: W/System.err(16158): at org.apache.cordova.file.LocalFilesystem.getFileForLocalURL(LocalFilesystem.java:176)
10-15 13:36:04.296: W/System.err(16158): at org.apache.cordova.file.FileUtils.getFile(FileUtils.java:698)
10-15 13:36:04.297: W/System.err(16158): at org.apache.cordova.file.FileUtils.access$5(FileUtils.java:691)
10-15 13:36:04.297: W/System.err(16158): at org.apache.cordova.file.FileUtils$16.run(FileUtils.java:349)
10-15 13:36:04.297: W/System.err(16158): at org.apache.cordova.file.FileUtils$23.run(FileUtils.java:477)
10-15 13:36:04.297: W/System.err(16158): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
10-15 13:36:04.297: W/System.err(16158): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
10-15 13:36:04.297: W/System.err(16158): at java.lang.Thread.run(Thread.java:841)
10-15 13:36:04.719: D/CordovaLog(16158): file:///android_asset/www/app.js: Line 1 : 12
10-15 13:36:04.719: I/chromium(16158): [INFO:CONSOLE(1)] "12", source: file:///android_asset/www/app.js (1)
10-15 13:36:04.720: D/CordovaLog(16158): file:///android_asset/www/app.js: Line 1 : 12
10-15 13:36:04.720: I/chromium(16158): [INFO:CONSOLE(1)] "12", source: file:///android_asset/www/app.js (1)
10-15 13:36:04.743: D/TEST(16158): cdvfile://localhost/persistent/com.------.------/data/downloadQueue.json: 12
10-15 13:36:04.863: D/CordovaLog(16158): file:///android_asset/www/plugins/com.smartmobilesoftware.inappbilling/www/inappbilling.js: Line 6 : InAppBilling[js]: setup ok
10-15 13:36:04.863: I/chromium(16158): [INFO:CONSOLE(6)] "InAppBilling[js]: setup ok", source: file:///android_asset/www/plugins/com.smartmobilesoftware.inappbilling/www/inappbilling.js (6)
10-15 13:36:05.118: D/CordovaActivity(16158): onMessage(splashscreen,hide)
10-15 13:36:05.149: D/FileTransfer(16158): download http://www.------.com/fx/json/publication.php?v=1.0.25&authid=------&groupid=------------ to cdvfile://localhost/persistent//com.------.------/-----------.json
10-15 13:36:05.150: D/FileTransfer(16158): Download file:http://www.------.com/fx/json/publication.php?v=1.0.25&authid=------&groupid=-------------
10-15 13:36:05.237: D/FileTransfer(16158): download http://www.------.com/fx/json/catalog.php?v=1.0.25&authid=------ to cdvfile://localhost/persistent//com.-----.------/data/catalog.json
10-15 13:36:05.242: D/FileTransfer(16158): Download file:http://www.------.com/fx/json/catalog.php?v=1.0.25&authid=------
10-15 13:36:05.784: D/FileTransfer(16158): Saved file: cdvfile://localhost/persistent//com.------.------/data/catalog.json
10-15 13:36:05.819: D/FileTransfer(16158): Saved file: cdvfile://localhost/persistent//com.------.------/------------.json
불행하게도, 심지어 빠른 Google 검색을 시도 후, 나는 화재 HD 6에서 로그를 잡는 방법을 모르는 : 이클립스에서 빌드 할 때 여기에 화재 HD 6의 로그 파일입니다 서명 된 APK가 실행됩니다. 누구든지 장치에서 로그를 찾는 방법에 대해 알고 있습니까? 마지막으로
D/CordovaActivity(32519): onMessage(exit,null)
I/ActivityManager( 535): START u0 {xxxx} from pid 1208
I/Activity(32519): No ActvityExender defined. Proceed with default activity behavior.
I/CordovaLog(32519): Changing log level to DEBUG(3)
D/Whitelist(32519): Unlimited access to network resources
D/CordovaActivity(32519): CordovaActivity.onCreate()
D/CordovaActivity(32519): Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml
D/CordovaActivity(32519): Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml
W/BindingManager(32519): Cannot setInForeground() - never saw a connection for the pid: 32519
D/AmazonTransitionManager( 535): openingActivityName = com.branded.-----.BrandedActivity, animationType = ZOOM
D/CordovaWebView(32519): CordovaWebView is running on device made by: Amazon
D/JsMessageQueue(32519): Set native->JS mode to 2
D/CordovaActivity(32519): CordovaActivity.init()
D/CordovaWebView(32519): loadUrlIntoView(file:///android_asset/www/index.html, 12000)
D/CordovaActivity(32519): onMessage(splashscreen,show)
D/CordovaWebView(32519): >>> loadUrl(file:///android_asset/www/index.html)
D/PluginManager(32519): init()
D/CordovaWebView(32519): >>> loadUrlNow()
W/BindingManager(32519): Cannot setInForeground() - never saw a connection for the pid: 0
W/BindingManager(32519): Cannot setInForeground() - never saw a connection for the pid: 32519
I/CordovaLog(32519): Changing log level to DEBUG(3)
D/Whitelist(32519): Unlimited access to network resources
D/CordovaActivity(32519): Resuming the App
D/CordovaActivity(32519): CB-3064: The errorUrl is null
D/SoftKeyboardDetect(32519): Ignore this event
I/ActivityManager( 535): Displayed com.branded.-----/.BrandedActivity: +142ms
D/SoftKeyboardDetect(32519): Ignore this event
D/CordovaActivity(32519): onMessage(onPageStarted,file:///android_asset/www/index.html)
D/SoftKeyboardDetect(32519): Ignore this event
I/ActivityManager( 535): Process android.process.acore (pid 28595) has died.
I/ActivityManager( 535): Process com.ivona.tts.oem (pid 31488) has died.
D/CordovaWebViewClient(32519): onPageFinished(file:///android_asset/www/index.html)
D/CordovaActivity(32519): onMessage(onPageFinished,file:///android_asset/www/index.html)
D/CordovaActivity(32519): onMessage(spinner,stop)
D/CordovaNetworkManager(32519): Connection Type: wifi
E/chromium(32519): [ERROR:gl_context.cc(53)] Not implemented reached in virtual void gfx::GLContext::SetUnbindFboOnMakeCurrent()
I/chromium(32519): [INFO:async_pixel_transfer_manager_android.cc(60)] Async pixel transfers not supported
D/CordovaNetworkManager(32519): Connection Type: wifi
D/CordovaActivity(32519): onMessage(networkconnection,wifi)
I/ActivityManager( 535): Process com.smartcom.attwifi (pid 27770) has died.
W/ActivityManager( 535): Scheduling restart of crashed service com.smartcom.attwifi/com.smartcom.libwispr.MainWifiService in 1000ms
D/CordovaLog(32519): file:///android_asset/www/app.js: Line 1 : a launch right here: file:///android_asset/www/index.html
I/chromium(32519): [INFO:CONSOLE(1)] "a launch right here: file:///android_asset/www/index.html", source: file:///android_asset/www/app.js (1)
W/PackageManager( 535): Launching com.smartcom.attwifi (32109) with AMZ_APP_GID
I/ActivityManager( 535): Start proc com.smartcom.attwifi for service com.smartcom.attwifi/com.smartcom.libwispr.MainWifiService: pid=32727 uid=32109 gids={72109, 3003, 9001}
I/wpa_supplicant(31391): wlan0: CTRL-EVENT-SCAN-STARTED
D/CordovaActivity(32519): onMessage(spinner,stop)
, 누군가가 내가이 버그를보고 있어요 왜 어떤 생각을 가지고 않습니다 여기
은 사이드로드 APK에서 로그 캣입니까? 아니면 Cordova 항아리를 다르게 구축한다면 아이디어가 나옵니까? 또는 Fire HD가 문제가있는 유일한 장치 인 이유는 무엇입니까? 아니면 이것이 Fire HD에 관한 Sencha Touch/Cordova 문제일까요? 아니면 문제 해결을위한 아이디어가있는 사람이 있습니까? '다음에 시도해보십시오'라는 시나리오가 부족합니다.
귀하 께서 제공하신 도움과 도움을 주셔서 감사합니다.
당신이이 할 나는 센차 터치 프로젝트의 app.js의 발사 기능 동안 이러한 라인의 몇 가지를 추가 사이드로드 된 APK 로그? 차이가 있습니까? – Offbeatmammal
그 로그가 없습니다. Fire HD 6에서 그들을 잡는 방법에 대한 아이디어가 있습니까? –
adb 연결이있는 경우 이클립스의 logcat 창에서 볼 수 있거나 명령 줄에서 "adb logcat"을 수행하십시오 – Offbeatmammal