<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Android SDK and sample app not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/30548#M15974</link>
    <description>&lt;P&gt;I can't get the sample app to work. It seems like there is a reference to the java_sdk http client but the readme doesn't say it does. It comples fine but gives a run time error. I have tried linking in the java_sdk and apache libraies but nothing works. Below is the source and the call stack where the error occurs.&lt;/P&gt;&lt;P align="left"&gt;public &lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; SDKActivity &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;extends&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; Activity {&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; AuthNet &lt;/FONT&gt;&lt;EM&gt;&lt;FONT color="#0000c0" size="2"&gt;&lt;FONT color="#0000c0" size="2"&gt;authNet&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;HttpClient.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#0000c0" size="2"&gt;&lt;FONT color="#0000c0" size="2"&gt;HTTP_CONNECTION_TIMEOUT&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT size="2"&gt; = 0;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thread [&amp;lt;1&amp;gt; main] (Suspended (exception NoClassDefFoundError))&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SDKActivity.&amp;lt;clinit&amp;gt;() line: 30&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Class.newInstanceImpl() line: not available [native method]&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Class.newInstance() line: 1429&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Instrumentation.newActivity(ClassLoader, String, Intent) line: 1021&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2577&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2679&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread$H.handleMessage(Message) line: 2033&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread$H(Handler).dispatchMessage(Message) line: 99&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Looper.loop() line: 123&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.main(String[]) line: 4627&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Method.invoke(Object, Object...) line: 521&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ZygoteInit$MethodAndArgsCaller.run() line: 868&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ZygoteInit.main(String[]) line: 626&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NativeStart.main(String[]) line: not available [native method]&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Oct 2012 12:38:48 GMT</pubDate>
    <dc:creator>mrbill1958</dc:creator>
    <dc:date>2012-10-11T12:38:48Z</dc:date>
    <item>
      <title>Android SDK and sample app not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/30548#M15974</link>
      <description>&lt;P&gt;I can't get the sample app to work. It seems like there is a reference to the java_sdk http client but the readme doesn't say it does. It comples fine but gives a run time error. I have tried linking in the java_sdk and apache libraies but nothing works. Below is the source and the call stack where the error occurs.&lt;/P&gt;&lt;P align="left"&gt;public &lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; SDKActivity &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;extends&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; Activity {&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; AuthNet &lt;/FONT&gt;&lt;EM&gt;&lt;FONT color="#0000c0" size="2"&gt;&lt;FONT color="#0000c0" size="2"&gt;authNet&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;FONT color="#7f0055" size="2"&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="2"&gt; {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;HttpClient.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#0000c0" size="2"&gt;&lt;FONT color="#0000c0" size="2"&gt;HTTP_CONNECTION_TIMEOUT&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT size="2"&gt; = 0;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thread [&amp;lt;1&amp;gt; main] (Suspended (exception NoClassDefFoundError))&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SDKActivity.&amp;lt;clinit&amp;gt;() line: 30&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Class.newInstanceImpl() line: not available [native method]&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Class.newInstance() line: 1429&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Instrumentation.newActivity(ClassLoader, String, Intent) line: 1021&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2577&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2679&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread$H.handleMessage(Message) line: 2033&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread$H(Handler).dispatchMessage(Message) line: 99&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Looper.loop() line: 123&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ActivityThread.main(String[]) line: 4627&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Method.invoke(Object, Object...) line: 521&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ZygoteInit$MethodAndArgsCaller.run() line: 868&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ZygoteInit.main(String[]) line: 626&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NativeStart.main(String[]) line: not available [native method]&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2012 12:38:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/30548#M15974</guid>
      <dc:creator>mrbill1958</dc:creator>
      <dc:date>2012-10-11T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK and sample app not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/30746#M16072</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try putting the external libraries in the /libs folder of your project, rather than /lib. The newer Android SDK looks in the libs folder, and will give you this error if the dependencies are located elsewhere.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2012 19:57:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/30746#M16072</guid>
      <dc:creator>spencer</dc:creator>
      <dc:date>2012-10-18T19:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK and sample app not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/31118#M16242</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Thank you, that worked.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Nov 2012 23:46:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Android-SDK-and-sample-app-not-working/m-p/31118#M16242</guid>
      <dc:creator>mrbill1958</dc:creator>
      <dc:date>2012-11-03T23:46:25Z</dc:date>
    </item>
  </channel>
</rss>

