EvilsLive 项目教程

EvilsLive 项目教程

EvilsLiveThis project is a SDK about video stream live项目地址:https://gitcode.com/gh_mirrors/ev/EvilsLive

1、项目的目录结构及介绍

EvilsLive 项目的目录结构如下:

EvilsLive/
├── android/
│   ├── app/
│   └── videolib/
├── doc/
├── snapshot/
├── travis.yml
├── LICENSE
└── README.md

目录结构介绍

  • android/: 包含 Android 平台的应用和核心功能实现。
    • app/: 测试的 sample 应用。
    • videolib/: 直播相关核心功能实现。
  • doc/: 文档说明。
  • snapshot/: 快照文件。
  • travis.yml: Travis CI 配置文件。
  • LICENSE: 项目许可证。
  • README.md: 项目介绍文件。

2、项目的启动文件介绍

EvilsLive 项目的启动文件主要位于 android/app/ 目录下。以下是一些关键文件的介绍:

  • MainActivity.java: 这是 Android 应用的主活动文件,负责应用的初始化和界面展示。
  • AndroidManifest.xml: 这是 Android 应用的清单文件,定义了应用的组件、权限和其他配置。

3、项目的配置文件介绍

EvilsLive 项目的配置文件主要包括以下几个:

  • travis.yml: 这是 Travis CI 的配置文件,用于自动化构建和测试。
  • AndroidManifest.xml: 这是 Android 应用的清单文件,定义了应用的组件、权限和其他配置。
  • build.gradle: 这是 Gradle 构建系统的配置文件,定义了项目的依赖、构建配置等。

配置文件详细介绍

travis.yml
language: android
android:
  components:
    - tools
    - platform-tools
    - build-tools-25.0.2
    - android-25
    - extra-android-m2repository
    - extra-google-m2repository
script:
  - ./gradlew build
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.thinkkeep.videolib">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>
build.gradle
apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"

    defaultConfig {
        applicationId "com.thinkkeep.videolib"
        minSdkVersion 19
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:25.3.1'
}

以上是 EvilsLive 项目的基本教程,涵盖了项目的目录结构、启动文件和配置文件的介绍。希望这些内容能帮助你更好地理解和使用该项目。

EvilsLiveThis project is a SDK about video stream live项目地址:https://gitcode.com/gh_mirrors/ev/EvilsLive

  • 3
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

奚书芹Half-Dane

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值