nadam / nfc-reader

Simple NFC Reader for Android
903 stars 354 forks source link

app is not running #1

Closed slav123 closed 11 years ago

slav123 commented 12 years ago

04-12 11:11:22.216: E/AndroidRuntime(11019): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{se.anyro.nfc_reader/se.anyro.nfc_reader.TagViewer}: java.lang.ClassNotFoundException: se.anyro.nfc_reader.TagViewer

nadam commented 12 years ago

Thanks for the report. Works fine on many other phones. Which phone are you using and which version of Android?

slav123 commented 12 years ago

I was trying to run application using Google Nexus Galaxy - directly on the phone. All settings were default from your repo. I can send you complete logs from eclipse if you want.

nadam commented 12 years ago

I don't think the rest of the log says much more. People on stackoverflow suggest that it could have something to do with the .classpath file. It's recommended not to have that in the repo, but it gets constructed by eclipse. Mine currently look like this:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="src" path="gen"/>
    <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
    <classpathentry kind="lib" path="/Users/adam/android-sdk/tools/lib/guavalib.jar"/>
    <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
    <classpathentry kind="output" path="bin/classes"/>
</classpath>

Please check if some of these llines are missing in yours. Would also be interesting to know which version of the Android SDK you are using.

dpavlin commented 12 years ago

If it helps, I also have Galaxy Nexus and application on the market runs without problems.

nadam commented 11 years ago

Seems like only one person had this problem so I'm closing it.