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

R cannot be resolved #20

Open
TomRaybould opened this issue Feb 5, 2019 · 0 comments
Open

R cannot be resolved #20

TomRaybould opened this issue Feb 5, 2019 · 0 comments

Comments

@TomRaybould
Copy link

Android studio version: 3.2
Gradle version: 4.10

I cloned the sdk(03b8c42) and opened it in android studio and it is telling me that it "Cannot resolve symbol R" in this line of code.

Main Activity line 40.
setContentView(R.layout.activity_main);

I tried rebuilding the project multiple times as well as invalidating the cache and restarting android studio. This is happening with no modification to the code or build files in this project, this is a clean clone.

I am not sure if this is related but I am also getting this error.

Cannot load module file 'C:/Users/theta/theta-sdk/theta-plugin-sdk.iml':
File C:\Users\theta\theta-sdk\theta-plugin-sdk.iml does not exist
Would you like to remove module 'theta-plugin-sdk' from the project?

I tried removing the plugin module from the setting.gradle file and re-adding it and then syncing the project but nothing seems to make either of these errors go away. The project builds and even installs on the camera. But these errors can't be correct.

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

1 participant