Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

igniter-go-libs 无法编译 #424

Open
superbetacat opened this issue Sep 24, 2022 · 0 comments
Open

igniter-go-libs 无法编译 #424

superbetacat opened this issue Sep 24, 2022 · 0 comments

Comments

@superbetacat
Copy link

在几个月前曾经成功编译出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/[email protected]/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/[email protected]/cmd/gomobile/bind_androidapp.go:93 +0x86b
main.runBind(0x1372be0)
C:/Users/user/go/pkg/mod/golang.org/x/[email protected]/cmd/gomobile/bind.go:127 +0x66a
main.main()
C:/Users/user/go/pkg/mod/golang.org/x/[email protected]/cmd/gomobile/main.go:73 +0x3d8

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant