signapk.jar error - Android Software/Hacking General [Developers Only]

When I try to sign an apk compiled with smali i get the following error:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native method​at java.util.zip.ZipFile.<init>(Zipfile.java:131)​at java.util.zip.JarFile.<init>(JarFile.java:150)​at java.util.zip.JarFile.<init>(JarFile.java:129)​at com.android.signapk.SignApk.main(SignApk.java:320)​any ideas?

Related

[Q] Aptoide and aapt

Hello,
I try to install an aptoide server on archlinux. When I execute the generate.ph, i get the following error: "sh: ./aapt: No such file or directory".
The aapt file can be executed and is in the same directory as the generate.ph script. I follow the instructions of the aptoide's website and download the aapt file from there.
How can I solve this problem ?
try to copy
this aapt file in the same directory of .generate.ph

[HELP] Compile error

Hello, i can't compile SystemUI.apk and framework-res.apk
for "Invalid resource directory name........" errors.
Can you compile those for me??
Here the link
https://www.dropbox.com/s/bs31771xyqx5wop/Compile.zip
Just delete the invalid directories and apktool will rebuild them.

[Q] Android Studio, Processing, not compiling

I'm having issues either with the IDE Processing and Android Studio.
I'm trying to compile something to Android. But I'm getting this Error at the time of compiling.
Processing IDE:
Code:
-----------------
API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
Generating resource IDs...
[B] BUILD FAILED
/home/user/adt-bundle-linux-x86_64-20130729/sdk/tools/ant/build.xml:649: The following error occurred while executing this line:
/home/user/adt-bundle-linux-x86_64-20130729/sdk/tools/ant/build.xml:690: Execute failed: java.io.IOException: Cannot run program "/home/user/adt-bundle-linux-x86_64-20130729/sdk/build-tools/18.0.1/aapt" (in directory "/tmp/android8933435574063638939sketch"): java.io.IOException: error=2, No such file or directory[/B]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at com.android.ant.AaptExecTask.execute(AaptExecTask.java:699)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at com.android.ant.IfElseTask.execute(IfElseTask.java:120)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at processing.mode.android.AndroidBuild.antBuild(AndroidBuild.java:415)
at processing.mode.android.AndroidBuild.build(AndroidBuild.java:73)
at processing.mode.android.AndroidMode.handleRunDevice(AndroidMode.java:220)
at processing.mode.android.AndroidEditor$14.run(AndroidEditor.java:310)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 44 more
Total time: 2 seconds
Android Studio:
Code:
[B]Error: Gradle: Execution failed for task':MyApplication2:mergeDebugResources'.
>java.io.IOException: Cannot run program "/home/user/.local/android-studio/sdk/build-tools/android-4.2.2/aapt": error=2, No such file or directory[/B]
The file however is there.
I've installed "adb devices", it seems Ok. I've done all the "51-android.rules" process. I've installed API 10(the one requested) and Android Tools. I don't really know what should be wrong.
But I donnt know what to do.
Could you please give me a hand on this, please? I'm in trouble with this since yesterday morning. I've searched on google with no help.
Edit:
I'm really sorry if this is not the best area to put this topic, but I'm getting desperate right now.

Simg2img not successfully compiled Help !

Hi err i have a Problem after setting up a working folder in the end it shows this error
Compiling simg2img ...
simg2img.c:30:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
Error: simg2img.exe not successfully compiled!
Can anyone help me?

Kernel Compiling Error "make: secgetspf: No such file or directory"

Hello, im trying to compile SM-T970 kernel but it returns error i searched through internet but i cant find any solution. Everything starts with "make: secgetspf: No such file or directory" error.
I think there is missing package. I found this https://github.com/b1ad3runn3r/drag-kernel-t975/issues/1#issuecomment-952635840 on github and I installed the packages that mentioned in issue.
but the error contiunes.
this is the output when i run "make clean"
make: secgetspf: No such file or directory
kperfmon_DUMMY="CONFIG_KPERFMON is off."
kperfmon_DUMMY="perflog.h file is missing."
cp: cannot stat './../../system/core/liblog/include/log/perflog.h': No such file or directory
kperfmon_DUMMY=""
drivers/net/wireless/broadcom/Makefile:13: CONFIG_BCM4389 =
drivers/net/wireless/broadcom/Makefile:14: CONFIG_BCM4375 =
make[4]: secgetspf: No such file or directory
drivers/sensors/vl53l5/Makefile:100: LOG_ENABLE=TRUE
drivers/sensors/vl53l5/Makefile:132: BUILD_TYPE=RELEASE
drivers/sensors/vl53l5/Makefile:183: LOG_ENABLE=TRUE
security/samsung/defex_lsm/Makefile:14: [DEFEX] INTEGRITY_ENABLE
CLEAN security/samsung/defex_lsm
Target not found

Categories

Resources