Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.13k stars 565 forks source link

The error during installing the gnirhetet #447

Open DestinyJayE opened 2 years ago

DestinyJayE commented 2 years ago

ERROR Main: Cannot start client: Command adb ["shell", "am", "start", "-a", "com.genymobile.gnirehtet.START", "-n", "com.genymobile.gnirehtet/.GnirehtetActivity"] returned with value 255 Dear author,could you tell me how to solve this problem?I follow the steps you provide.But I fail at the last step.

DestinyJayE commented 2 years ago

image

I do install the adb.I donot kown what happened

DestinyJayE commented 2 years ago

image image

adb is also debugging on my device.I have tried both rust and java version,they cannot work.

rom1v commented 2 years ago

If you run gnirehtet from anywhere, you must set the ADB environment variable: https://github.com/Genymobile/gnirehtet#environment-variables

DestinyJayE commented 2 years ago

oh,I use my friend's phone to install the gnirehtet.I success immediately.but I still donot kown why I cannot use gnirehtet in my own phone. image

DestinyJayE commented 2 years ago

Oh,I get it,in issue 302,just disable permission monitoring,then it works well.thanks