I downloaded the latest cocos2d-x-3.12, but things didn't turn out to work when I got latest version of ndk.
My question what versions of cocos2d-x and ndk should I use?
According to the comments in this post:
http://discuss.cocos2d-x.org/t/cocos2d-x-v3-12-released/30641/70
cocos2d-x 3.12 should work with ndk r11+ specifically the r11c version.
and for more informations you can check the build requirements for cc2d-x 3.12 in here:
https://github.com/cocos2d/cocos2d-x#build-requirements
Related
I'd like to upgrade the kotlin plugin bundled with Android Studio to a newer version (1.4.30), but not the latest version (1.4.31). The reason is that I think there's a bug with the latest one, but I would still like to use a version of the plugin that's relatively new instead of the one that comes bundled by default with the latest version of Android Studio (1.3.72 - almost a year old).
Is there a way to do this?
What is the support library version for compileSdkVersion24 ?
i was using these support libraries.
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
after updating sdk, i tried changing the support version from 23.1.1 to 24.1.1. it says,
failed to resolve com.android.support:design:24.1.1
see this https://developer.android.com/topic/libraries/support-library/revisions.html
Android Support Library,recommend version is 24.0.0
so change this
com.android.support:design:24.1.1
to this
com.android.support:design:24.0.0
24.0.0 Android studio should recommend this.
My Cocos2D-x app is working only on android 22+ and crash in lower platforms throwing an exception java.lang.UnsatisfiedLinkError
App config:
Target SDK version 22 (Android Lollipop).
Min SDK is 14.
NDK r10c with eclipse.
Update:
Very useful answer https://stackoverflow.com/a/27093163/3547788
Old solution:
Possible fix by changing the ndkr10 to ndkr9 then the app will work for all android versions, For NDK10:
changing the target & min sdk at the manifest to 14
add APP_PLATFORM := android-14 to application.mk
clean and build.
Well you decide on the minimum version of Android to support and your game is then expected to run on all versions from that version to the latest version.
You cannot, for example, decide to support 2.3, 4.0.4 and 5.0.1, but not 4.4.2 and 5.0.
See <uses-sdk> reference.
I am using the free version of the apportable, after updating the apporatable it is showing the current version is "Apportable SDK version release_1.0.34 (1e06..... full)" although on
their website it is showing the latest version is 1.1.08.1, how to get the latest SDK?
Last update output in terminal:
$ apportable --version
Apportable SDK version release_1.0.34 (1e06ded3379bd59161534f679b9bcc3e385b1d95 full)
clang version 7fc8b05e4f57f61dbbbe5c8e62581b0e0c42941e
gdb version b5f29d65da6903ad0570d0c4a887c513367d2778
android sdk version r21.0.1.1
android ndk version r8d.1
ninja version 315d897710c6ca6e7df7d3b0bf68879356841c5d
In Terminal, enter:
apportable update
and
apportable update_toolchain
This will check for updates and update apportable itself, as well as updating the Android toolchain / SDK stuff. Usually just updating apportable suffices.
If Apportable won't update you can "reset" it by deleting the folder ~/User/.apportable. In Terminal:
rm -rf ~/User/.apportable
Then go to the apportable website, download apportable and follow their instructions for first-time setup.
Note that there is a chance that the Starter version may simply lag some version numbers behind the paid versions. I'm not aware of Apportable's versioning strategy but many companies only provide major or critical updates to free editions of their product, they prefer the free version to be stable rather than the latest edition.
You also need to ensure that you have the latest SDK version selected on your Account page in the SDK Version section.
I was experiencing the same problem; for some reason an SDK several versions behind was selected on this page.
Trying to use VS-Android with the latest NDK but it doesn't include the old toolchain.
The site says With NDK revision 9 and higher, the release packages have been split to reduce download size. The first download for each platform contains the default NDK toolchain. The second download contains legacy NDK toolchains for that platform
But there is only one package for every platform. I can't find a way to get older versions either.
android-ndk-r9b-windows-x86-legacy-toolchains.zip