Giter Club home page Giter Club logo

Comments (9)

sharad1126 avatar sharad1126 commented on June 26, 2024

I faced the same issue. I went in the go folder(in the workspace) which was in ~ for me and then manually ran the go file in /src/ndelphit/

go run apkurlgrep.go -a ~/path to apk file

from apkurlgrep.

Ri2parna avatar Ri2parna commented on June 26, 2024

Did manually running work for you? I tied running it manually as well but it didn't work for me. The apktool was working fine though.

from apkurlgrep.

sharad1126 avatar sharad1126 commented on June 26, 2024

yeah I had to manually compile the go file. The application doesn't works directly even though I added the path export GOPATH="$HOME/go" to the workspace where I have it installed(I am new to go so could be wrong or missing something somewhere). @ndelphit fyi

from apkurlgrep.

Ri2parna avatar Ri2parna commented on June 26, 2024

Okay. Thanks :-)

from apkurlgrep.

ndelphit avatar ndelphit commented on June 26, 2024

Hi all,

Given the last two problems related to GOPATH, I think it would be good to create a binary of this program in releases page. This may help people who don't have installed GO on their machine.

I will do this as soon as possible.

from apkurlgrep.

sharad1126 avatar sharad1126 commented on June 26, 2024

@ndelphit I have GOLang installed in my system and still the application doesn't works for me directly. There is some other issue here! Therefore, I was able to compile your .go file and run it.
The problem is running the tool after installing it.

from apkurlgrep.

sharad1126 avatar sharad1126 commented on June 26, 2024
% go
Go is a tool for managing Go source code.

Usage:

	go <command> [arguments]

The commands are:

	bug         start a bug report
	build       compile packages and dependencies
	clean       remove object files and cached files
	doc         show documentation for package or symbol
	env         print Go environment information
	fix         update packages to use new APIs
	fmt         gofmt (reformat) package sources
	generate    generate Go files by processing source
	get         add dependencies to current module and install them
	install     compile and install packages and dependencies
	list        list packages or modules
	mod         module maintenance
	run         compile and run Go program
	test        test packages

from apkurlgrep.

ndelphit avatar ndelphit commented on June 26, 2024

@sharad1126 , as I sad before in your previous ticket this is not an issue related to this project.

The issue which you described here is happen when you doesn't set go/bin directory into PATH. You can check this by going to the ~/go/bin folder. If you see the apkurlgrep file there, then everything is fine with the installation process.

For example my ~/.zshrc looks like:

  export GOPATH=$HOME/go
  export GOROOT=/usr/local/opt/go/libexec

  export PATH=$PATH:$(go env GOPATH)/bin

from apkurlgrep.

sharad1126 avatar sharad1126 commented on June 26, 2024

@ndelphit I mentioned in the above comments that I have this setup already:
export GOPATH=$HOME/go

I'll add the line: export PATH=$PATH:$(go env GOPATH)/bin too. thanks.

from apkurlgrep.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.