@tianyi2010 写道:
如题,creator1.3.2 热更新奇怪问题,一直提示127.0.0.1 连接失败但是我没有配置127.0.0.1这个地址,logcat提示错误如下:
01-16 13:48:59.180 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 8080) after 45000ms: isConnected failed: ECONNREFUSED (Connection refused)
01-16 13:48:59.181 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:238)
01-16 13:48:59.181 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
01-16 13:48:59.181 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at libcore.io.IoBridge.connect(IoBridge.java:122)
01-16 13:48:59.182 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
01-16 13:48:59.182 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
01-16 13:48:59.182 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.net.Socket.connect(Socket.java:882)
01-16 13:48:59.182 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
01-16 13:48:59.182 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:157)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:66)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:145)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:879)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at cz.msebera.android.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:146)
01-16 13:48:59.183 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at com.loopj.android.http.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:177)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at com.loopj.android.http.AsyncHttpRequest.run(AsyncHttpRequest.java:106)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at java.lang.Thread.run(Thread.java:818)
01-16 13:48:59.184 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
01-16 13:48:59.185 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: at libcore.io.IoBridge.isConnected(IoBridge.java:223)
01-16 13:48:59.185 8405-8510/org.cocos2d.tutorialhotupdate W/System.err: ... 23 moreversion.manifest内容:
{"packageUrl":"http://192.168.1.254:8080/remote-assets/","remoteManifestUrl":"http://192.168.1.254:8080/remote-assets/project.manifest","remoteVersionUrl":"http://192.168.1.254:8080/remote-assets/version.manifest","version":"1.0.0"}project.manifest内容:
{"packageUrl":"http://192.168.1.254:8080/remote-assets/","remoteManifestUrl":"http://192.168.1.254:8080/remote-assets/project.manifest","remoteVersionUrl":"http://192.168.1.254:8080/remote-assets/version.manifest","version":"1.0.0","assets":{"src/jsb_anysdk.js":{"md5":"9613c96ab98c79136af0b2566e5467d1"},"src/jsb_anysdk_constants.js":{"md5":"195e770c1b4e93515980f9070428875a"},"src/jsb_polyfill.js":{"md5":"facd34fe7c2c91846e71317c77e8fc76"},"src/project.dev.js":{"md5":"fbc47e2c5cc8c4fb1b92893411318274"},"src/settings.js":{"md5":"3b459e164dfb153e4ad6555e4b6725d4"},"res/import/11/11c8b27e-29a0-4c2f-ac31-03a2e5793b7c.json":{"md5":"78c74eb2be3a20b7b67b1db189c7c8d5"},"res/import/25/25b2a633-f269-42d2-80f8-110e834238eb.json":{"md5":"5ec2ba2e98247b9c575dafeefce76868"},"res/import/26/26f1e1b9-a0c6-41a6-a8ff-3102f3cbc784.json":{"md5":"92249a05b7d0aadadf22fd65afcacc67"},"res/import/29/29158224-f8dd-4661-a796-1ffab537140e.json":{"md5":"321e6f519c8e6371949380648b18d5f0"},"res/import/2e/2e9b2dc0-65b4-44e5-b624-d61da9ee1095.json":{"md5":"816d6c419f7d68d060ca817207afcde9"},"res/import/3f/3f7d6f14-8e3f-432c-a537-09c8c7e03b76.json":{"md5":"49954fc6f921ece16785151370ab9359"},"res/import/41/41dc20a6-d60a-4f55-854e-860d2ad6348b.json":{"md5":"143a327b17d121e3aa5713ef2fc2ff8f"},"res/import/42/42b84506-55b4-4b98-8d2e-b3f8cfe7fbf8.json":{"md5":"f819ec05d786092e4ec37a1e685b7ea7"},"res/import/45/45d0f893-f7b7-4c84-8bd9-dd6409ec6de9.json":{"md5":"f9fdfe798671b31f8b92352aaeb90484"},"res/import/55/55e0a94a-b236-4c6b-8e0d-322e198e24a3.json":{"md5":"7744303e8c89fe31c6c40cc59e0d5aa1"},"res/import/57/5717c77c-65de-4232-9714-b0c663df738d.json":{"md5":"3b4fe8448300b3db8204c16cb3ad2208"},"res/import/5a/5a7ed901-bdc1-4823-8b0d-d2db8d4506ea.json":{"md5":"436998ef69da439176ef33f4aa88278a"},"res/import/5b/5bfc8b76-5eb6-4cf9-a83a-24a508103512.json":{"md5":"8c5055627a2364e1e7fbc4384f44c798"},"res/import/65/65f8dd44-9c0c-481b-9b78-c219307a0525.json":{"md5":"a11bd42fb5de91b77e5cbcbefe7566f1"},"res/import/67/679e44ab-196f-4a53-9cfa-ca9ba7c8ba43.json":{"md5":"375f6a8d3ad4c7c17dfd7237f2828cbd"},"res/import/67/67d645ab-1f14-4c86-a929-e644ab31c2a3/poker_number.png":{"md5":"5dc839e4febcbe674ef00459c057a31e"},"res/import/67/67d645ab-1f14-4c86-a929-e644ab31c2a3/raw-bitmap-font.fnt":{"md5":"83a5be6b28aebca3e0663fd1e4e9b2a3"},"res/import/67/67d645ab-1f14-4c86-a929-e644ab31c2a3.json":{"md5":"1ffaf6f89f64510478a203f594fdec9d"},"res/import/67/67e68bc9-dad5-4ad9-a2d8-7e03d458e32f.json":{"md5":"536b330599d9053d608a3eaec97531b7"},"res/import/74/7459fc8e-3723-4d95-8594-ac8eea99f27e.json":{"md5":"4698aa20689f02f63ceea0ba6ea34623"},"res/import/7a/7a631c26-9ce6-4322-998e-c67957da6f80.json":{"md5":"549d3782925f262faa5f8865de6ae05a"},"res/import/7a/7aee1866-01db-41aa-afe9-e4a791def6aa.json":{"md5":"3f9f4095e7cae5dc91e874300d0a3922"},"res/import/7d/7d1d4e60-aba2-48e8-85f8-8e328f34e7cc.json":{"md5":"6860d6b6442599be495011ee1d3e1304"},"res/import/7d/7de24e84-21bd-434b-8ca2-b031dcbb438e.json":{"md5":"be94548155488f9a40ca837aa6faa0d1"},"res/import/88/88e79fd5-96b4-4a77-a1f4-312467171014.json":{"md5":"d6b30af49554a4ef4442ec6ce744527f"},"res/import/8a/8a546935-70d4-42d2-a051-8d0e76f28008.json":{"md5":"47f7744a7af741668526c3510529c408"},"res/import/8a/8af78d65-4b41-4d59-a683-2659ab6904cb.json":{"md5":"d0df7e4fb5fbad7a2d7b17d64d40229e"},"res/import/91/913e121b-7770-4593-9a34-f8ca1b3e3b2f.json":{"md5":"22187ca903a109d1c6adeb02f6035972"},"res/import/93/935750ee-2a25-4d60-a10f-06b3000e28ab.json":{"md5":"d58a8b303270f3203bb62fa14d470623"},"res/import/94/944b1726-c679-48c6-987c-2abb49f9a11e.json":{"md5":"183dbd381da3382a1ac2f3adbb5aba2c"},"res/import/a2/a2da79be-fe22-420a-83b5-e37878367b06.json":{"md5":"68d9cb158a55b174b3c3cb49fe1fba82"},"res/import/a5/a5856afd-30ff-43e5-93f6-41e8be2d09d1.json":{"md5":"4c785aa9dd5bbe96560f060a71156f97"},"res/import/a8/a8b07ccf-1327-4931-b21a-d327cd0e2cdc.json":{"md5":"75f5f8811d03070d81dff9bd139a78b5"},"res/import/c0/c01466ea-7283-4fce-b615-4ee78c774af0.json":{"md5":"104b6bb55f5da857fbb8ed70a44b7d9f"},"res/import/c2/c2d0f392-28fb-47a7-aaf9-af40e75f40d3.json":{"md5":"b50b5d97b6927c26cdf8ca31c4beb8a9"},"res/import/ca/ca7dd73d-526a-4c85-9702-eb51e93b9d99.json":{"md5":"a78b0628aad6d9ab6792d6ee8322055f"},"res/import/d1/d1933017-c845-492d-aa72-bf71d7b48726.json":{"md5":"ff385bc93a011f217b4c6e0377a2f9bf"},"res/import/d5/d58859db-6a64-489b-aa1c-683e5f9a646b.json":{"md5":"3dcecab01d68022caad82558e5f0b94d"},"res/import/e4/e4f21e55-ed4f-46f8-b9a1-7ee9775d710c.json":{"md5":"72f940eabf7a9cc957e7e0ab0a205aad"},"res/import/e9/e9ec654c-97a2-4787-9325-e6a10375219a.json":{"md5":"140f529b491009e9d0b4e9e5b64ad3a3"},"res/import/ef/ef0e92d8-6db3-4e01-a1f0-5988bf72b4ec.json":{"md5":"317b0c75aa059d3a5f382c190d1ffdb0"},"res/import/ef/ef287833-459f-4ff4-a43a-7a6ddc8c95a9.json":{"md5":"c8560de161cca9b30912ce458d3a12a2"},"res/import/f0/f0048c10-f03e-4c97-b9d3-3506e1d58952.json":{"md5":"9cce7d772ea5910b267faad5656597cd"},"res/raw-assets/font/poker_number.png":{"md5":"5dc839e4febcbe674ef00459c057a31e"},"res/raw-assets/project.manifest":{"md5":"40112acd946ebc7a8dd00f6339882092"},"res/raw-assets/sfx/bgm2.mp3":{"md5":"b291235f22a5c3e66430a5c4c25c84df"},"res/raw-assets/sfx/button.mp3":{"md5":"91e69bb24ff6173032d04e232c275ad7"},"res/raw-assets/textures/UI/chat/button_orange.png":{"md5":"bba8716aeb72033d48cb2771e315cd32"},"res/raw-assets/textures/UI/chat/gb_inputbox.png":{"md5":"90ed2ca105ed0e4b6c5b1b11535344c7"},"res/raw-assets/textures/UI/chat/icon_message.png":{"md5":"77cb0cc6ea56b929691bc28079dffb07"},"res/raw-assets/textures/UI/lobby/bg_changjing.png":{"md5":"583bb4dbd4a4078aa306c4fcfb511f31"},"res/raw-assets/textures/UI/lobby/bg_gold.png":{"md5":"2aa8e02bad500178f40f5af802bcf9a1"},"res/raw-assets/textures/UI/lobby/button_jjc.png":{"md5":"17fb5c02c7470d95e84a97b264a54140"},"res/raw-assets/textures/UI/lobby/button_ksks.png":{"md5":"2bb161d732a84fee4af197c89883a94f"},"res/raw-assets/textures/UI/lobby/button_zbc.png":{"md5":"457f3d1bb5c1639a3f24be98e6420c1f"},"res/raw-assets/textures/UI/lobby/icon_back.png":{"md5":"dd6ef4efc8f05eb77a7cbd50b7f0e6c2"},"res/raw-assets/textures/UI/lobby/icon_diamond.png":{"md5":"7123a767755b66ffb65ca37818e35b99"},"res/raw-assets/textures/UI/lobby/icon_gold_big.png":{"md5":"931cda98808c79f0a744da6be0764460"},"res/raw-assets/textures/UI/lobby/icon_gold_small.png":{"md5":"d607637391fe90bd89057cf8b2d9f44f"},"res/raw-assets/textures/UI/lobby/icon_plus.png":{"md5":"99194ee176ac173f78a2a5e1a03dea3a"},"res/raw-assets/textures/UI/lobby/icon_rule.png":{"md5":"22ac7030c2348d7c08a444dddb7498ca"},"res/raw-assets/textures/UI/lobby/icon_set.png":{"md5":"671960aa83d654972f3c42daf1b9e429"},"res/raw-assets/textures/UI/lobby/trophy_1.png":{"md5":"9721c1c30e77661dd0e82888f8009fd5"},"res/raw-assets/textures/UI/lobby/trophy_2.png":{"md5":"fa59b66c80741d535aabc8ad51363cb3"},"res/raw-assets/textures/UI/lobby/trophy_3.png":{"md5":"4c073d3df7fb012f02b7b8636e9e5b04"},"res/raw-assets/textures/UI/lobby/user-image.png":{"md5":"a488f02e3722fe6108cb17d92f94ba47"},"res/raw-assets/textures/UI/lobby/user-image2.png":{"md5":"5e244875f0339e053b511be7f6757407"},"res/raw-assets/textures/UI/lobby/user-image3.png":{"md5":"f5d719456ba026b007b3c411d0671153"},"res/raw-assets/textures/UI/lobby/user-image4.png":{"md5":"6bed0fd7d1221112a99a6fb743a9d615"},"res/raw-assets/textures/UI/lobby/user-image5.png":{"md5":"bd05dd20b2a5d315486cdbde5ee9933c"},"res/raw-assets/textures/UI/lobby/user-image6.png":{"md5":"54120eb972495c03845eaf0d8f25405a"},"res/raw-assets/textures/UI/new/bg_icon.png":{"md5":"bfc16c6854c6e1e0e95130c16266612a"},"res/raw-assets/textures/UI/new/bg_rankinglist.png":{"md5":"b07f8e27ba911157ac7090d82f394cbb"},"res/raw-assets/textures/UI/new/bg_xiamian.png":{"md5":"81d98c57e21e5ebe15a7087660c82c61"},"res/raw-assets/textures/UI/new/fengexian.png":{"md5":"d2ea7c8c18b389b54fe538e9a64a553c"},"res/raw-assets/textures/UI/new/rankinglist_bg.png":{"md5":"f36f0460093a11eb58a76ffdfbdc6164"},"res/raw-assets/textures/UI/new/rankinglist_title.png":{"md5":"fe805c3ec15c0452179d341948952112"},"res/raw-assets/textures/UI/new/Stroke_photo.png":{"md5":"e0c2c19a572a8a978a68afbd0e34069a"},"res/raw-assets/textures/UI/new/Stroke_photo_oneself.png":{"md5":"cfd3e73de6518b301de7dded4b5ce392"},"res/raw-assets/textures/UI/user/circle_2.png":{"md5":"f213f46f342cecadb0fe2943b1245561"},"res/raw-internal/image/default_btn_disabled.png":{"md5":"ccbd56c4f14890bbc94d17004e501e9f"},"res/raw-internal/image/default_btn_normal.png":{"md5":"ffdc9657918740e0f5d088acaaada3af"},"res/raw-internal/image/default_btn_pressed.png":{"md5":"c1daa456037cc3884aabad81bb91b5cc"},"res/raw-internal/image/default_progressbar.png":{"md5":"67b4a8eb285b47bbcd7144512611c0a1"},"res/raw-internal/image/default_progressbar_bg.png":{"md5":"feadf32efa5c4557c81045711e5e6211"}},"searchPaths":[]}项目目录结构:
帖子: 4
参与者: 1