Coder Social home page Coder Social logo

Comments (7)

nprail avatar nprail commented on August 21, 2024 1

Ah, that would explain it! I was pretty confused as to why that would have been happening :)

No problem, I'm glad to help!

from apkup.

nprail avatar nprail commented on August 21, 2024

@chenop What version of apkup are you using? AAB support was introduced in 1.3.0.

Based on the error message, it sounds like it is trying to parse the AAB as an APK. That should only happen if the file extension is .apk. Or if the apkup version is earlier than 1.3.

from apkup.

chenop avatar chenop commented on August 21, 2024

Appreciate your effort to help.

apkup: 1.3.0
java: Java(TM) SE Runtime Environment (build 14.0.2+12-46)

Still got the:
ERROR: APK does not contain 'AndroidManifest.xml'

from apkup.

nprail avatar nprail commented on August 21, 2024

Interesting. Try again but first run:

export DEBUG=apkup:*

Then paste the full output here. Make sure you redact any sensitive info, though 🙂

from apkup.

chenop avatar chenop commented on August 21, 2024
➜  scripts > export DEBUG=apkup:*
➜  scripts > apkup --key ./key.json --track beta --apk /path/to/release/app-release.aab 
⠋ Uploading APK...  apkup:helpers > Parsing manifest +0ms
ERROR: APK does not contain 'AndroidManifest.xml'

from apkup.

nprail avatar nprail commented on August 21, 2024

@chenop Is that the entire output?

There should be another line that is something to the effect of:

apkup:helpers > File path ${apkFile}

After that, it checks the file extension with path.extname and parses either as an AAB or an APK. It seems that it is trying to parse the AAB as an APK.

https://github.com/eventOneHQ/apkup/blob/master/src/helpers.ts#L28

from apkup.

chenop avatar chenop commented on August 21, 2024

Ok, what happens is that there was an old apkup installed globally...

Once I've uninstalled it - things started to work.
Sorry for this and thank you for your support!

from apkup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.