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

Package name for facebook and examples are the same #40

Closed
emmby opened this issue Jun 21, 2010 · 2 comments
Closed

Package name for facebook and examples are the same #40

emmby opened this issue Jun 21, 2010 · 2 comments

Comments

@emmby
Copy link

emmby commented Jun 21, 2010

Both the facebook project and the examples/simple project use the same project names. This results in the build process producing two different com.facebook.android.R.class files, which causes dex to choke when assembling the apk on IntelliJ. I'm surprised this isn't a problem on eclipse as well.

Changing the project name in simple to com.facebook.android.example solved this problem. The problem may also exist for the Stream example, but I haven't tried it myself.

@mathiasconradt
Copy link

Not a problem here with IntelliJ. They're supposed to have the same package name. I create the examples as a 'project from source' and add the Facebook.iml as a module to that project. Works ok. When you experience the errors in IntelliJ editor (red underlined words), hit Alt+Enter and make it dependent on the Facebook module, which you just added.
I get stream and simple running on IntelliJ without a problem.

@bgold
Copy link
Contributor

bgold commented Jan 5, 2011

As mathiaslin said.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants