You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to build on windows using command: mvn clean package -Dandroid.sdk.path=/path/to/android-sdk -Dandroid.release=true -P deploy, but then I get this following error:
[ERROR] Failed to execute goal com.simpligility.maven.plugins:android-maven-plugin:4.4.3:proguard (default-proguard) on project Metasploit-AndroidPayload: : MojoExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C ""C:\Program Files\Java\jdk-11.0.11\bin\java" -Xmx512M -jar C:\Users\XXX\.m2\repository\net\sf\proguard\proguard-base\5.2.1\proguard-base-5.2.1.jar @e:\metasploit\metasploit-payloads\java\androidpayload\app\target\proguard\temp_config.cfg", Result = 1 -> [Help 1]
Any suggestion?
The text was updated successfully, but these errors were encountered:
Did you replace /path/to/android-sdk with the actual SDK location?
I haven't actually tried building on windows, you're definitely better off using Linux/Macos/docker to build it.
Did you replace /path/to/android-sdk with the actual SDK location? I haven't actually tried building on windows, you're definitely better off using Linux/Macos/docker to build it.
Yes, the actual location is C:\Users\XXX\AppData\Local\Android\Sdk which is the default sdk location of Android Studio. I will try to build on linux. Can I build it using latest java and maven version?
I try to build on windows using command: mvn clean package -Dandroid.sdk.path=/path/to/android-sdk -Dandroid.release=true -P deploy, but then I get this following error:
Any suggestion?
The text was updated successfully, but these errors were encountered: