trojan-gfw / igniter

A trojan client for Android (UNDER CONSTRUCTION).
GNU General Public License v3.0
3.3k stars 736 forks source link

igniter-go-libs 无法编译 #424

Open superbetacat opened 2 years ago

superbetacat commented 2 years ago

在几个月前曾经成功编译出igniter-go-libs下的golibs.aar,现在没有改一行代码的情况下编译一直报错:

rm -r $WORK\b001\ aar: AndroidManifest.xml aar: proguard.txt aar: classes.jar PWD=$WORK\java javac -d $WORK\javac-output -source 1.7 -target 1.7 -bootclasspath $ANDROID_HOME\platforms\android-31\android.jar clash\Clash.java clash\ClashStartOptions.java go\Seq.java go\Universe.java go\error.java jar c -C $WORK\javac-output . jar: META-INF/MANIFEST.MF jar: clash/Clash.class jar: clash/ClashStartOptions.class jar: go/Seq$GoObject.class jar: go/Seq$GoRef.class jar: go/Seq$GoRefQueue$1.class jar: go/Seq$GoRefQueue.class jar: go/Seq$Proxy.class jar: go/Seq$Ref.class jar: go/Seq$RefMap.class jar: go/Seq$RefTracker.class jar: go/Seq.class jar: go/Universe$proxyerror.class jar: go/Universe.class jar: go/error.class rm -r -f "$WORK" panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]: main.buildAAR({0xc000010240, 0x3f}, {0xc000349ea0, 0x42}, {0xc000090178, 0x1, 0x5?}, {0xc0000b4180, 0x4, 0x4}) C:/Users/user/go/pkg/mod/golang.org/x/mobile@v0.0.0-20220504144722-50dca8fc073d/cmd/gomobile/bind_androidapp.go:197 +0xfa9 main.goAndroidBind({0xc000252a80, 0x20}, {0xc000090178?, 0x1, 0x1}, {0xc0000b4180, 0x4, 0x4}) C:/Users/user/go/pkg/mod/golang.org/x/mobile@v0.0.0-20220504144722-50dca8fc073d/cmd/gomobile/bind_androidapp.go:93 +0x86b main.runBind(0x1372be0) C:/Users/user/go/pkg/mod/golang.org/x/mobile@v0.0.0-20220504144722-50dca8fc073d/cmd/gomobile/bind.go:127 +0x66a main.main() C:/Users/user/go/pkg/mod/golang.org/x/mobile@v0.0.0-20220504144722-50dca8fc073d/cmd/gomobile/main.go:73 +0x3d8

这个lib库很久没更新了,作者能看一下是否还能成功编译吗?