Instructions:
-
Download and install Android Studio or Intellij Idea, ( Intellij IDE worked for me in building this APK)
-
git clone this repo into a directory of your chosinng on your machine
git clone https://github.com/LinuxUser255/odysee-android.git
-
You will have to update the JDK, and SDK in the IDE when you open this repo. (I used the Android API 35 SDK)
-
Then navigate in the file tree to
app/twitter.properties.sample
and copy it and name the copy:app/twitter.properties
-
Open the copy of twitter .properties you made and delete the XXXXXX values so that it looks like this:
TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
-
Now to proceed to the next step, you will need to have a signing key/digital signature to build this APK, this is done using the IDE
-
In the menu go to->
buid/Generate signed APK
follow the prompts, and remember the passwords and alias you created -
At this point you now need to add your APK digital signature to the
app/build.gradle
file Adding it using thebuild.gradle
provided by Odysee can be tricky, so I am including mine to use as a template, It looks like this, but just edit the one here in my fork of this repo.
See line 40 in my build.gradle and type in the creds you created.
Remember it's the gradel file in app/build.gradle
file path. access it via the link above ^^^
android {
signingConfigs {
release {
storeFile file('<<put full path to the .JKS Java keychain file>>')
storePassword '<<password of the file>>'
keyAlias '<<the alias you chose for the digital signature>>'
keyPassword '<<the password for the key>>'
}
}
(...)
buildTypes {
release {
(...)
debuggable false
signingConfig signingConfigs.release
}
-
Then you will be able to build a signed APK file via
Build/Generate Signed Bundle/APK
... menu item on Android Studio There are two build variants: Full and FOSS. The Full variant uses Google APIs and the FOSS variant doesn't. You can switch between them on the "Build Variants" tab in Android Studio. -
In the IDE menu navigate to: Build/Generate Signed Bundle/APK Observe the file/directory location where the APK will be stored. You need to know this when side loading it on your phone.
-
Once you succesfully completed the steps above, you can side load it using Android Debug Bridge
adb
in the command line https://developer.android.com/tools/adb There are some decent online tutorials on how to do this.
We ❤️ contributions from everyone and contributions to this project are encouraged, and compensated. We welcome bug reports, bug fixes and feedback is always appreciated.
This project is MIT licensed. For the full license, see LICENSE.
My fork of this project uses the GNU Public License Version 3 (GPLv3)
We take security seriously. Please contact [email protected] regarding any security issues.
The primary contact for this project is @akinwale ([email protected])