From 35403439f33d282a49c67cdded326f5832f27787 Mon Sep 17 00:00:00 2001 From: Krishna Date: Wed, 4 Mar 2015 10:48:30 +0100 Subject: [PATCH] Fixed compilation issue. Introduced missing CLASS_NAME --- cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp b/cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp index 4e0c3e5519..5d4a767a40 100644 --- a/cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp +++ b/cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp @@ -295,7 +295,7 @@ namespace CocosDenshion { cocos2d::JniMethodInfo methodInfo; std::string fullPath = CocosDenshion::android::getFullPathWithoutAssetsPrefix(pszFilePath); - if (! cocos2d::JniHelper::getStaticMethodInfo(methodInfo, loadEffectName, "(Ljava/lang/String;)V")) { + if (! cocos2d::JniHelper::getStaticMethodInfo(methodInfo, CLASS_NAME, loadEffectName, "(Ljava/lang/String;)V")) { return ; }