Skip to content

Commit c532405

Browse files
committed
fix
1 parent ca0c07a commit c532405

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.idea/jarRepositories.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,5 @@ android {
5252
}
5353

5454
dependencies {
55-
implementation 'androidx.appcompat:appcompat:1.3.1'
56-
//noinspection GradleCompatible
5755
implementation 'com.android.support:appcompat-v7:28.0.0'
5856
}

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ buildscript {
33
agp_version = '4.2.2'
44
}
55
repositories {
6-
jcenter()
6+
mavenCentral()
77
google()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.1.2'
10+
classpath 'com.android.tools.build:gradle:8.1.4'
1111
}
1212
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
1313
plugins {
@@ -18,6 +18,6 @@ plugins {
1818
allprojects {
1919
repositories {
2020
google()
21-
jcenter()
21+
mavenCentral()
2222
}
2323
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
1414
# AndroidX package structure to make it clearer which packages are bundled with the
1515
# Android operating system, and which are packaged with your app's APK
1616
# https://developer.android.com/topic/libraries/support-library/androidx-rn
17-
android.useAndroidX=true
17+
android.useAndroidX=false
1818
# Kotlin code style for this project: "official" or "obsolete":
1919
# Enables namespacing of each library's R class so that its R class includes only the
2020
# resources declared in the library itself and none from the library's dependencies,

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ adb shell am start -n com.niostack.adbext/.MainActivity --es language en --es ti
3535
命令示例(连接wifi)
3636
To join a wifi network with no password:
3737
```shell
38-
adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity --es ssid SSID
38+
adb shell am start -n com.niostack.adbext/.MainActivity --es ssid SSID
3939
```
4040
To join a password protected wifi network:
4141
```shell
42-
adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity \
42+
adb shell am start -n com.niostack.adbext/.MainActivity \
4343
--es ssid SSID --es password_type WEP|WPA --es password PASSWORD
4444
```
4545
To join a wifi network and set a static proxy (with optional bypass list):
4646
```shell
47-
adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity \
47+
adb shell am start -n com.niostack.adbext/.MainActivity \
4848
--es ssid SSID --es password_type WEP|WPA --es password PASSWORD \
4949
--es proxy_host HOSTNAME --es proxy_port PORT [--es proxy_bypass COMMA,SEPARATED,LIST]
5050
```
5151
To join a wifi network and set a proxy auto-configuration URL:
5252
```shell
53-
adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity \
53+
adb shell am start -n com.niostack.adbext/.MainActivity \
5454
--es ssid SSID --es password_type WEP|WPA --es password PASSWORD \
5555
--es proxy_pac_uri http://my.pac/url
5656
```
@@ -65,5 +65,5 @@ adb shell dpm set-device-owner "com.niostack.adbext/.AdminReceiver"
6565
```
6666
This requires that your device has no provisioned accounts on it. If you wish to demote this app and remove its device owner privileges, run this:
6767
```shell
68-
adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity --es clear_device_admin true
68+
adb shell am start -n com.niostack.adbext/.MainActivity --es clear_device_admin true
6969
```

0 commit comments

Comments
 (0)