Cocos Creator v1.7.0 内测版发布帖(11月17日更新 rc.2)

麻烦上传一个 demo 看看?

那就把BOM去掉就好了。

可以调试模拟器的,直接在AndroidStudio看看崩溃在哪里?

是不是没有加上x86的ABI?

这个不好弄demo,我现在直接把摄像机在启动游戏时就创建,然后一直不删除,然后就没有问题了,可以凑合着用

使用Cocos Creator v1.7 rc2 提交版本被拒,说包含第三方支付

  1. 1.1 Business: Payments - In-App Purchase

Guideline 3.1.1 - In-App Purchase

We noticed that your app contains a payment mechanism other than in-app purchase for digital content or to unlock features or functionality within your app, which is not appropriate for the App Store. In-app purchase is the only valid in-app payment mechanism for digital content.

Note: Continuing to hide functionality within your app or other dishonest acts may result in the removal of your apps from the App Store and termination of your Apple Developer Program membership and all associated memberships.

请问Anysdk官网上的 【AppStore上线注意事项】替换文件的方法适用于 Cocos Creator v1.7 rc2 版本的吗?

1.7.0的正式版没接任何sdk的情况下,也没有勾选anysdk,提示有idfa,求告知哪里用到了广告的东西?

同样遇到IDFA\第三方支付问题!!!!!!!

你们是不是自己接了支付了?

都说了没有接任何sdk了,肯定没有接支付啊,连苹果的内购都没有,就一个单纯的游戏工程,除了我自己写的游戏逻辑代码,其他的都是引擎的,没有任何添加剂!

这个BOM问题不大,解决方案也很简单,这里主要是告知一下引擎组有这么一个问题,哪天代码写到这个地方顺手解决了。这个问题对于知道原因的人来说,就很简单。对于不知道的人,那就是一个坑了,说不定就能挣扎个一天半天了。

1赞

你好,我遇到了和你一样的问题,请问你后来解决了吗?

自动图集没有"去透明部分"的功能

请问 1.62 模拟器找不到 dll 的问题 不升级引擎 该怎么解决 :mask:

碰到同样1.7打包问题,1.7 + AS 3.0 + Gradle 3.0 + NDK10e, 目前只有选择default模板才能编译,运行时在安卓4.4.2闪退,
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “sigfillset” referenced by “libcocos2djs.so”…
at java.lang.Runtime.loadLibrary(Runtime.java:378)
at java.lang.System.loadLibrary(System.java:540)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:251)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:279)
at org.cocos2dx.javascript.AppActivity.onCreate(AppActivity.java:41)
at android.app.Activity.performCreate(Activity.java:5318)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2332)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)
at android.app.ActivityThread.access$800(ActivityThread.java:164)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1341)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5506)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:652)
at dalvik.system.NativeStart.main(Native Method)

在安卓7.0也闪退,错误不太一样:
[ERROR] (…/jswrapper/v8/Object.cpp, 447): Invoking function (0x7bf7cff1c0) failed!
E/jswrapper: ERROR: Uncaught TypeError: Cannot read property ‘startPhase’ of undefined, location: src/jsb_polyfill.js:0:0
STACK:
[0]callback@src/jsb_polyfill.js:24775

问题出在gradle版本上面,换成2.3(classpath ‘com.android.tools.build:gradle:2.3.0’)在安卓7.0下运行就正常了,不过4.4下面还是同样的问题。

你是不是定制了 engine ?
感觉你的 engine 的版本不对。

你解决了吗,我也是First type is not attr!
升级到1.7后,anysdk打包微信版本

碰到同样问题,Hello world项目 1.7 + AS 3.0 + Gradle 3.0 + NDK14b, 选default目标构建,运行在android 4.4.4上闪退,
01-02 14:48:14.866 16917-16917/org.cocos2d.helloworld W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41869e00)
01-02 14:48:14.876 16917-16917/org.cocos2d.helloworld E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.cocos2d.helloworld, PID: 16917
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “sigfillset” referenced by "libcocos2djs.so

"…
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:526)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:251)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:279)
at org.cocos2dx.javascript.AppActivity.onCreate(AppActivity.java:40)
at android.app.Activity.performCreate(Activity.java:5266)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1091)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2189)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2279)
at android.app.ActivityThread.access$800(ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5241)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
at dalvik.system.NativeStart.main(Native Method)

然后换成

(classpath 'com.android.tools.build:gradle:2.3.0')

没有出现了这个问题

1赞

怎么解决的?我也出了同样的问题