Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

error: classX has not been declared

$
0
0

While building an android module, I got this error during ndk build: error: 'class' has not been declared. this is a part of error msg:

[exec] jni/ti.modules.titanium.paypal.PaypalButtonProxy.cpp:86:68: error: expected primary-expression before ')' token
        [exec]    FunctionTemplate::New(titanium::Proxy::inherit<PaypalButtonProxy>)->GetFunction());
        [exec]                                                                     ^
        [exec] jni/ti.modules.titanium.paypal.PaypalButtonProxy.cpp:88:12: error: 'ti::modules::titanium::ProxyFactory' has not been declared
        [exec]   titanium::ProxyFactory::registerProxyPair(javaClass, *proxyTemplate);
        [exec]             ^
        [exec] jni/ti.modules.titanium.paypal.PaypalButtonProxy.cpp:96:56: error: 'ti::modules::titanium::Proxy' has not been declared
        [exec]   instanceTemplate->SetIndexedPropertyHandler(titanium::Proxy::getIndexedProperty,
        [exec]                                                         ^
        [exec] jni/ti.modules.titanium.paypal.PaypalButtonProxy.cpp:97:13: error: 'ti::modules::titanium::Proxy' has not been declared
        [exec]    titanium::Proxy::setIndexedProperty);
        [exec]              ^
        [exec] make: *** [/var/folders/vs/vyhx4ts501bgwjt7dltf7lfr0000gn/T/***/paypalone-generated/obj/local/armeabi/objs/ti.modules.titanium.paypal/ti.modules.titanium.paypal.PaypalButtonProxy.o] Error 1
 
BUILD FAILED
/Users/moezkammoun/3.5.0.GA/module/android/build.xml:326: The following error occurred while executing this line:
/Users/moezkammoun/3.5.0.GA/module/android/build.xml:281: exec returned: 2
My NDK is well configured and referenced on built.xml. Any help?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>