-
Notifications
You must be signed in to change notification settings - Fork 1.2k
howto_import_into_eclipse
saki edited this page Aug 6, 2016
·
1 revision
Google already stop developing plugin for Eclipse now and I don't use eclipse for Android development now(and this repository also already converted to project for Android Studio). So this is just my assuming,
- make new Eclipse project
- manually copy all Java sources into your project with their directories.
- manually copy all shared libraries(.so) into you project.
As I tested, you can also import as gradle project and run all tasks in Eclipse but I don't recommend because we can't sourcecode-debug as Android app.
- add
local.properties
file and writesdk.dir
andndk.dir
with your path. - edit
gradle-wrapper.properties
file under {UVCCamera}/gradle/wrapper as follows;distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
- import all under
UVCCamera
as gradle project. - if you see dialog to confirm whether you want to override existing eclipse project descriptors, you should
Override
(instead ofKepp
) otherwise you can see errors in editor. - Now you can execute all gradle tasks in Eclipse.