Closed MiriUll closed 6 years ago
Hey @MiriUll, drozer doesn't support java 1.8 yet. You would have to downgrade to java 1.7 in order build from source.
Alternatively, try our rpm package which is available at https://github.com/mwrlabs/drozer/releases/download/2.4.3/drozer-2.4.3-1.noarch.rpm
Steps to reproduce
Expected behaviour
Tell us what should happen.
Output all Content provider
Actual behaviour
Tell us what happens instead. `Scanning com.csipsimple... /usr/bin/javac -cp /usr/lib/python2.7/site-packages/drozer-2.4.3-py2.7.egg/drozer/lib/android.jar ZipUtil.java ZipUtil.java:10: error: error while writing ZipUtil: ZipUtil.class (Permission denied) public class ZipUtil { ^ 1 error /usr/lib/python2.7/site-packages/drozer-2.4.3-py2.7.egg/drozer/lib/dx --dex --output 4a78a7a38b67b985beccf6efac92375b.apk ZipUtil.class
UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.RuntimeException: ZipUtil.class: file not found at com.android.dex.util.FileUtils.readFile(FileUtils.java:51) at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144) at com.android.dx.command.dexer.Main.processOne(Main.java:596) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264) at com.android.dx.command.dexer.Main.run(Main.java:230) at com.android.dx.command.dexer.Main.main(Main.java:199) at com.android.dx.command.Main.main(Main.java:103) 1 error; aborting drozer could not find or compile a required extension library.`
Environment
Operating system: Fedora 25
Java Version: 1.8.0_144
Android Version: 2.3.7
Drozer Version:
Install Method: Built from source/.deb/.exe/.. 'sudo python setup.py install' (I tried 'make rpm' but I get this answer: 'cd common; protoc --python_out=../src/pydiesel/api/ protobuf.proto /bin/sh: protoc: Kommando nicht gefunden. Makefile:55: die Regel für Ziel „src/pydiesel/api/protobuf_pb2.py“ scheiterte make: *** [src/pydiesel/api/protobuf_pb2.py] Fehler 127Ä')
Drozer Config
Drozer error logs, ensure Drozer is launched in debug mode $ drozer console connect --debug