Content> Home > Kodi Wizard & Repo Guides > Wizard & Repo Series For Kodi 18 & 19 > How to add APK files to Kodi 18 & 19 Wizards (Part 5)
How to add apks files to your Kodi Wizard

How to add APK files to Kodi 18 & 19 Wizards (Part 5)

In part 5, we are going to show you how you can add your own APK files to your Kodi 18 & 19 Wizards. Adding APKs is a great way to easily sideload your favorite apps onto your devices. Unlike other sideloading methods, by using your Kodi Wizard you can easily install them without the need for other third-party apps like Downloader.

How to add APKs to your Kodi Wizard

Before we being with adding APKs we first need to collect the APKs we wish to add. This step will be different for everyone so please go ahead and gather up all the APK files you wish to include. In this example, we are going to be adding the TiviMate v4.2.0 APK to our Wizard. Once you have finished gathering all your APK files proceed to the next part where we will show you how you can add these to your Wizard.

Creating our APK File:

In the previous lessons we discussed how these files are already made availiable for you. We had originally created a builds.txt file from scratch that way we could show you how its done. When it came down to the notify.txt file we copied this template from the files that were already provided. Similar to the notify.txt file we are going to be copying this APK file and moving it to our master folder.

You can get this file from either the leia or matrix folder. For this example, we are going to be using our Kodi 19 Wizard inside the matrix folder.

  • Open up your master folder
  • Click on the matrix folder
  • Next, click on your plugin.program.YOUR NAME folder
  • Select resources
  • Inside the resources folder open up your text folder
  • Copy the apks.txt file
  • Return back to your master folder and paste the apks.txt file there as shown below

Creating our APK folder:

We need a location to store our APK files we downloaded earlier. In order to keep things somewhat organized we highly suggest that you create a new folder inside your master folder called apks. In this new folder we can paste all of our downloaded apk files.

  • Right-click anywhere inside your master folder and select new>folder
  • Rename this new folder apks
  • Once you have renamed this folder go ahead and paste your apk files into it.
    • For this example, we are only adding one new apk (TiviMate v4.2.0) as shown below

Keep in mind, when we upload everything to our server our apk files will be inside the apk folder. Your apk folder will be uploaded to your server’s main directory just like all the other folders inside your master folder. For example, our apk file for TiviMate is located at http://masterkodi.com/apks/tivimate_4201.apk NOT http://masterkodi.com/tivimate_4201.apk

Editing our apks.txt file:

Now that we have created our apks.txt file, created a place to store apks, and added our apk files its time to edit our apks.txt file. This file is similar to your builds.txt file. It will tell Kodi where to grab your apk files from and include any information about those apks such as images, descriptions, etc.

  • Open up your master folder
  • Next, right-click on your apks.txt file and select open with Notepad++

Before we begin editing this we need to point out one key factor. This file can have sections/categories. The first part of this code which is lines 1-7 represents a standard apk whereas lines 9-15 represent a section/category. If you plan on adding sections to your apk list to separate different apks files then you may want to copy and paste that code for all your sections.

For this example, we are only adding one apk file and if we did add more we do not plan on adding sections. So technically we are only going to be editing lines 1-7 and if we decided to add more apks we would simply copy and paste that code over and over for each apk.

  • On line 1 go ahead and enter in the name of your apk file
  • Next, make sure on line 2 it is no. If it was listed as yes then it would be considered a section/category not an apk!
  • On line 3 we need to specify the exact url to our apk file.
    • Remember, we previously stated that our apk files will be in a folder titiled apks. This folder will be uploaded to our servers main directly. So when you list your urls make sure they are similar to this.
    • http://example.com/apks/tivimate_4201.apk
  • Lines 4&5 is where you can add the urls to your image files for these apks. For this example we are not going to be adding any. However, if you did choose to add your own apk file icons and backgrounds we would highly suggest creating a new folder inside your apks folder called images. There you could store all your image files for your apks. Again, this helps keep things organized.
    • If you did create an image folder inside your apks folder your urls would look similar to this:
    • http://example.com/apks/images/tivimateicon.png
  • Now on line 6 this can be either a yes or no depending on if your apk contains adult content. Since TiviMate by itself doesn’t contain adult content we are leaving this as no.
  • Lastly, on line 7 give a brief description of the apk.

If you have more than one apk you want to add simply copy this code again below the first leaving a space between the two sets of code, and edit it. You can do this as many times as you’d like. Once you are finished be sure to save your file!

Editing our Kodi Wizard to find apk file:

Now that we have completed our apk file we need to tell our Kodi Wizards how to access this content. This must be done for both Kodi 18 & 19. To do this simply follow the instructions below.

  • Start by opening up your master folder
  • Next, we are going to start with Kodi 18, so go ahead and open up your leia folder
  • Select plugin.program.YOUR NAME folder
  • Next, right-click on your uservar.py file and select open with Notepad++
  • Scroll down to line 25. You will notice this is where we need to put the url for our apks.txt file
    • On line 25 enter in your URL for your apks.txt file. Remember this file is in our master folder so when uploaded it will be on our server main directory just like our builds.txt file/notify.txt file.
    • In this example, we are adding http://masterkodi.com/apks.txt as shown below
  • Once you finish adding your URL go ahead and save your work.
  • Next, open up your matrix folder>plugin.program.YOUR NAME>uservar.py and make the same changes there as you did with leia.
  • Save your work!

Updating our Kodi Wizard version numbers:

Remember, as we stated in previous lessons it is highly important anytime you make changes to your Kodi Wizards or Repo you need to update your version numbers. This ensures that you and your users get the proper version anytime changes are made.

We have made some changes to our files so our version numbers may look different than yours. Keep in mind, when changing your version numbers just go with the next number in line. For example, 2.0.1 to 2.0.2 or 2.0.9 to 2.1.0 etc.

  • Open up your leia folder
  • Select plugin.program.YOUR NAME
  • Open up the addon.xml file
    • Change your version number
    • Don’t forget to add your new version number notes! This can be found under line 23 (See our image for example)
    • Save your work
  • Next, return to your master folder and open up the matrix folder
  • Select your plugin.program.YOUR NAME folder
  • Open up the addon.xml file
    • Change your version number
    • Don’t forget to add your new version number notes! This can be found under line 23 (See our image for example)
    • Save your work
Leia Wizard
Matrix Wizard

Creating our new zip files for uploading

Now that you have completed everything the only thing left to do is to create our new zip files and upload everything to our server. By now, you should have a good understanding on how to create the zips.

Go ahead and run the _repo_xml_generator.py files for leia, matrix, and as a precaution even your repo. Since we didn’t change our repo info that isn’t necessarily needed but it is good practice to ensure you run all three generators.

Upload files to the server

Now that you have created your new zip files the only thing left to do is to upload them to your server. Return back to your master folder copy all files and folders except for _repo_xml_generator.py and upload them to your server’s main directory. Once you have finished your server should look like ours.

Take note that since we copied all of our files and folders from our master folder this also included the new apks folder we created earlier in this guide.

Now, when you open up your Kodi Wizard inside Kodi you should see a menu item called APK Installer. Once you open that you should see any APK file you added. When you first open the APK Installer menu you will need to download the Kodi APK Installer addon which is already included in your Wizard. Once you have that installed then you can easily click on them to install them on your device. Keep in mind, you will ONLY see the APK Installer menu option in your Kodi Wizard if you are running an Android device. This will NOT show up on the PC version of Kodi!

Video Guide:

The video guide is coming soon!

Previous Series Parts:

How to make a Kodi Wizard & Repo for both Kodi 18 & 19 (Part 1)

Do you want a single Kodi Wizard and Repo that works on both Kodi 18 and 19 versions? Look no further! In this guide, we will be showing you how you can easily make your very own Kodi Wizard and Repo that can be used on both Kodi versions. This guide does require that the …

How to make a Kodi Wizard & Repo for both Kodi 18 & 19 (Part 1) Read More »

6 comments
Fire Lite Kodi 19 Build

How to add a custom Kodi Build to your Kodi 18 & 19 Repo/Wizard (Part 2)

This guide on how to add a custom Kodi Build is a continuation to our “How to make a Kodi Wizard & Repo for both Kodi 18 & 19” guide. This build guide does NOT work for our “simple Kodi Wizard guide“. If you followed our guide “how to make a Kodi Wizard (complex wizard …

How to add a custom Kodi Build to your Kodi 18 & 19 Repo/Wizard (Part 2) Read More »

1 comment

How to customize your Kodi Wizard & Repo for Kodi 18 & 19 (Part 3)

In part 3, we are going to be covering how you can customize your Kodi Wizard & Repo. These customization options include managing your settings, colors, text, and more. We will also be showing you how you can easily notify your users about these changes. Most importantly, we are going to walk you through the …

How to customize your Kodi Wizard & Repo for Kodi 18 & 19 (Part 3) Read More »

0 comments

How To Add Addons To Your Kodi Repository (Part 4)

In part 4 of this series, we are going to be showing you how you can add addons to your Kodi repository. This method works for any Kodi repo however, the location of these add-ons in part 4 only pertains to our “How to make a Kodi Wizard & Repo for both Kodi 18 & …

How To Add Addons To Your Kodi Repository (Part 4) Read More »

0 comments

Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Scroll to Top