Importing "Existing Android Code into Workspace" causes an error
precipice opened this issue · 10 comments
OK, I get the same error when I try to Import is as existing Android code.
I can confirm this also, I have android-17 and import fails with the same message.
I'm also having the same issue.
I also got this. However, I continued the imports anyway and then right-clicked the project, and then clicked Android Tools > Fix Project Properties
Project works fine now.
Ah, so it appears to work if you use "Import Existing Projects into Workspace" as opposed to "Import Existing Android Code (weird):
I'll look into why the "Android" import doesn't work, but for now, just use the first import. (Android development will still be enabled). Or use Android Studio — we have gradle files now!
Hmmm its interesting to me that the stripe 'library' has a res file. Importing as non-android makes sense given that this is an sdk, but generally speaking to have your project counted as an android 'library' you should not have a res folder.
I've documented the above solution for eclipse in README.md
😄