Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正测试例子编译问题 #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions soter-samples/client-sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.github.Tencent.soter:soter-wrapper:2.0.9'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'commons-io:commons-io:1.4'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.github.Tencent.soter:soter-wrapper:2.0.11'
implementation 'com.android.support:appcompat-v7:24.2.1'
implementation 'commons-io:commons-io:1.4'
}
18 changes: 10 additions & 8 deletions soter-samples/client-sample/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tencent.soter.demo">
package="com.tencent.soter.demo">

<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.USE_FACEAUTHENTICATION" />

<application
android:name="SoterDemoApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:name="SoterDemoApplication"
android:theme="@style/AppTheme">
<activity android:name=".ui.SoterDemoUI">
<activity
android:name=".ui.SoterDemoUI"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Expand Down
5 changes: 1 addition & 4 deletions soter-samples/client-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven {
url "https://dl.bintray.com/tencent-soter/maven/"
}
mavenCentral()
maven { url 'https://jitpack.io' }
}

Expand Down