Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
d2e4daf0
Commit
d2e4daf0
authored
Jan 6, 2023
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
update README
Change-Id: Ib3ca780e6331bf3af1075fc786a93cec26558cf6
parent
506ad856
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-65
15 additions, 65 deletions
README.md
with
15 additions
and
65 deletions
README.md
+
15
−
65
View file @
d2e4daf0
# Jami Android
# Jami Android
Th
is repository is meant for the porting of Jami to
Android
.
Th
e Jami client for
Android
| App | CI
| App | CI
| :-: | :-: |
| :-: | :-: |
...
@@ -8,80 +8,30 @@ This repository is meant for the porting of Jami to Android.
...
@@ -8,80 +8,30 @@ This repository is meant for the porting of Jami to Android.
## Environment
## Environment
Clone this as a submodule of:
Install autotools, autopoint, swig-4 or later and python-3.7 or later on your system
<https://review.jami.net/#/admin/projects/ring-project>
to obtain the required Jami daemon source.
You can also manually clone the daemon and override the DAEMON_DIR
during compilation
Make sure you have the android-ndk and android-sdk, and you'll want something
like this in your .bashrc (or equivalent):
export ANDROID_NDK=$HOME/src/android-ndk
export ANDROID_NDK_ROOT=$ANDROID_NDK
export ANDROID_SDK=$HOME/src/android-sdk-linux
export ANDROID_HOME=$ANDROID_SDK
export PATH=$ANDROID_SDK/platform-tools:${PATH}
install swig-4.0.0 or later and python-3.7 or later on your system
## Build instructions
## Build instructions
Supported archs are: armeabi-v7a , arm64-v8a and x86_64
With Android Studio:
*
Add 'ring-project' in Android Studio
Example:
*
Click on build
*
Enjoy!
ANDROID_ABI="arm64-v8a x86_64"
Then:
./compile.sh
If you cloned the daemon in a custom directory (other than ../daemon),
you can specify it using an
**absolute path**
:
DAEMON_DIR=custom_path ./compile.sh
With the command line:
*
cd client-android/ring-project
**When all else fails**
:
*
./gradlew assembleDebug
git clean -dfx
cd ../daemon (or custom_path)
git clean -dfx
And start again.
## Update translations
## Update translations
Update translations using the Transifex client (tx) :
Update translations using the Transifex client (tx) :
./update-translations.sh
./update-translations.sh
## Debugging
# Generate new release commit
Retrieve client log from device (client must be running before executing this)
```
sh
jami_pid
=
$(
adb shell ps | egrep
'cx.ring'
|
cut
-c10-15
)
\
&&
test
-n
"
$jami_pid
"
||
(
echo
"failed to retrieve jami pid"
&&
exit
1
)
\
&&
adb logcat
'*:D'
|
grep
"
$jami_pid
"
|
tee
jami.log
```
## Common issues
*
Makeinfo issue
makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
**Solution**
: Install texinfo package containing makeinfo dep.
*
Unable to locate tools.jar
Generate a new release commit updating the version code and version string:
**Solution**
: Your java installation is not pointing to a JDK.
./update_version.py --commit
Install one, or make JAVA_HOME point to it.
*
When building the apk error in build-tools
# Report issues
error while loading shared libraries: libstdc++.so.6
**Solution**
: Install lib32stdc++6 lib32z1-dev
*
When compiling on Fedora
Report issues on Gitlab:
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
https://git.jami.net/savoirfairelinux/jami-client-android
**Solution**
*
: sudo dnf install ncurses-compat-libs
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment