dosgo / ngrok-android

ngrok-android
30 stars 14 forks source link

Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied #3

Open wzhsh90 opened 2 years ago

wzhsh90 commented 2 years ago

Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied

dosgo commented 2 years ago

It should be that Android 9 or higher does not run in this way, and it is packaged with api 23

dosgo commented 2 years ago

Or you can find another operation plan, there should be a way

wzhsh90 commented 2 years ago

My Android version is 10.I changed the compile version. only use 23 ?

 compileSdkVersion 30

    defaultConfig {         applicationId "com.a16v16.ngrok_c"         minSdkVersion 15         targetSdkVersion 30         versionCode 1         versionName "1.0"     }

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:06 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

It should be that Android 9 or higher does not run in this way, and it is packaged with api 23

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

dosgo commented 2 years ago

There should be no such problem with 23, in order to maintain backward compatibility

wzhsh90 commented 2 years ago

Ok, I rollback to test

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:12 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

There should be no such problem with 23, in order to maintain backward compatibility

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wzhsh90 commented 2 years ago

I rollback to 23

Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=26, Text file busy

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:12 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

There should be no such problem with 23, in order to maintain backward compatibility

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wzhsh90 commented 2 years ago

my purpose to use ngrok on android . use app as a server.

Another solution  is install termux and then  install ngrok on it. this solution is ok but  not I want.

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:12 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

There should be no such problem with 23, in order to maintain backward compatibility

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

dosgo commented 2 years ago

It has not been maintained for a long time, you can consider using https://github.com/dosgo/ngrok-java version, but there are bugs. . You can slightly modify

wzhsh90 commented 2 years ago

can I use it for android ?

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:28 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

It has not been maintained for a long time, you can consider using https://github.com/dosgo/ngrok-java version, but there are bugs. . You can slightly modify

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

dosgo commented 2 years ago

Of course, the main development language for Android is not java? I wrote such a move when there was no java version at the beginning, and then I wrote java.

wzhsh90 commented 2 years ago

Are you test it on Android ?

Java can write for Android , but some libs can not use it on Android.

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:31 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

Of course, the main development language for Android is not java? I wrote such a move when there was no java version at the beginning, and then I wrote java.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

dosgo commented 2 years ago

And the java version logic is clear, if you have a bug, you can fix it.

dosgo commented 2 years ago

Most libraries can be used on android.

dosgo commented 2 years ago

This dependency is very small, basically using the tls function. . .

wzhsh90 commented 2 years ago

Are you test ?

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午4:34 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

Most libraries can be used on android.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

dosgo commented 2 years ago

I don't remember, it's been a long time

dosgo commented 2 years ago

Can it be used?

wzhsh90 commented 2 years ago

I will try it later.

------------------ 原始邮件 ------------------ 发件人: "dosgo/ngrok-android" @.>; 发送时间: 2021年7月9日(星期五) 下午5:06 @.>; 抄送: "@@.**@.>; 主题: Re: [dosgo/ngrok-android] Cannot run program "/data/user/0/com.a16v16.ngrok_c/files/ngrokc": error=13, Permission denied (#3)

Can it be used?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.