에러 해결에 정말 머리 터지는줄알았음
운영체제 : OS X BICSUR
cocos creator 2.3.3
ndk : 17b
이전버전의 ndk 설치 URL
https://developer.android.com/ndk/downloads/older_releases
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
아래 경로로 이동
[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
해결!
cocos creator [js] Error (0) | 2021.07.22 |
---|---|
cocos creator Action (0) | 2021.05.26 |
cocos creator spineListener (0) | 2021.05.21 |
SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) (0) | 2021.05.07 |
cocos Failed to notify project evaluation listener. java.lang.exceptionInInitializerError (0) | 2021.05.07 |
How to define cocos creator constant variable? (0) | 2021.05.04 |