Skip to content Skip to sidebar Skip to footer

Failed To Find Version-tag String. File Must Be Updated

I am trying to create apk for android using the command ./build.py --package org.test.hideapp --name hideapp --version 1.0 --dir /home/home/Downloads/Projects/test5/hideapp debug a

Solution 1:

I know it is a little too late, but I just had the same problem :P All I did was to delete my original build.xml and re-run the command, a new build.xml will be created for you automatically after the re-run.

Solution 2:

As much as you don't try to make something magical, but only create an apk, consider buildozer

So you need to do:

  1. Install it with pip install buildozer
  2. Go to your project directory and initialize it with buildozer init. It creates the file named buildozer.spec in your project directory, where you can specify the version in two ways: with __version__ directive in your main.py (version.regex and version.filename), or explicitly in version directive
  3. Create an apk and (optionally) deploy it on some connected device with:

    buildozer android debug deploy run
    

By default you will have an apk file in bin directory.

Post a Comment for "Failed To Find Version-tag String. File Must Be Updated"