Home Game Development I must replace due to the app crash – C++

I must replace due to the app crash – C++

0
I must replace due to the app crash – C++

[ad_1]

In the previous, I launched a recreation utilizing the cocos2d-x 3.8.1 model.

This app remains to be on the App Store.

But I see plenty of opinions that the app instantly ends whereas working.

So I believe I must replace the app, which model of Cocos2d-x ought to I replace? Is 3.17.2 good? Or is 4.0 higher?

And what’s the quickest technique to replace the engine?

For iOS or Mac it’s important to use cocos2d-x 4.0 and for android 3.17.2 is greatest

Thank you very a lot to your reply.

My recreation must assist each iOS and Android.

Should I take advantage of model 3.17.2 then?
Can’t the three.17.2 model assist two platforms (ios, Android)?

sure, you need to use 3.17.2 for each ios and android however it’s endorsed that you just use 4.0 for ios and three.17.2 for android.

Use of v3.17.2 shouldn’t be really helpful as it is going to be rejected by the iOS overview course of.
This is as a result of it makes use of UIWebView internally.
It should be modified to WKWebView.

The newest model of v3 accessible from github has this repair, so utilizing the most recent model of v3 will assist each iOS and Android.

If you have got the git and python instructions prepared, you will get the most recent model of v3.
You might be engaged on the command line.

As a preliminary step, run the next command

$ git config --global url."https://".insteadOf git://

You will want python 2.x.
The setting I examined is CentOS8, so the command title is python2.

$ python2 -V
Python 2.7.18

Now all it’s important to do is run the instructions so as.

git clone https://github.com/cocos2d/cocos2d-x.git
cd cocos2d-x/
git checkout v3
python2 download-deps.py
git submodule replace --init
cd instruments/cocos2d-console/
python2 download-bin.py

Thank you very a lot to your reply. I proceeded as you instructed me.

But within the closing instruction(python2 download-bin.py) following error occurred.

=======================================================
==> Preparing to obtain console binaries!
==> model file would not exist
==> Ready to obtain 'v3-console-16.zip' from 'https://github.com/cocos2d/console-binary/archive/v3-console-16.zip'
Traceback (most up-to-date name final):
  File "download-bin.py", line 301, in <module>
    most important()
  File "download-bin.py", line 296, in most important
    installer.run("", opts.remove_downloaded, opts.force_update, opts.download_only)
  File "download-bin.py", line 241, in run
    self.download_zip_file()
  File "download-bin.py", line 203, in download_zip_file
    self.download_file()
  File "download-bin.py", line 91, in download_file
    u = urllib2.urlopen(self._url)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, information, timeout)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, information)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    end result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
    increase URLError(err)
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificates confirm failed (_ssl.c:727)>

I don’t know if that is achieved correctly.

I’ve yet one more query.

Can’t model 4.0 assist two platforms? Does model 4.0 assist Android?

I ponder why you don’t advocate 4.0 for Android.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here