You need to sign in to do that
Don't have an account?
M-S
Salesforce SDK Android Projekt: R.java missing
Hi,
Im having trouble importing the SalesforceSDK Project. After it is imported errors appear in:
/SalesforceSDK/src/com/salesforce/androidsdk/ui/OAuthWebviewHelper.java
and
/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceR.java
saying:
"The import com.salesforce.androidsdk.R cannot be resolved".
So the R.java is missing, but how can I get it generated?
I followed the instructions from the Getting Started Page. http://wiki.developerforce.com/page/Getting_Started_with_the_Mobile_SDK_for_Android
Can someone thell me how to fix this problem?
Thanks!
Thanks for the reply!
I got it working ... i just checked the Android checkbox in the Build Path Settings and it finally generated the R file. So the whole things works now ... but im having another problem now too ;)
Have a nice sunny day !
All Answers
I had the same issue.
I found a good set of answers here:
http://stackoverflow.com/questions/7824730/r-cannot-be-resolved-to-a-variable
For me, I just deleted the import statements with R in them, then I did a Project > Clean and it took care of it.
Unfortunately, Im on a different error now. I wish you the best. =o)
Thanks for the reply!
I got it working ... i just checked the Android checkbox in the Build Path Settings and it finally generated the R file. So the whole things works now ... but im having another problem now too ;)
Have a nice sunny day !