Giter Club home page Giter Club logo

frpc-android's People

Contributors

teldragon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frpc-android's Issues

jar file mylib.java crash with no error in line _init();

What version of Go are you using (go version)?

$ go version
go version go1.15.7 windows/amd64

Does this issue reproduce with the latest release?

no i check this with multi gomobile and golang version and ndk version and sdk version and .....a week

What operating system and processor architecture are you using (go env)?

go env

$ go env
set GO111MODULE=auto
set GOARCH=amd64
set GOBIN=D:\Important\GO-Home\bin
set GOCACHE=C:\Users\mohamadpk\AppData\Local\go-build
set GOENV=C:\Users\mohamadpk\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=D:\Important\GO-PATH\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\Important\GO-PATH
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=D:\Important\GO-Home
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=D:\Important\GO-Home\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\Important\GO-PATH\src\github.com\fatedier\frp\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\MOHAMA~1\AppData\Local\Temp\go-build766140558=/tmp/go-build -gno-record-gcc-switches

What did you do?

i create a frpclib.go contain

package frpclib
func main() {

}

//export Run My frpclib
func Run(cfgFilePath string) {

}

then compile with

gomobile bind -v -o frpclib.aar -target=android

then export two file with no error
1.frpclib.aar
2.frpclib-sources.jar
then i add this lib to my android application
and call in java like this

String mConfigPath="aaaaaaa";
Frpclib.run(mConfigPath);

in emulator work with api 25 android 7 and 30 android 11
What did you expect to see?

just call and open myactivity
What did you see instead?

crash application
what happened?

in file frpclib-sources.jar
after unzip i see tree folder
in folder frpclib and file Frpclib.java
after Seq.touch(); in _init(); crash application i edit this file and create jar again
with try and catch.but nothings happened.ignore the catch and crash again

gobuild work correctly .i test it on another project.
gobind crash and crash and crash.!!!!!!!!!

安卓4.4.2无法安装

原生安卓4.4.2,sun8i处理器,armv71架构,已root
显示解析安装包时出现问题

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.