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

Could not import lib to eclipse #46

Open
ralfrosche opened this issue Jul 17, 2014 · 5 comments
Open

Could not import lib to eclipse #46

ralfrosche opened this issue Jul 17, 2014 · 5 comments

Comments

@ralfrosche
Copy link

HI,
i was trying to get the lib working for my project. I tried sevarl mthods to import the lib porject or the lib into libs to buildpath etc. ma app was compiling with no errors but console says did not find class or did not find R$Layout.
The example app runs fine, compiling using eclipse with adt.
Please can you advice to get it working?
regards

@swiven
Copy link

swiven commented Jul 24, 2014

To:ralfrosche
sorry late..
import simple-crop-image-lib.
1.In Eclipse , Import Existing Android Code Into Workspace.
then select simple-crop-image-lib ( download zip, open it, you can see simple-crop-image-lib folder )

2.In your project,click right -> Properties -> Android -> Library : Add simple-crop-image-lib

you can use it.

@ralfrosche
Copy link
Author

Hi,
i did that but there was an other strang behavior..
i solved the problem, It was a buildpath error. At least i had to remove the project.properties, Restart eclipse (told me that proejct.properties is missing) saved project, exit eclipse and copy an old project.properties file from backup repository to the project rep. Very strange but now i could see the green checkmark in the project->properties-Android->Library for the simple.crop-image-lib.
Thanks for your help.
Ralf

@ralfrosche
Copy link
Author

solved and may be closed

@hs9021401
Copy link

Sorry,
And Android Studio? How to import the library??

@Aman5692
Copy link

After Importing simple-crop-image-lib project as library project in eclipse i get two errors in CropImage.java file
error1:(Line 122)SDK_INT cannot be resolved or is not a field
error2:(Line 123) LAYER_TYPE_SOFTWARE cannot be resolved or is not a field
Can somebody advice how to remove these errors.

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

4 participants