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

Including a jar with resources as a library project

$
0
0

Not having the source of urban airship jar. And the documentation tells to include the library with resources. How to do that in Titanium ?

Also, when i have included the jar as a normal library. I am getting the error:

[ERROR] :  TiApplication: (Thread-2108) [31,726] Sending event: exception on thread: Thread-2108 msg:java.lang.NoClassDefFoundError: com.urbanairship.R$string; Titanium 3.5.1,2015/03/05 10:08,96875c9
[ERROR] :  TiApplication: java.lang.NoClassDefFoundError: com.urbanairship.R$string
[ERROR] :  TiApplication:   at com.urbanairship.push.NotificationActionButtonGroupFactory.createUrbanAirshipGroups(NotificationActionButtonGroupFactory.java:40)
[ERROR] :  TiApplication:   at com.urbanairship.push.PushManager.<init>(PushManager.java:227)
[ERROR] :  TiApplication:   at com.urbanairship.push.PushManager.<init>(PushManager.java:214)
[ERROR] :  TiApplication:   at com.urbanairship.UAirship.<init>(UAirship.java:114)
[ERROR] :  TiApplication:   at com.urbanairship.UAirship.executeTakeOff(UAirship.java:334)
[ERROR] :  TiApplication:   at com.urbanairship.UAirship.access$000(UAirship.java:56)
[ERROR] :  TiApplication:   at com.urbanairship.UAirship$2.run(UAirship.java:291)
[ERROR] :  TiApplication:   at java.lang.Thread.run(Thread.java:841)
Is there a way to include library as a project without having the source of it ?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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