I wanted to build my sample project with prebuilt libs.
I’m using cocos2dx 3.11.1, when i want to change the library path in Xcode i can only see below image with $(inherited).
Should i add paths manually…? or whether i’m doing wrong somewhere…?
For android i’m trying to generate prebuilt libs i run the command “cocos gen-libs -p android”.
I’m using NDK android-ndk-r10c
But getting below error logs
I interested to use prebuilt with Android Studio too.
FYI, I’m using prebuilt library with cocos2d-js v3.8.1 and working fine.
But now i would like to use prebuilt library with Android Studio and gradle to add third party library which only support integration with Gradle or Maven.
I run command cocos compile -p android --android-studio
It generated an apk.
Then i import the proj.android into Android Studio.
Project built with error AppDelegate not found
Is there any solution to make Android Studio work with prebuilt library? Its really save a lot time.
If you change headers and add/remove or invert fields orders you usually need rebuild, otherwise your game will misbehave and its very likely to crash.
hi! I just try to prebuilt cocos2dx lib for ios but when I run on ios device using arm64, the project show a lot of error. I see that the lib did not build for arm64, so how can I use prebuild lib to release project ?
ok, I think if you use the v3 branch from GitHub this is fixed.
You would need to clone, submodule update, download-deps, re-compile pre-builts. I am in the process of writing docs to help with using pre-builts better and working through issues like what you are having. So let us work together to solve.
sure, i will do this.
make sure you document Android part very detailed as iOS is simple and easy to setup. But i am stuck in android studio setup
i am following this Guide but having some issues that i mentioned in comments there.