Error 1.
':app:transformClassesAndResourcesWithProguardForRelease':
solution 1
[Project_game_name]/build.gradle
Add Code
-ignorewarnings
-keep class * {
public private *;
}
Error 2.
jni/../../jni/../../Classes/PluginIAPJSHelper.cpp:53:9:
error: no member named 'Director' in namespace 'cocos2d'
[armeabi-v7a] Compile++ arm : cocos2djs_shared <= PluginIAPJSHelper.cpp RUN_ON_MAIN_THREAD_BEGIN
solution 2
xx.hpp , xx.cpp, xx.h
Change Code cocos2d::Director()-> ... ====> cocos2d::Application()->
//auto scheduler = cocos2d::Director::getInstance()->getScheduler();
// Director 를 Application 변경
auto scheduler = cocos2d::Application::getInstance()->getScheduler();
Error 3
java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
solution 3
build.gradle
android {
defaultConfig {
multiDexEnabled true // Add
}
}
Tiled Map, 타일맵 캔버스 사이즈 조정 (0) | 2024.04.26 |
---|---|
Cocos Creator 코코스 크리에이터 resource Load 문제 (0) | 2024.02.20 |
cocos creator Action (0) | 2021.05.26 |
cocos creator spineListener (0) | 2021.05.21 |
cocos creator unexpected element <queries> found in AndroidManifest.xml (0) | 2021.05.17 |
SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) (0) | 2021.05.07 |