cocos creator unexpected element <queries> found in AndroidManifest.xml
에러 해결에 정말 머리 터지는줄알았음
운영체제 : OS X BICSUR
cocos creator 2.3.3
ndk : 17b
이전버전의 ndk 설치 URL
https://developer.android.com/ndk/downloads/older_releases
지원되지 않는 NDK 다운로드 | Android NDK | Android Developers
경고: 이 페이지에서는 지원되지 않아 더 이상 사용되지 않는 Android NDK 버전을 다운로드할 수 있습니다. 이 버전은 정보 제공 및 보관처리용으로만 제공됩니다. NDK r21 이전 버전의 Mac NDK는 서명
developer.android.com
cocos creator unexpected element <queries> found in AndroidManifest.xml
[User Cocos Creator Project]/build/jsb-default/frameworks/runtime-src/proj.android-studio
gradle.properties
# Project-wide Gradle settings.
...
..
android.enableAapt2=false
Build Error Using Android Studio : Execution failed for task ':libcocos2dx:verifyReleaseResources'
hi man , i guess you updated the gradle for the project , there may be some problems with gradle 3.0 try this : check out this Aapt2 is enabled by default when you use android plugin for gradle 3.0. This is to improve incremental resource processing But if
discuss.cocos2d-x.org
아래 경로로 이동
[User Cocos Creator Project]/build/jsb-default/frameworks/runtime-src/proj.android-studio/game/
* build.gradle
...
dependencies {
...
implementation 'com.android.support:appcompat-v7:24.2.1' // 해당 코드 추가
}
..
해당 에러 발생할때 : Execution failed for task ':sdkTest:processReleaseResources'.
gradle.properties 에 있는
PROP_COMPILE_SDK , PROP_TARGET_SDK_VERSION , PROP_BUILD_TOOLS_VERSION
모두 같아야됨,
# Android SDK version that will be used as the compile project
PROP_COMPILE_SDK_VERSION=28
# Android SDK version that will be used as the earliest version of android this application can run on
PROP_MIN_SDK_VERSION=16
# Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=28
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=28.0.3
해결!