Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Fail generating mobile aar #3550

Open
angel-palomares opened this issue Mar 20, 2023 · 0 comments
Open

Fail generating mobile aar #3550

angel-palomares opened this issue Mar 20, 2023 · 0 comments

Comments

@angel-palomares
Copy link

angel-palomares commented Mar 20, 2023

What I'm trying to do
I am trying to generate an android aar of the v0.1.9 release.

[Clearly describe what you're trying to do.]
I have tried with several different NDK versions but with the last NDK LTR for this example I am using NDK 25.2.9519653. So I have to change a little bit the script for adding the androidapi version to go mobile bind. The final command I am using is as follows:

make bindings-android
----------------------------------------
   gomobile: Creating Android bindings
----------------------------------------
gomobile bind -v -androidapi 19 -ldflags '-s -w' -target=android/arm64,android/amd64 -javapkg=org.hyperledger.aries -o=/Users/angelpalomares/atos/workspace/aries/aries-framework-go-0.1.9/cmd/aries-agent-mobile/build/android/aries-agent.aar github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/...
write /var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-arm64/go.mod
write /var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-amd64/go.mod
go: errors parsing go.mod:
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-amd64/go.mod:383: replacement module without version must be directory path (rooted or starting with ./ or ../)
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-amd64/go.mod:385: replacement module without version must be directory path (rooted or starting with ./ or ../)
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-amd64/go.mod:387: replacement module without version must be directory path (rooted or starting with ./ or ../)
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-amd64/go.mod:389: replacement module without version must be directory path (rooted or starting with ./ or ../)
go: errors parsing go.mod:
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-arm64/go.mod:383: replacement module without version must be directory path (rooted or starting with ./ or ../)
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-arm64/go.mod:385: replacement module without version must be directory path (rooted or starting with ./ or ../)
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-arm64/go.mod:387: replacement module without version must be directory path (rooted or starting with ./ or ../)
/private/var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-2971092576/src-android-arm64/go.mod:389: replacement module without version must be directory path (rooted or starting with ./ or ../)
gomobile: go mod tidy -v failed: exit status 1

make: *** [bindings-android] Error 1

Expected result
If I tried it with v0.1.8 release I have the following result:

 make bindings-android
----------------------------------------
   gomobile: Creating Android bindings
----------------------------------------
gomobile bind -v -androidapi 19 -ldflags '-s -w' -target=android/arm64,android/amd64 -javapkg=org.hyperledger.aries -o=/Users/angelpalomares/atos/workspace/aries-1.8.0/cmd/aries-agent-mobile-old/build/android/aries-agent.aar github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/...
write /var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-3361581050/src-android-arm64/go.mod
write /var/folders/22/117cdfys1nz7jvbszwb4h2xm0000gn/T/gomobile-work-3361581050/src-android-amd64/go.mod
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/api in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/command in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/config in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/logger in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/models in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/notifier in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/rest in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/storage in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/api in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/command in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/config in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/logger in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/models in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/notifier in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/rest in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
go: found github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile/pkg/wrappers/storage in github.com/hyperledger/aries-framework-go/cmd/aries-agent-mobile v0.0.0-00010101000000-000000000000
unused cloud.google.com/go
unused cloud.google.com/go/bigquery
unused cloud.google.com/go/datastore
unused cloud.google.com/go/pubsub
unused cloud.google.com/go/storage
unused dmitri.shuralyov.com/gpu/mtl
unused github.com/BurntSushi/toml
unused github.com/BurntSushi/xgb
unused github.com/aead/siphash
unused github.com/allegro/bigcache
unused github.com/armon/go-metrics
unused github.com/armon/go-radix
unused github.com/aws/aws-sdk-go
unused github.com/bgentry/speakeasy
unused github.com/btcsuite/btclog
unused github.com/btcsuite/go-socks
unused github.com/btcsuite/goleveldb
unused github.com/btcsuite/snappy-go
unused github.com/btcsuite/websocket
unused github.com/btcsuite/winsvc
unused github.com/census-instrumentation/opencensus-proto
unused github.com/chzyer/logex
unused github.com/chzyer/readline
unused github.com/chzyer/test
unused github.com/client9/misspell
unused github.com/cncf/udpa/go
unused github.com/decred/dcrd/lru
unused github.com/envoyproxy/go-control-plane
unused github.com/envoyproxy/protoc-gen-validate
unused github.com/fatih/color
unused github.com/fatih/structs
unused github.com/fsnotify/fsnotify
unused github.com/go-gl/glfw
unused github.com/go-gl/glfw/v3.3/glfw
unused github.com/go-ldap/ldap
unused github.com/go-test/deep
unused github.com/gobwas/httphead
unused github.com/gobwas/pool
unused github.com/gobwas/ws
unused github.com/golang/glog
unused github.com/golang/groupcache
unused github.com/golang/mock
unused github.com/google/btree
unused github.com/google/go-cmp
unused github.com/google/martian
unused github.com/google/martian/v3
unused github.com/google/pprof
unused github.com/google/renameio
unused github.com/googleapis/gax-go/v2
unused github.com/gorilla/websocket
unused github.com/hashicorp/errwrap
unused github.com/hashicorp/go-cleanhttp
unused github.com/hashicorp/go-hclog
unused github.com/hashicorp/go-immutable-radix
unused github.com/hashicorp/go-multierror
unused github.com/hashicorp/go-plugin
unused github.com/hashicorp/go-retryablehttp
unused github.com/hashicorp/go-rootcerts
unused github.com/hashicorp/go-sockaddr
unused github.com/hashicorp/go-uuid
unused github.com/hashicorp/go-version
unused github.com/hashicorp/golang-lru
unused github.com/hashicorp/hcl
unused github.com/hashicorp/vault/api
unused github.com/hashicorp/vault/sdk
unused github.com/hashicorp/yamux
unused github.com/hpcloud/tail
unused github.com/hyperledger/aries-framework-go/test/component
unused github.com/ianlancetaylor/demangle
unused github.com/jessevdk/go-flags
unused github.com/jmespath/go-jmespath
unused github.com/jmespath/go-jmespath/internal/testify
unused github.com/jrick/logrotate
unused github.com/jstemmer/go-junit-report
unused github.com/kisielk/gotool
unused github.com/kkdai/bstream
unused github.com/kr/pretty
unused github.com/kr/pty
unused github.com/kr/text
unused github.com/mattn/go-colorable
unused github.com/mattn/go-isatty
unused github.com/mitchellh/cli
unused github.com/mitchellh/copystructure
unused github.com/mitchellh/go-homedir
unused github.com/mitchellh/go-testing-interface
unused github.com/mitchellh/go-wordwrap
unused github.com/mitchellh/reflectwalk
unused github.com/oklog/run
unused github.com/onsi/ginkgo
unused github.com/onsi/gomega
unused github.com/pascaldekloe/goe
unused github.com/pierrec/lz4
unused github.com/posener/complete
unused github.com/prometheus/client_model
unused github.com/rogpeppe/go-internal
unused github.com/ryanuber/columnize
unused github.com/ryanuber/go-glob
unused github.com/stretchr/objx
unused github.com/yuin/goldmark
unused go.opencensus.io
unused golang.org/x/exp
unused golang.org/x/image
unused golang.org/x/lint
unused golang.org/x/mod
unused golang.org/x/net
unused golang.org/x/oauth2
unused golang.org/x/sync
unused golang.org/x/term
unused golang.org/x/text
unused golang.org/x/time
unused golang.org/x/tools
unused golang.org/x/xerrors
unused google.golang.org/api
unused google.golang.org/appengine
unused google.golang.org/genproto
unused google.golang.org/grpc
unused gopkg.in/asn1-ber.v1
unused gopkg.in/check.v1
unused gopkg.in/errgo.v2
unused gopkg.in/fsnotify.v1
unused gopkg.in/square/go-jose.v2
unused gopkg.in/tomb.v1
unused gopkg.in/yaml.v2
unused honnef.co/go/tools
unused rsc.io/binaryregexp
unused rsc.io/quote/v3
unused rsc.io/sampler
unused cloud.google.com/go
unused cloud.google.com/go/bigquery
unused cloud.google.com/go/datastore
unused cloud.google.com/go/pubsub
unused cloud.google.com/go/storage
unused dmitri.shuralyov.com/gpu/mtl
unused github.com/BurntSushi/toml
unused github.com/BurntSushi/xgb
unused github.com/aead/siphash
unused github.com/allegro/bigcache
unused github.com/armon/go-metrics
unused github.com/armon/go-radix
unused github.com/aws/aws-sdk-go
unused github.com/bgentry/speakeasy
unused github.com/btcsuite/btclog
unused github.com/btcsuite/go-socks
unused github.com/btcsuite/goleveldb
unused github.com/btcsuite/snappy-go
unused github.com/btcsuite/websocket
unused github.com/btcsuite/winsvc
unused github.com/census-instrumentation/opencensus-proto
unused github.com/chzyer/logex
unused github.com/chzyer/readline
unused github.com/chzyer/test
unused github.com/client9/misspell
unused github.com/cncf/udpa/go
unused github.com/decred/dcrd/lru
unused github.com/envoyproxy/go-control-plane
unused github.com/envoyproxy/protoc-gen-validate
unused github.com/fatih/color
unused github.com/fatih/structs
unused github.com/fsnotify/fsnotify
unused github.com/go-gl/glfw
unused github.com/go-gl/glfw/v3.3/glfw
unused github.com/go-ldap/ldap
unused github.com/go-test/deep
unused github.com/gobwas/httphead
unused github.com/gobwas/pool
unused github.com/gobwas/ws
unused github.com/golang/glog
unused github.com/golang/groupcache
unused github.com/golang/mock
unused github.com/google/btree
unused github.com/google/go-cmp
unused github.com/google/martian
unused github.com/google/martian/v3
unused github.com/google/pprof
unused github.com/google/renameio
unused github.com/googleapis/gax-go/v2
unused github.com/gorilla/websocket
unused github.com/hashicorp/errwrap
unused github.com/hashicorp/go-cleanhttp
unused github.com/hashicorp/go-hclog
unused github.com/hashicorp/go-immutable-radix
unused github.com/hashicorp/go-multierror
unused github.com/hashicorp/go-plugin
unused github.com/hashicorp/go-retryablehttp
unused github.com/hashicorp/go-rootcerts
unused github.com/hashicorp/go-sockaddr
unused github.com/hashicorp/go-uuid
unused github.com/hashicorp/go-version
unused github.com/hashicorp/golang-lru
unused github.com/hashicorp/hcl
unused github.com/hashicorp/vault/api
unused github.com/hashicorp/vault/sdk
unused github.com/hashicorp/yamux
unused github.com/hpcloud/tail
unused github.com/hyperledger/aries-framework-go/test/component
unused github.com/ianlancetaylor/demangle
unused github.com/jessevdk/go-flags
unused github.com/jmespath/go-jmespath
unused github.com/jmespath/go-jmespath/internal/testify
unused github.com/jrick/logrotate
unused github.com/jstemmer/go-junit-report
unused github.com/kisielk/gotool
unused github.com/kkdai/bstream
unused github.com/kr/pretty
unused github.com/kr/pty
unused github.com/kr/text
unused github.com/mattn/go-colorable
unused github.com/mattn/go-isatty
unused github.com/mitchellh/cli
unused github.com/mitchellh/copystructure
unused github.com/mitchellh/go-homedir
unused github.com/mitchellh/go-testing-interface
unused github.com/mitchellh/go-wordwrap
unused github.com/mitchellh/reflectwalk
unused github.com/oklog/run
unused github.com/onsi/ginkgo
unused github.com/onsi/gomega
unused github.com/pascaldekloe/goe
unused github.com/pierrec/lz4
unused github.com/posener/complete
unused github.com/prometheus/client_model
unused github.com/rogpeppe/go-internal
unused github.com/ryanuber/columnize
unused github.com/ryanuber/go-glob
unused github.com/stretchr/objx
unused github.com/yuin/goldmark
unused go.opencensus.io
unused golang.org/x/exp
unused golang.org/x/image
unused golang.org/x/lint
unused golang.org/x/mod
unused golang.org/x/net
unused golang.org/x/oauth2
unused golang.org/x/sync
unused golang.org/x/term
unused golang.org/x/text
unused golang.org/x/time
unused golang.org/x/tools
unused golang.org/x/xerrors
unused google.golang.org/api
unused google.golang.org/appengine
unused google.golang.org/genproto
unused google.golang.org/grpc
unused gopkg.in/asn1-ber.v1
unused gopkg.in/check.v1
unused gopkg.in/errgo.v2
unused gopkg.in/fsnotify.v1
unused gopkg.in/square/go-jose.v2
unused gopkg.in/tomb.v1
unused gopkg.in/yaml.v2
unused honnef.co/go/tools
unused rsc.io/binaryregexp
unused rsc.io/quote/v3
unused rsc.io/sampler
runtime/cgo
runtime/cgo
net
net
golang.org/x/mobile/internal/mobileinit
golang.org/x/mobile/internal/mobileinit
golang.org/x/mobile/bind/java
golang.org/x/mobile/bind/java
gobind/gobind
gobind/gobind
aar: AndroidManifest.xml
aar: proguard.txt
aar: classes.jar
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
jar: META-INF/MANIFEST.MF
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
jar: org/hyperledger/aries/api/Api$proxyAriesController.class
jar: org/hyperledger/aries/api/Api$proxyDIDExchangeController.class
jar: org/hyperledger/aries/api/Api$proxyHandler.class
jar: org/hyperledger/aries/api/Api$proxyIntroduceController.class
jar: org/hyperledger/aries/api/Api$proxyIssueCredentialController.class
jar: org/hyperledger/aries/api/Api$proxyIterator.class
jar: org/hyperledger/aries/api/Api$proxyKMSController.class
jar: org/hyperledger/aries/api/Api$proxyLDController.class
jar: org/hyperledger/aries/api/Api$proxyLogger.class
jar: org/hyperledger/aries/api/Api$proxyLoggerProvider.class
jar: org/hyperledger/aries/api/Api$proxyMediatorController.class
jar: org/hyperledger/aries/api/Api$proxyMessagingController.class
jar: org/hyperledger/aries/api/Api$proxyOutOfBandController.class
jar: org/hyperledger/aries/api/Api$proxyOutOfBandV2Controller.class
jar: org/hyperledger/aries/api/Api$proxyPresentProofController.class
jar: org/hyperledger/aries/api/Api$proxyProvider.class
jar: org/hyperledger/aries/api/Api$proxyStore.class
jar: org/hyperledger/aries/api/Api$proxyVCWalletController.class
jar: org/hyperledger/aries/api/Api$proxyVDRController.class
jar: org/hyperledger/aries/api/Api$proxyVerifiableController.class
jar: org/hyperledger/aries/api/Api.class
jar: org/hyperledger/aries/api/AriesController.class
jar: org/hyperledger/aries/api/DIDExchangeController.class
jar: org/hyperledger/aries/api/Handler.class
jar: org/hyperledger/aries/api/IntroduceController.class
jar: org/hyperledger/aries/api/IssueCredentialController.class
jar: org/hyperledger/aries/api/Iterator.class
jar: org/hyperledger/aries/api/KMSController.class
jar: org/hyperledger/aries/api/LDController.class
jar: org/hyperledger/aries/api/Logger.class
jar: org/hyperledger/aries/api/LoggerProvider.class
jar: org/hyperledger/aries/api/MediatorController.class
jar: org/hyperledger/aries/api/MessagingController.class
jar: org/hyperledger/aries/api/OutOfBandController.class
jar: org/hyperledger/aries/api/OutOfBandV2Controller.class
jar: org/hyperledger/aries/api/PresentProofController.class
jar: org/hyperledger/aries/api/Provider.class
jar: org/hyperledger/aries/api/Store.class
jar: org/hyperledger/aries/api/VCWalletController.class
jar: org/hyperledger/aries/api/VDRController.class
jar: org/hyperledger/aries/api/VerifiableController.class
jar: org/hyperledger/aries/ariesagent/Ariesagent.class
jar: org/hyperledger/aries/command/Aries.class
jar: org/hyperledger/aries/command/Command.class
jar: org/hyperledger/aries/command/DIDExchange.class
jar: org/hyperledger/aries/command/Introduce.class
jar: org/hyperledger/aries/command/IssueCredential.class
jar: org/hyperledger/aries/command/KMS.class
jar: org/hyperledger/aries/command/LD.class
jar: org/hyperledger/aries/command/Mediator.class
jar: org/hyperledger/aries/command/Messaging.class
jar: org/hyperledger/aries/command/OutOfBand.class
jar: org/hyperledger/aries/command/OutOfBandV2.class
jar: org/hyperledger/aries/command/PresentProof.class
jar: org/hyperledger/aries/command/VCWallet.class
jar: org/hyperledger/aries/command/VDR.class
jar: org/hyperledger/aries/command/Verifiable.class
jar: org/hyperledger/aries/config/Config.class
jar: org/hyperledger/aries/config/Options.class
jar: org/hyperledger/aries/logger/Logger.class
jar: org/hyperledger/aries/logger/Logger_.class
jar: org/hyperledger/aries/models/CommandError.class
jar: org/hyperledger/aries/models/Models.class
jar: org/hyperledger/aries/models/RequestEnvelope.class
jar: org/hyperledger/aries/models/ResponseEnvelope.class
jar: org/hyperledger/aries/notifier/NotificationPayload.class
jar: org/hyperledger/aries/notifier/Notifier.class
jar: org/hyperledger/aries/notifier/Notifier_.class
jar: org/hyperledger/aries/rest/Aries.class
jar: org/hyperledger/aries/rest/DIDExchange.class
jar: org/hyperledger/aries/rest/Incoming.class
jar: org/hyperledger/aries/rest/Introduce.class
jar: org/hyperledger/aries/rest/IssueCredential.class
jar: org/hyperledger/aries/rest/KMS.class
jar: org/hyperledger/aries/rest/LD.class
jar: org/hyperledger/aries/rest/Mediator.class
jar: org/hyperledger/aries/rest/Messaging.class
jar: org/hyperledger/aries/rest/OutOfBand.class
jar: org/hyperledger/aries/rest/PresentProof.class
jar: org/hyperledger/aries/rest/Rest.class
jar: org/hyperledger/aries/rest/VCWallet.class
jar: org/hyperledger/aries/rest/VDR.class
jar: org/hyperledger/aries/rest/Verifiable.class
jar: org/hyperledger/aries/storage/Provider.class
jar: org/hyperledger/aries/storage/Storage.class
aar: jni/arm64-v8a/libgojni.so
aar: jni/x86_64/libgojni.so
aar: R.txt
aar: res/
jar: META-INF/MANIFEST.MF
jar: go/Seq.java
jar: go/Universe.java
jar: go/error.java
jar: org/hyperledger/aries/api/Api.java
jar: org/hyperledger/aries/api/AriesController.java
jar: org/hyperledger/aries/api/DIDExchangeController.java
jar: org/hyperledger/aries/api/Handler.java
jar: org/hyperledger/aries/api/IntroduceController.java
jar: org/hyperledger/aries/api/IssueCredentialController.java
jar: org/hyperledger/aries/api/Iterator.java
jar: org/hyperledger/aries/api/KMSController.java
jar: org/hyperledger/aries/api/LDController.java
jar: org/hyperledger/aries/api/Logger.java
jar: org/hyperledger/aries/api/LoggerProvider.java
jar: org/hyperledger/aries/api/MediatorController.java
jar: org/hyperledger/aries/api/MessagingController.java
jar: org/hyperledger/aries/api/OutOfBandController.java
jar: org/hyperledger/aries/api/OutOfBandV2Controller.java
jar: org/hyperledger/aries/api/PresentProofController.java
jar: org/hyperledger/aries/api/Provider.java
jar: org/hyperledger/aries/api/Store.java
jar: org/hyperledger/aries/api/VCWalletController.java
jar: org/hyperledger/aries/api/VDRController.java
jar: org/hyperledger/aries/api/VerifiableController.java
jar: org/hyperledger/aries/ariesagent/Ariesagent.java
jar: org/hyperledger/aries/command/Aries.java
jar: org/hyperledger/aries/command/Command.java
jar: org/hyperledger/aries/command/DIDExchange.java
jar: org/hyperledger/aries/command/Introduce.java
jar: org/hyperledger/aries/command/IssueCredential.java
jar: org/hyperledger/aries/command/KMS.java
jar: org/hyperledger/aries/command/LD.java
jar: org/hyperledger/aries/command/Mediator.java
jar: org/hyperledger/aries/command/Messaging.java
jar: org/hyperledger/aries/command/OutOfBand.java
jar: org/hyperledger/aries/command/OutOfBandV2.java
jar: org/hyperledger/aries/command/PresentProof.java
jar: org/hyperledger/aries/command/VCWallet.java
jar: org/hyperledger/aries/command/VDR.java
jar: org/hyperledger/aries/command/Verifiable.java
jar: org/hyperledger/aries/config/Config.java
jar: org/hyperledger/aries/config/Options.java
jar: org/hyperledger/aries/logger/Logger.java
jar: org/hyperledger/aries/logger/Logger_.java
jar: org/hyperledger/aries/models/CommandError.java
jar: org/hyperledger/aries/models/Models.java
jar: org/hyperledger/aries/models/RequestEnvelope.java
jar: org/hyperledger/aries/models/ResponseEnvelope.java
jar: org/hyperledger/aries/notifier/NotificationPayload.java
jar: org/hyperledger/aries/notifier/Notifier.java
jar: org/hyperledger/aries/notifier/Notifier_.java
jar: org/hyperledger/aries/rest/Aries.java
jar: org/hyperledger/aries/rest/DIDExchange.java
jar: org/hyperledger/aries/rest/Incoming.java
jar: org/hyperledger/aries/rest/Introduce.java
jar: org/hyperledger/aries/rest/IssueCredential.java
jar: org/hyperledger/aries/rest/KMS.java
jar: org/hyperledger/aries/rest/LD.java
jar: org/hyperledger/aries/rest/Mediator.java
jar: org/hyperledger/aries/rest/Messaging.java
jar: org/hyperledger/aries/rest/OutOfBand.java
jar: org/hyperledger/aries/rest/PresentProof.java
jar: org/hyperledger/aries/rest/Rest.java
jar: org/hyperledger/aries/rest/VCWallet.java
jar: org/hyperledger/aries/rest/VDR.java
jar: org/hyperledger/aries/rest/Verifiable.java
jar: org/hyperledger/aries/storage/Provider.java
jar: org/hyperledger/aries/storage/Storage.java

And the aar is generated without problems

Actual result
I have also tried changing the go env parameters to GO111MODULE=off but I have the following results:

make bindings-android
----------------------------------------
   gomobile: Creating Android bindings
----------------------------------------
runtime/cgo
runtime/cgo
golang.org/x/mobile/internal/mobileinit
golang.org/x/mobile/internal/mobileinit
golang.org/x/mobile/bind/java
golang.org/x/mobile/bind/java
gobind
gobind
aar: AndroidManifest.xml
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.buildAAR({0x14000218370, 0x4e}, {0x14000240180, 0x51}, {0x104a68760, 0x0, 0x0?}, {0x140001850c0, 0x2, 0x0?})
	/Users/angelpalomares/go/src/golang.org/x/mobile/cmd/gomobile/bind_androidapp.go:146 +0xbe4
main.goAndroidBind({0x140001aa300, 0x23}, {0x104a68760?, 0x0, 0x0}, {0x140001850c0?, 0x2, 0x2})
	/Users/angelpalomares/go/src/golang.org/x/mobile/cmd/gomobile/bind_androidapp.go:69 +0x7cc
main.runBind(0x104a2f300)
	/Users/angelpalomares/go/src/golang.org/x/mobile/cmd/gomobile/bind.go:130 +0x570
main.main()
	/Users/angelpalomares/go/src/golang.org/x/mobile/cmd/gomobile/main.go:73 +0x440
make: *** [bindings-android] Error 2

But unfortunately I haven't been able to generate the aar for the v0.1.9

Am I doing something wrong?, could you please help me with this issue?

Thank you very much in advance

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

No branches or pull requests

1 participant