Reputation: 930
Gettting this error while compile cocos compile -p android --ap android-25
Android NDK: Found platform level in ./project.properties.
Setting APP_PLATFORM to android-25.
Android NDK: APP_PLATFORM set to unknown platform: android-25.
How to avoid such error?
Upvotes: 0
Views: 1255
Reputation: 930
Last worked with cocos compile -p android --android-studio because of ndk
Upvotes: 0
Reputation: 2711
If you look at the Application.mk documentation for APP_PLATFORM, it refers to Android NDK Native APIs, where you can find a table of NDK-supported API levels. You can find all legal values there - and 25 is not one of them. You probably need android-24.
Upvotes: 2