Run app with android studio problem

I’m using cocos2d-js3.6 befor, i update it to cocos2dx3.7 for the pupurse of convenience of the android studio .
I import the project with android studio,and then debug it ,select an android device , and the apk is built successfully and installed to the device , but it come to error with “unfortunetly, cocos2dx has stopped” ,the same with simulator , and the same with cpp-tests project.
What should i do? Anyone has successfully maked it workes with android studio ?

logcat info:

07-24 10:58:15.789  26719-26719/? D/dalvikvm﹕ Late-enabling CheckJNI
07-24 10:58:15.949  26719-26719/org.cocos2dx.cpp_empty_test D/ActivityThread﹕ handleBindApplication:org.cocos2dx.cpp_empty_test
07-24 10:58:15.949  26719-26719/org.cocos2dx.cpp_empty_test D/ActivityThread﹕ setTargetHeapUtilization:0.75
07-24 10:58:15.949  26719-26719/org.cocos2dx.cpp_empty_test D/ActivityThread﹕ setTargetHeapMinFree:2097152
07-24 10:58:15.949  26719-26719/org.cocos2dx.cpp_empty_test D/ActivityThread﹕ setTargetHeapConcurrentStart:2097152
07-24 10:58:15.989  26719-26719/org.cocos2dx.cpp_empty_test V/HwWidgetFactory﹕ : successes to get AllImpl object and return....
07-24 10:58:15.999  26719-26719/org.cocos2dx.cpp_empty_test D/AndroidRuntime﹕ Shutting down VM
07-24 10:58:15.999  26719-26719/org.cocos2dx.cpp_empty_test W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41648e00)
07-24 10:58:15.999  26719-26719/org.cocos2dx.cpp_empty_test E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: org.cocos2dx.cpp_empty_test, PID: 26719
    java.lang.UnsatisfiedLinkError: Couldn't load cpp_empty_test from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.cocos2dx.cpp_empty_test-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.cocos2dx.cpp_empty_test-2, /vendor/lib, /system/lib, /data/datalib]]]: findLibrary returned null
            at java.lang.Runtime.loadLibrary(Runtime.java:358)
            at java.lang.System.loadLibrary(System.java:555)
            at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:207)
            at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:222)
            at android.app.Activity.performCreate(Activity.java:5340)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
            at android.app.ActivityThread.access$1100(ActivityThread.java:141)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5333)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:711)
            at dalvik.system.NativeStart.main(Native Method)

I build the cpp-empty-test with cocos2dx3.7/build/android-build.py command ,it works.When i build the cpp-tests , js-tests by the same way,it comes to error “unfortunenaly,xxx has stoped” too , gets the flowing lnfo:

07-24 11:06:25.119    6931-6931/? D/dalvikvm﹕ Late-enabling CheckJNI
07-24 11:06:25.159    6931-6931/? I/dalvikvm﹕ Enabling JNI app bug workarounds for target SDK version 9...
07-24 11:06:25.349    6931-6931/? D/ActivityThread﹕ handleBindApplication:org.cocos2dx.cpp_tests
07-24 11:06:25.349    6931-6931/? D/ActivityThread﹕ setTargetHeapUtilization:0.75
07-24 11:06:25.349    6931-6931/? D/ActivityThread﹕ setTargetHeapMinFree:2097152
07-24 11:06:25.349    6931-6931/org.cocos2dx.cpp_tests D/ActivityThread﹕ setTargetHeapConcurrentStart:2097152
07-24 11:06:25.409    6931-6931/org.cocos2dx.cpp_tests V/HwWidgetFactory﹕ : successes to get AllImpl object and return....
07-24 11:06:25.409    6931-6931/org.cocos2dx.cpp_tests D/dalvikvm﹕ Trying to load lib /data/app-lib/org.cocos2dx.cpp_tests-1/libcpp_tests.so 0x41b14a88
07-24 11:06:25.559    6931-6931/org.cocos2dx.cpp_tests E/dalvikvm﹕ dlopen("/data/app-lib/org.cocos2dx.cpp_tests-1/libcpp_tests.so") failed: dlopen failed: cannot locate symbol "rand" referenced by "libcpp_tests.so"...
07-24 11:06:25.559    6931-6931/org.cocos2dx.cpp_tests D/AndroidRuntime﹕ Shutting down VM
07-24 11:06:25.559    6931-6931/org.cocos2dx.cpp_tests W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41648e00)
07-24 11:06:25.559    6931-6931/org.cocos2dx.cpp_tests E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: org.cocos2dx.cpp_tests, PID: 6931
    java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rand" referenced by "libcpp_tests.so"...
            at java.lang.Runtime.loadLibrary(Runtime.java:364)
            at java.lang.System.loadLibrary(System.java:555)
            at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:207)
            at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:222)
            at android.app.Activity.performCreate(Activity.java:5340)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
            at android.app.ActivityThread.access$1100(ActivityThread.java:141)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5333)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:711)
            at dalvik.system.NativeStart.main(Native Method)