How do i solve this compilation issue? (sdkBox, minsdk,...)

How do i solve this compilation issue? (sdkBox, minsdk,...)
0

#1

So, i’m working on my first game with creator 1.9.3, I finished it yesterday and added admob to it by following this tutorial : http://docs.sdkbox.com/en/qa/cocos_creator/
Before that, i’ve managed to build and compile my game perfectly (i was having trouble at the begining the resolved them quickly) , but now, i can still build the app corectly but it fail to compile, here is the last part of the log

file or directory ‘C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Loading library manifest C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\manifests\full\debug\AndroidManifest.xml
Loading library manifest C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml
Merging main manifest C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml

Merging library manifest C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\manifests\full\debug\AndroidManifest.xml
Merging manifest with lower [:libcocos2dx] AndroidManifest.xml:2:1-11:12
uses-sdk defined in both files…
Merging uses-sdk with lower [:libcocos2dx] AndroidManifest.xml:7:5-9:41
Merging library manifest C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml
Merging manifest with lower [:gps] AndroidManifest.xml:17:1-30:12
uses-sdk defined in both files…
Merging uses-sdk with lower [:gps] AndroidManifest.xml:20:5-22:41
application defined in both files…
Merging application with lower [:gps] AndroidManifest.xml:24:5-28:19
meta-data#com.google.android.gms.version defined in both files…
Merging meta-data#com.google.android.gms.version with lower [:gps] AndroidManifest.xml:25:9-27:69
Merging result: ERROR
C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:3:5-5:41 Error:
uses-sdk:minSdkVersion 10 cannot be smaller than version 14 declared in library [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml as the library might be using APIs not available in 10
Suggestion: use a compatible library with a minSdk of at most 10,
or increase this project’s minSdk version to at least 14,
or use tools:overrideLibrary=“com.google.android.gms” to force usage (may lead to runtime failures)
– Merging decision tree log —
manifest
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:1-29:12
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:1-29:12
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:1-29:12
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:1-29:12
MERGED from [:libcocos2dx] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\manifests\full\debug\AndroidManifest.xml:2:1-11:12
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:17:1-30:12
package
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:70-102
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml
android:versionName
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:1-29:12
android:versionCode
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:1-29:12
xmlns:android
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:11-69
android:installLocation
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:2:103-133
uses-sdk
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:3:5-5:41
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:3:5-5:41
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:3:5-5:41
MERGED from [:libcocos2dx] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\manifests\full\debug\AndroidManifest.xml:7:5-9:41
MERGED from [:libcocos2dx] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\manifests\full\debug\AndroidManifest.xml:7:5-9:41
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:20:5-22:41
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:20:5-22:41
android:targetSdkVersion
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:5:9-38
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml
android:minSdkVersion
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:4:9-35
INJECTED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml
uses-feature#0x00020000
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:6:5-54
android:glEsVersion
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:6:19-51
uses-permission#android.permission.INTERNET
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:7:5-67
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:7:22-64
uses-permission#android.permission.CHANGE_NETWORK_STATE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:8:5-79
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:8:22-76
uses-permission#android.permission.CHANGE_WIFI_STATE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:9:5-76
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:9:22-73
uses-permission#android.permission.ACCESS_NETWORK_STATE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:10:5-79
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:10:22-76
uses-permission#android.permission.ACCESS_WIFI_STATE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:11:5-76
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:11:22-73
uses-permission#android.permission.READ_PHONE_STATE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:12:5-75
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:12:22-72
uses-permission#android.permission.MOUNT_UNMOUNT_FILESYSTEMS
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:13:5-84
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:13:22-81
uses-permission#android.permission.WRITE_EXTERNAL_STORAGE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:14:5-81
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:14:22-78
uses-permission#android.permission.RESTART_PACKAGES
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:15:5-75
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:15:22-72
uses-permission#android.permission.KILL_BACKGROUND_PROCESSES
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:16:5-84
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:16:22-81
application
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:17:5-27:19
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:24:5-28:19
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:24:5-28:19
android:label
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:17:107-139
hardwareAccelerated
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:17:18-44
android:icon
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:17:72-106
android:allowBackup
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:17:45-71
meta-data#android.app.lib_name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:18:9-84
android:value
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:18:56-81
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:18:20-55
activity#org.cocos2dx.javascript.AppActivity
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:19:9-24:20
android:screenOrientation
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:19:165-208
android:label
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:19:81-113
android:configChanges
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:19:19-80
android:theme
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:19:209-267
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:19:114-164
intent-filter#android.intent.action.MAIN+android.intent.category.LAUNCHER
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:20:13-23:29
action#android.intent.action.MAIN
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:21:17-69
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:21:25-66
category#android.intent.category.LAUNCHER
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:22:17-77
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:22:27-74
meta-data#com.google.android.gms.version
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:25:9-122
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:25:9-27:69
MERGED from [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml:25:9-27:69
android:value
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:25:66-119
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:25:20-65
activity#com.google.android.gms.ads.AdActivity
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:26:9-233
android:configChanges
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:26:19-128
android:theme
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:26:182-230
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:26:129-181
uses-permission#android.permission.VIBRATE
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:28:5-66
android:name
ADDED from C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml:28:22-63

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:test:processDebugManifest FAILED
:test:processDebugManifest (Thread[Task worker for ‘:’ Thread 3,5,main]) completed. Took 0.192 secs.
Putting task artifact state for task ‘:gps:extractDebugAnnotations’ into context took 0.287 secs.
file or directory ‘C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\src\main\java’, not found
file or directory ‘C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\src\main\java’, not found
file or directory ‘C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\src\debug\java’, not found
Executing task ‘:gps:extractDebugAnnotations’ (up-to-date check took 3.964 secs) due to:
No history is available.
:gps:extractDebugAnnotations (Thread[Daemon worker Thread 4,5,main]) completed. Took 4.286 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:test:processDebugManifest’.

Manifest merger failed : uses-sdk:minSdkVersion 10 cannot be smaller than version 14 declared in library [:gps] C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\libs\gps\build\intermediates\manifests\full\debug\AndroidManifest.xml as the library might be using APIs not available in 10
Suggestion: use a compatible library with a minSdk of at most 10,
or increase this project’s minSdk version to at least 14,
or use tools:overrideLibrary=“com.google.android.gms” to force usage (may lead to runtime failures)

in my understanding, to correct this, all i have to do is to change the minSdk to 14,
so i tried to change it in here
“C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\AndroidManifest.xml”
but after a new try, it still get the same error. I’m new to all of this so i don’t have any other idea on how to fix this, please help me.
Thank you


#2

I saw your post in the “New User” topic.

@yinjimmy can help look at these errors.


#3

plz change it to android-14 or >=14


#4

Thanks for the reply,
Since the begining of the project, i always used the api 25


and the minimum api on the API Level list is the api 21 for me.
I’ve already tried to change the api level from 25 to 21,22,23,24 and so on but i still get the same error so i really don’t know.


#5

No one can help? Please, i really have no idea on how to fix this.
Sorry for insisting that much, but I challenged myself to finish and publish this game at least on monday, and i’m really stuck on this.


#6

file
sdkbox-sample-ccc193/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build.gradle

    defaultConfig {
        applicationId "com.sdkbox.sample.ccc193"
        minSdkVersion 14

#7

sorry, where should /sdkbox-sample-ccc193/ be located ? I can’t find it
And thank you again


#8

is my test project.

the file should be here:
<YOUR_PROJECT>/build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build.gradle


#9

Ok, my bad.
this seem to fix the error i was getting, but the project still can’t compile but with this new error, should i continue here or open a new thread?
Here’s the log:


[arm64-v8a] Compile++ : cis <= CCSpriteBatchNode.cpp
make: *** Acc?s refus?.
. Stop.
make: *** Waiting for unfinished jobs…
:test:externalNativeBuildDebug FAILED
:test:externalNativeBuildDebug (Thread[Task worker for ‘:’,5,main]) completed. Took 13 mins 6.672 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:test:externalNativeBuildDebug’.

Build command failed.
Error while executing process C:\Users\NARHHJ\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\jni\Android.mk NDK_APPLICATION_MK=C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\jni\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=C:/Users/NARHHJ/Documents/easy/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib NDK_TOOLCHAIN_VERSION=4.9 APP_PLATFORM=android-25 NDK_MODULE_PATH=C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x;C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\cocos;C:\Users\NARHHJ\Documents\easy\build\jsb-default\frameworks\cocos2d-x\external -j4 NDK_DEBUG=1 C:/Users/NARHHJ/Documents/easy/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/libcocos2djs.so}
[arm64-v8a] Compile++ : cocos2djs_shared <= main.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= AppDelegate.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= jsb_module_register.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= PluginSdkboxAdsJS.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= PluginSdkboxAdsJSHelper.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= SDKBoxJSHelper.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= PluginAdMobJS.cpp
[arm64-v8a] Compile++ : cocos2djs_shared <= PluginAdMobJSHelper.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= RefCounter.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= State.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Value.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= HandleObject.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= MappingUtils.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Class.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= ScriptEngine.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Object.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Utils.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Class.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Object.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= ObjectWrap.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= ScriptEngine.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= Utils.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= env.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= inspector_agent.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= inspector_io.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= inspector_socket.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= inspector_socket_server.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= node.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= node_debug_options.cc
[arm64-v8a] Compile++ : cocos2d_js_static <= util.cc
[arm64-v8a] Compile : cocos2d_js_static <= http_parser.c
[arm64-v8a] Compile++ : cocos2d_js_static <= SHA1.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_box2d_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_audioengine_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_dragonbones_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_experimental_video_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_experimental_webView_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_extension_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_network_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_ui_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_spine_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_creator_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_creator_camera_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_creator_graphics_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_creator_physics_auto.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= BaseJSAction.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= JavaScriptJavaBridge.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= ScriptingCore.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_helper.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_classtype.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_box2d_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_extension_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_cocos2dx_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_conversions.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_creator_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_creator_physics_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_dragonbones_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_global.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_node.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_opengl_functions.cpp
[aCrm64-v8a] Compile++ : cocos2d_js_static <= jsb_opengl_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_opengl_node.cpp
:/Users/NARHHJ/Documents/easy/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.android/…/manual/jsb_opengl_functions.cpp: In function ‘bool JSB_glVertexAttribPointer(se::State&)’:
C:/Users/NARHHJ/Documents/easy/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.android/…/manual/jsb_opengl_functions.cpp:2206:114: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
glVertexAttribPointer((GLuint)arg0 , (GLint)arg1 , (GLenum)arg2 , (GLboolean)arg3 , (GLsizei)arg4 , (GLvoid*)arg5 );
^
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_opengl_registration.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_socketio.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_spine_manual.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_websocket.cpp
[arm64-v8a] Compile++ : cocos2d_js_static <= jsb_xmlhttprequest.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioEngine-inl.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioEngine.cpp
[arm64-v8a] Compile++ : audioengine_static <= AssetFd.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioDecoder.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioDecoderProvider.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioDecoderSLES.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioDecoderOgg.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioDecoderMp3.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioDecoderWav.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioPlayerProvider.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioResampler.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioResamplerCubic.cpp
[arm64-v8a] Compile++ : audioengine_static <= PcmBufferProvider.cpp
[arm64-v8a] Compile++ : audioengine_static <= PcmAudioPlayer.cpp
[arm64-v8a] Compile++ : audioengine_static <= UrlAudioPlayer.cpp
[arm64-v8a] Compile++ : audioengine_static <= PcmData.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioMixerController.cpp
[arm64-v8a] Compile++ : audioengine_static <= AudioMixer.cpp
[arm64-v8a] Compile++ : audioengine_static <= PcmAudioService.cpp
[arm64-v8a] Compile++ : audioengine_static <= Track.cpp
[arm64-v8a] Compile : audioengine_static <= format.c
[arm64-v8a] Compile++ : audioengine_static <= minifloat.cpp
[arm64-v8a] Compile : audioengine_static <= primitives.c
[arm64-v8a] Compile++ : audioengine_static <= Utils.cpp
[arm64-v8a] Compile++ : audioengine_static <= mp3reader.cpp
[arm64-v8a] Compile++ : audioengine_static <= tinysndfile.cpp
[arm64-v8a] Compile++ : cocos_network_static <= HttpClient-android.cpp
[arm64-v8a] Compile++ : cocos_network_static <= SocketIO.cpp
[arm64-v8a] Compile++ : cocos_network_static <= WebSocket-libwebsockets.cpp
[arm64-v8a] Compile++ : cocos_network_static <= CCDownloader.cpp
[arm64-v8a] Compile++ : cocos_network_static <= CCDownloader-android.cpp
[arm64-v8a] Compile++ : cocos_network_static <= Uri.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIWidget.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= CocosGUI.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIHelper.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIVideoPlayer-android.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIScale9Sprite.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIWebView.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIWebViewImpl-android.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIEditBox.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIEditBoxImpl-android.cpp
[arm64-v8a] Compile++ : cocos_ui_static <= UIEditBoxImpl-common.cpp
[arm64-v8a] Compile++ : dragonbones_static <= Animation.cpp
[arm64-v8a] Compile++ : dragonbones_static <= AnimationState.cpp
[arm64-v8a] Compile++ : dragonbones_static <= TimelineState.cpp
[arm64-v8a] Compile++ : dragonbones_static <= WorldClock.cpp
[arm64-v8a] Compile++ : dragonbones_static <= Armature.cpp
[arm64-v8a] Compile++ : dragonbones_static <= Bone.cpp
[arm64-v8a] Compile++ : dragonbones_static <= Slot.cpp
[arm64-v8a] Compile++ : dragonbones_static <= BaseObject.cpp
[arm64-v8a] Compile++ : dragonbones_static <= EventObject.cpp
[arm64-v8a] Compile++ : dragonbones_static <= BaseFactory.cpp
[arm64-v8a] Compile++ : dragonbones_static <= AnimationData.cpp
[arm64-v8a] Compile++ : dragonbones_static <= ArmatureData.cpp
[arm64-v8a] Compile++ : dragonbones_static <= DragonBonesData.cpp
[arm64-v8a] Compile++ : dragonbones_static <= FrameData.cpp
[arm64-v8a] Compile++ : dragonbones_static <= TimelineData.cpp
[arm64-v8a] Compile++ : dragonbones_static <= DataParser.cpp
[arm64-v8a] Compile++ : dragonbones_static <= JSONDataParser.cpp
[arm64-v8a] Compile++ : dragonbones_static <= TextureData.cpp
[arm64-v8a] Compile++ : dragonbones_static <= CCArmatureDisplay.cpp
[arm64-v8a] Compile++ : dragonbones_static <= CCFactory.cpp
[arm64-v8a] Compile++ : dragonbones_static <= CCSlot.cpp
[arm64-v8a] Compile++ : dragonbones_static <= CCTextureData.cpp
[arm64-v8a] Compile : vorbisidec <= bitwise.c
[arm64-v8a] Compile : vorbisidec <= codebook.c
[arm64-v8a] Compile : vorbisidec <= dsp.c
[arm64-v8a] Compile : vorbisidec <= floor0.c
[arm64-v8a] Compile : vorbisidec <= floor1.c
[arm64-v8a] Compile : vorbisidec <= floor_lookup.c
[arm64-v8a] Compile : vorbisidec <= framing.c
[arm64-v8a] Compile : vorbisidec <= mapping0.c
[arm64-v8a] Compile : vorbisidec <= mdct.c
[arm64-v8a] Compile : vorbisidec <= misc.c
[arm64-v8a] Compile : vorbisidec <= res012.c
[arm64-v8a] Compile : vorbisidec <= treminfo.c
[arm64-v8a] Compile : vorbisidec <= vorbisfile.c
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_normalize.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_alias_reduction.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_crc.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_decode_header.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_decode_huff_cw.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_getbits.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_dequantize_sample.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_get_main_data_size.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_framedecoder.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_get_side_info.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_get_scale_factors.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_mpeg2_get_scale_data.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_mpeg2_get_scale_factors.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_mpeg2_stereo_proc.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_huffman_decoding.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_huffman_parsing.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_tables.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_imdct_synth.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_mdct_6.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_dct_6.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_poly_phase_synthesis.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_equalizer.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_stereo_proc.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_seek_synch.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_reorder.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_polyphase_filter_window.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_mdct_18.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_dct_9.cpp
[arm64-v8a] Compile++ : pvmp3dec <= pvmp3_dct_16.cpp
[arm64-v8a] Compile++ : cocos_extension_static <= Manifest.cpp
[arm64-v8a] Compile++ : cocos_extension_static <= AssetsManagerEx.cpp
[arm64-v8a] Compile++ : cocos_extension_static <= CCEventAssetsManagerEx.cpp
[arm64-v8a] Compile++ : cocos_extension_static <= CCEventListenerAssetsManagerEx.cpp
[arm64-v8a] Compile++ : cis <= cocos2d.cpp
[arm64-v8a] Compile++ : cis <= CCAction.cpp
[arm64-v8a] Compile++ : cis <= CCActionCamera.cpp
[arm64-v8a] Compile++ : cis <= CCActionCatmullRom.cpp
[arm64-v8a] Compile++ : cis <= CCActionEase.cpp
[arm64-v8a] Compile++ : cis <= CCActionGrid.cpp
[arm64-v8a] Compile++ : cis <= CCActionGrid3D.cpp
[arm64-v8a] Compile++ : cis <= CCActionInstant.cpp
[arm64-v8a] Compile++ : cis <= CCActionInterval.cpp
[arm64-v8a] Compile++ : cis <= CCActionManager.cpp
[arm64-v8a] Compile++ : cis <= CCActionPageTurn3D.cpp
[arm64-v8a] Compile++ : cis <= CCActionProgressTimer.cpp
[arm64-v8a] Compile++ : cis <= CCActionTiledGrid.cpp
[arm64-v8a] Compile++ : cis <= CCActionTween.cpp
[arm64-v8a] Compile++ : cis <= CCAnimation.cpp
[arm64-v8a] Compile++ : cis <= CCAnimationCache.cpp
[arm64-v8a] Compile++ : cis <= CCAtlasNode.cpp
[arm64-v8a] Compile++ : cis <= CCClippingNode.cpp
[arm64-v8a] Compile++ : cis <= CCClippingRectangleNode.cpp
[arm64-v8a] Compile++ : cis <= CCComponent.cpp
[arm64-v8a] Compile++ : cis <= CCDrawNode.cpp
[arm64-v8a] Compile++ : cis <= CCComponentContainer.cpp
[arm64-v8a] Compile++ : cis <= CCDrawingPrimitives.cpp
[arm64-v8a] Compile++ : cis <= CCFastTMXLayer.cpp
[arm64-v8a] Compile++ : cis <= CCFastTMXTiledMap.cpp
[arm64-v8a] Compile++ : cis <= CCFont.cpp
[arm64-v8a] Compile++ : cis <= CCFontAtlas.cpp
[arm64-v8a] Compile++ : cis <= CCFontAtlasCache.cpp
[arm64-v8a] Compile++ : cis <= CCFontCharMap.cpp
[arm64-v8a] Compile++ : cis <= CCFontFNT.cpp
[arm64-v8a] Compile++ : cis <= CCFontFreeType.cpp
[arm64-v8a] Compile++ : cis <= CCGLBufferedNode.cpp
[arm64-v8a] Compile++ : cis <= CCGrabber.cpp
[arm64-v8a] Compile++ : cis <= CCGrid.cpp
[arm64-v8a] Compile++ : cis <= CCLabel.cpp
[arm64-v8a] Compile++ : cis <= CCLabelTTF.cpp
[arm64-v8a] Compile++ : cis <= CCLabelAtlas.cpp
[arm64-v8a] Compile++ : cis <= CCLabelTextFormatter.cpp
[arm64-v8a] Compile++ : cis <= CCLayer.cpp
[arm64-v8a] Compile++ : cis <= CCMenu.cpp
[arm64-v8a] Compile++ : cis <= CCMenuItem.cpp
[arm64-v8a] Compile++ : cis <= CCMotionStreak.cpp
[arm64-v8a] Compile++ : cis <= CCNode.cpp
[arm64-v8a] Compile++ : cis <= CCNodeGrid.cpp
[arm64-v8a] Compile++ : cis <= CCParallaxNode.cpp
[arm64-v8a] Compile++ : cis <= CCParticleBatchNode.cpp
[arm64-v8a] Compile++ : cis <= CCParticleExamples.cpp
[arm64-v8a] Compile++ : cis <= CCParticleSystem.cpp
[arm64-v8a] Compile++ : cis <= CCParticleSystemQuad.cpp
[arm64-v8a] Compile++ : cis <= CCProgressTimer.cpp
[arm64-v8a] Compile++ : cis <= CCProtectedNode.cpp
[arm64-v8a] Compile++ : cis <= CCRenderTexture.cpp
[arm64-v8a] Compile++ : cis <= CCScene.cpp
[arm64-v8a] Compile++ : cis <= CCSprite.cpp
[arm64-v8a] Compile++ : cis <= CCSpriteBatchNode.cpp
make: *** Acc?s refus?.
. Stop.
make: *** Waiting for unfinished jobs…

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 16m 11s
72 actionable tasks: 29 executed, 43 up-to-date
Error running command, return code: 1.


#10

I do not know.

BUILD SUCCESSFUL in 4m 37s
80 actionable tasks: 7 executed, 73 up-to-date
Move apk to /Users/admin/repos/sdkbox/sdkbox-sample-ccc193/build/jsb-link/simulator/android
Build succeed.

It’s ok for me.

I think you need to clean the project and build it again.


#11

Hi, a thousand thanks for taking your time to help me,after some tests and search,i’ve found out that it was a bug due to an update on windows that caused this last error, now it works. But now, i have another issue .I think another thread is better so here is the link : Need help for rewarded video on creator, , i tried my best to fix it yesterday but it seem that i loose my challenge x)
Anyway, thank you again :slight_smile: .