Code Monkey home page Code Monkey logo

Comments (8)

ms1995 avatar ms1995 commented on August 10, 2024

This seems to be caused by Apktool. Please consider upgrading apktool.jar to the latest version.

from ella-customized.

melisMirza avatar melisMirza commented on August 10, 2024

Thanks for your reply.
I upgraded apktool from 2.4.2 to 2.5.0 but unfortunately the problem persists. Java and Android SDK versions also comply with the requirements. I tried with different and verified APKs, all having this same issue. Are there any other components to consider?

from ella-customized.

ms1995 avatar ms1995 commented on August 10, 2024

Can you try depackaging the APKs using Apktool’s command line and see whether AndroidManifest.xml can be properly decoded?

from ella-customized.

melisMirza avatar melisMirza commented on August 10, 2024

it seems apktool is correctly decoding the package. I validated the Android manifest xml file as well and it doesn't have any errors.

from ella-customized.

Dunamo avatar Dunamo commented on August 10, 2024

Hi,
I met the similar problem when i run ella.sh i command. receive the following error

I upgraded apktool.jar from 2.3.1 to 2.5.0 find the same problems to melisMirza

The ella server must be run on 192.168.182.132 (explicitly specified in ella settings)
Standard output and error is redirected to /home/jdd/Code/ella-customized/ella-out/_home_jdd_AUT_droidbotApp.apk/log.txt
Exception in thread "main" java.lang.Error: Error occurred while instrumenting. exit code is 1
at com.apposcopy.ella.EllaLauncher.instrument(EllaLauncher.java:259)
at com.apposcopy.ella.EllaLauncher.main(EllaLauncher.java:23)

the log profile is :
[Fatal Error] stamp_android_manifest3760717262251367522.tmp:1:1: Content is not allowed in prolog.
Exception in thread "main" java.lang.Error: org.xml.sax.SAXParseException; systemId: file:/tmp/stamp_android_manifest3760717262251367522.tmp; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.apposcopy.app.ParseManifest.(ParseManifest.java:63)
at com.apposcopy.app.App.readApp(App.java:54)
at com.apposcopy.ella.Main.main(Main.java:28)
Caused by: org.xml.sax.SAXParseException; systemId: file:/tmp/stamp_android_manifest3760717262251367522.tmp; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
at com.apposcopy.app.ParseManifest.(ParseManifest.java:35)
... 2 more

Thank you

from ella-customized.

ms1995 avatar ms1995 commented on August 10, 2024

Frankly speaking, it's been years since I used this tool, and I'm not even the author of the tool, it's difficult to recall all the implementation details. On the other hand, Android has been changing, and it's possible that some new elements in APKs are not recognized by this aged tool (I was using this tool with Android 4.4-compatible APKs).

While I may have some time to look into issues related to this tool later, I would suggest you to look into them by yourselves, given that you already have the necessary environment to reproduce the issues, and I currently don't have more knowledge of this tool compared with you.

Please feel free to share your experiences with this tool here or at the original author's repo.

from ella-customized.

Dunamo avatar Dunamo commented on August 10, 2024

from ella-customized.

maryammsd avatar maryammsd commented on August 10, 2024

Does anyone find a solution for this problem? I am encountering the same problem

from ella-customized.

Related Issues (4)

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.