Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
581 changed files
with
11,921 additions
and
5,690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 25 | ||
buildToolsVersion "26.0.2" | ||
|
||
defaultConfig { | ||
applicationId "com.upyun.shortvideo" | ||
minSdkVersion 18 | ||
targetSdkVersion 22 | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' | ||
} | ||
} | ||
defaultConfig { | ||
ndk { | ||
abiFilters "armeabi", "armeabi-v7a" | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(include: ['*.jar'], dir: 'libs') | ||
compile 'com.android.support:recyclerview-v7:25.1.1' | ||
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' | ||
compile 'com.upyun:upyun-android-sdk:2.0.4' | ||
// compile files('libs/TuSDKCore-2.8.3.jar') | ||
// compile files('libs/TuSDKFace-1.0.0.jar') | ||
// compile files('libs/TuSDKVideo-1.8.0.jar') | ||
// compile files('libs/bugly_crash_release_2.6.5.jar') | ||
compile project(':upplayer') | ||
} | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 26 | ||
buildToolsVersion "26.0.2" | ||
defaultConfig { | ||
applicationId "com.upyun.shortvideo" | ||
minSdkVersion 18 | ||
targetSdkVersion 26 | ||
versionCode 1 | ||
versionName "1.0" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
//Zipalign优化 | ||
// zipAlignEnabled true | ||
// 移除无用的resource文件 | ||
// shrinkResources true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
lintOptions { | ||
checkReleaseBuilds false | ||
abortOnError false | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(include: ['*.jar'], dir: 'libs') | ||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
testCompile 'junit:junit:4.12' | ||
compile files('libs/bugly_crash_release_2.6.5.jar') | ||
compile 'com.github.bumptech.glide:glide:3.7.0' | ||
compile files('libs/TuSDKVideo-2.0.0.jar') | ||
compile files('libs/TuSDKCore-2.9.1.jar') | ||
compile files('libs/TuSDKFace-2.0.0.jar') | ||
compile 'com.android.support:recyclerview-v7:26.0.1' | ||
implementation 'com.android.support:appcompat-v7:26.0.1' | ||
implementation project(':upplayer') | ||
} |
Binary file renamed
BIN
+1.17 MB
app/libs/TuSDKCore-2.9.0.jar → app/libs/TuSDKCore-2.9.1.jar
100644 → 100755
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
app/src/androidTest/java/com/example/app/ExampleInstrumentedTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.example.app; | ||
|
||
import android.content.Context; | ||
import android.support.test.InstrumentationRegistry; | ||
import android.support.test.runner.AndroidJUnit4; | ||
|
||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
/** | ||
* Instrumentation test, which will execute on an Android device. | ||
* | ||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
*/ | ||
@RunWith(AndroidJUnit4.class) | ||
public class ExampleInstrumentedTest { | ||
@Test | ||
public void useAppContext() throws Exception { | ||
// Context of the app under test. | ||
Context appContext = InstrumentationRegistry.getTargetContext(); | ||
|
||
assertEquals("com.example.app", appContext.getPackageName()); | ||
} | ||
} |
Oops, something went wrong.