android - error in androidplot xml file -
i'm implementing chart applications using android plot jar files examples.. shows application runs on jar file's com.androidplot.xy.xyplot
. while i'm trying after configuring project, shows error as,..
could not find class 'com.androidplot.xy.xyplot', referenced method com.androidplot.xy.simplexyplotactivity.oncreate
help me find solution...
my xml code is,..
<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <com.androidplot.xy.xyplot android:id="@+id/mysimplexyplot" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margintop="10px" android:layout_marginleft="10px" android:layout_marginright="10px" title="a simple xyplot example"/> </linearlayout>
usually means either dont have androidplot jar in project's /libs dir, or if using ide intellij or eclipse adt havn't explicitly added jar classpath.
additionally, if using androidplot 0.5.1 or later, you'll need alter line:
title="a simple xyplot example"
to
androidplot.title="a simple xyplot example"
android xml androidplot
No comments:
Post a Comment