soot-oss / SootUp

A new version of Soot with a completely overhauled architecture
https://soot-oss.github.io/SootUp/
GNU Lesser General Public License v2.1
578 stars 77 forks source link

Can‘t build success with maven. #805

Closed ghost-cai closed 9 months ago

ghost-cai commented 9 months ago

windows11 java11 IDEA sootup1.2

I try to use the sootup, but can' build it. I try to ues it as maven+pom.xml or as local project modules. They are all can't build success. image

image image Even I download the com.android.tools:r8:8.0.40.jar in my maven_repository by hand. It still reported Could not find artifact com.android.tools:r8:pom:8.0.40 and com.github.ThexXTURBOXx.dex2jar. image Can you give me some suggestions?

ghost-cai commented 9 months ago

I solved the problem with com.github.ThexXTURBOXx.dex2jar. I take the

<repositories>
    <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
    </repository>
  </repositories>

into my pom.xml. But It still reported Could not find artifact com.android.tools:r8:pom:8.0.40 in jitpack.io (https://jitpack.io). image I have downloaded the com.android.tools:r8:8.0.40.jar in my maven_repository by hand.

rzo1 commented 9 months ago

You can add

<repository>
            <id>google</id>
            <url>https://maven.google.com</url>
        </repository>

Looks like the r8 tools jar is online available via the Google repository ;-)