Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 494966

母包没问题,子包一启动就闪退

$
0
0

这个问题有人解决吗?
我是Cocos Creator 1.2 做的项目,母包运行正常,打包后就闪退了。
我新建了一个项目仔仔细细地改了这三个值,但是还是提示:

08-22 19:35:29.219: E/FLQG_LOG(27138): check:  the params(appKey、appSecret、privateKey) are wrong

感觉在迷失的道路上渐行渐远~

是这三个值吧~顺序我搞对的,但是就是提示有这个error。
下面是主要的一些log:

08-22 19:35:28.474: E/WindowManager(2786): Adding starting window for org.cocos2d.CountingStars / Token{23367249 ActivityRecord{109cc050 u0 org.cocos2d.CountingStars/org.cocos2dx.javascript.AppActivity t150}}: null
08-22 19:35:28.516: E/AppTransition(2786): overridePendingAppTransition packageName = com.android.launcher3enterAnim = 33751040, exitAnim = 33751046, caller = com.android.server.wm.WindowManagerService.overridePendingAppTransition:4459 com.android.server.am.ActivityRecord.applyOptionsLocked:730 com.android.server.am.ActivityStack.resumeTopActivityInnerLocked:1909 com.android.server.am.ActivityStack.resumeTopActivityLocked:1516 com.android.server.am.ActivityStackSupervisor.resumeTopActivitiesLocked:2622 com.android.server.am.ActivityStack.completePauseLocked:1056 
08-22 19:35:28.850: E/FLQG_LOG(27109): check:  the params(appKey、appSecret、privateKey) are wrong 
08-22 19:35:28.980: E/ActivityManager(2786): setAppStartingWindow app stack
08-22 19:35:29.219: E/FLQG_LOG(27138): check:  the params(appKey、appSecret、privateKey) are wrong 
08-22 19:35:29.328: E/ActivityManager(2786): setAppStartingWindow app stack
08-22 19:35:29.568: E/FLQG_LOG(27168): check:  the params(appKey、appSecret、privateKey) are wrong 
08-22 19:35:29.679: E/BufferQueueProducer(225): [Starting org.cocos2d.CountingStars] queueBuffer: BufferQueue has been abandoned
08-22 19:35:29.679: E/Surface(2786): queueBuffer: error queuing buffer to SurfaceTexture, -19
08-22 19:35:29.679: E/Surface(2786): queueBuffer (handle=0xb80fdb90) failed (No such device)
08-22 19:35:29.680: E/ViewRootImpl(2786): Could not unlock surface
08-22 19:35:29.680: E/ViewRootImpl(2786): java.lang.IllegalArgumentException
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Surface.nativeUnlockCanvasAndPost(Native Method)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Surface.unlockSwCanvasAndPost(Surface.java:315)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Surface.unlockCanvasAndPost(Surface.java:296)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2752)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2654)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2443)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2070)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1148)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6049)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:773)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Choreographer.doCallbacks(Choreographer.java:586)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Choreographer.doFrame(Choreographer.java:556)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:759)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.os.Handler.handleCallback(Handler.java:739)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.os.Handler.dispatchMessage(Handler.java:95)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.os.Looper.loop(Looper.java:135)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at android.os.HandlerThread.run(HandlerThread.java:61)
08-22 19:35:29.680: E/ViewRootImpl(2786): 	at com.android.server.ServiceThread.run(ServiceThread.java:46)

Viewing all articles
Browse latest Browse all 494966

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>