Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app is not running #1

Closed
slav123 opened this issue Apr 12, 2012 · 5 comments
Closed

app is not running #1

slav123 opened this issue Apr 12, 2012 · 5 comments

Comments

@slav123
Copy link

slav123 commented Apr 12, 2012

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
Copy link
Owner

nadam commented Apr 12, 2012

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

@slav123
Copy link
Author

slav123 commented Apr 12, 2012

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
Copy link
Owner

nadam commented Apr 12, 2012

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
Copy link

dpavlin commented Sep 2, 2012

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

@nadam
Copy link
Owner

nadam commented May 20, 2013

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

@nadam nadam closed this as completed May 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants