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

How to resolve servaldna does not exist error #3

Open
error404-personnotfound opened this issue Oct 31, 2017 · 11 comments
Open

How to resolve servaldna does not exist error #3

error404-personnotfound opened this issue Oct 31, 2017 · 11 comments

Comments

@error404-personnotfound

Error:(3, 35) error: package org.servalproject.servaldna does not exist
Error:(15, 10) error: cannot find symbol class AbstractJsonList
where T,E are type-variables:
T extends Object declared in class AbstractFutureList
E extends Exception declared in class AbstractFutureList

image

@lakeman
Copy link
Member

lakeman commented Oct 31, 2017

$ git submodule init
$ git submodule update

Serval Chat doesn't have any getting started documentation yet, and we don't do any development on windows.
A number of steps of the build process may need to be adjusted to support compiling libsodium and executing the git commands we are using to define the version code & name.

@error404-personnotfound
Copy link
Author

error404-personnotfound commented Nov 1, 2017 via email

@gardners
Copy link
Member

gardners commented Nov 1, 2017 via email

@error404-personnotfound
Copy link
Author

error404-personnotfound commented Nov 2, 2017 via email

@error404-personnotfound
Copy link
Author

error404-personnotfound commented Nov 2, 2017 via email

@lakeman
Copy link
Member

lakeman commented Nov 2, 2017

If you are having trouble building serval-dna, you should post that issue to serval-dna.

However, you shouldn't need to build serval-dna yourself to get started with Serval Chat, unless you need to produce a manifest for the apk you are building.

@error404-personnotfound
Copy link
Author

error404-personnotfound commented Nov 2, 2017 via email

@lakeman
Copy link
Member

lakeman commented Nov 2, 2017

No, it is telling you that the java folder in the serval-dna submodule could not be found. Hence the above submodule commands.

@error404-personnotfound
Copy link
Author

error404-personnotfound commented Nov 2, 2017 via email

@lakeman
Copy link
Member

lakeman commented Nov 4, 2017

Sigh, libsodium call it a stable branch, but they keep rebasing it.

@lakeman
Copy link
Member

lakeman commented Nov 20, 2017

I've created and pushed a tag for each of the commit's we have used in serval chat's history to our own fork of libsodium.

So something like this should sort everything out;

$ cd app/src/main/jni/libsodium
$ git remote add serval https://github.com/servalproject/libsodium.git
$ git fetch --tags serval
$ cd ..
$ git submodule update

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

3 participants