Giter Club home page Giter Club logo

react-native-aliyun-video's Introduction

Hey there! I'm Richard.

GIF

👨🏻‍💻 About Me

  • 🔭   I’m currently learning big data development and deep learning.
  • 🤔   Exploring new technologies and developing software solutions and quick hacks.
  • 🎓   Studying Computer Science, computer programming and Mathematics.
  • 💼   Java developer and front-end web developer.
  • 🌱   Enthusiast in cyber Security and Artificial Intelligence.
  • ✍️   Watching Anime and trying out latest design trends as hobbies/side hustles.
  • ☕   I belive, a perfect cup of coffee can be the ultimate solution for stress.

🛠 Tech Stack

  • 💻   Java | Go | Python | Dart | TypeScript | HTML | CSS
  • 🌐   Spring Cloud | Linux | Docker | K8s | React Native | Flutter
  • 🛢   MySQL | Redis | MongoDB | Elasticsearch
  • 🔧   Visual Studio Code | IntelliJ IDEA | Vim | Git

xinlc's Github Stats


Top Langs

🤝🏻 Connect with Me

   

react-native-aliyun-video's People

Contributors

xinlc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-aliyun-video's Issues

iOS问题

按文档,在iOS平台进行了手动操作引入,Xcode抛出了如下问题:

image

研究良久,实属无策,烦请大佬指点一二。

另外,项目Demo中的iOS工程也无法运行,抛出类似错误。

Android调用RNShortVideo.recordShortVideo后,APP奔溃了

Android 9.0系统中,第一次调用RNShortVideo.recordShortVideo,正常请求了设备权限,然后就没有反应了,再次调用RNShortVideo.recordShortVideo,APP就奔溃了。

  • Android Studio 3.2
  • Gradle Version 4.4

Module: app

...
android {
    ...
    packagingOptions {
        pickFirst "**/libgnustl_shared.so"
    }
    ...
}

repositories {
    flatDir {
        dirs 'libs', '$rootDir/../../../node_modules/react-native-aliyun-short-video/android/libs'
    }
}

dependencies {
    implementation project(':react-native-aliyun-short-video')
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
    implementation "com.android.support:design:${rootProject.ext.supportLibVersion}"
    implementation "com.facebook.react:react-native:+"  // From node_modules
}
...

Module: react-native-aliyun-short-video

...
dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation 'com.facebook.react:react-native:+'

    implementation(name: 'QuSdk-RC', ext: 'aar')
    implementation 'com.android.support:appcompat-v7:24.2.1'
    implementation 'com.android.support:design:24.2.1'
    implementation 'com.google.code.findbugs:jsr305:3.0.0'
    implementation 'com.github.bumptech.glide:glide:3.7.0'
    implementation 'pub.devrel:easypermissions:0.2.1'
    implementation 'com.squareup.okhttp3:okhttp:3.2.0'
    implementation 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
    implementation 'com.squareup.okio:okio:1.12.0'
    implementation 'com.google.code.gson:gson:2.8.0'

    implementation(name: 'AlivcPlayer-3.4.6', ext: 'aar')
    implementation(name: 'AlivcReporter-1.2', ext: 'aar')
    implementation(name: 'AliyunVodPlayer-3.4.6', ext: 'aar')

    implementation 'com.aliyun.dpa:oss-android-sdk:+'
}
...

错误信息:

...
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.zsyz.test, PID: 9332
    java.lang.NoSuchFieldError: No static field abc_action_bar_view_list_nav_layout of type I in class Lcom/aliyun/snap/snap_core/R$layout; or its superclasses (declaration of 'com.aliyun.snap.snap_core.R$layout' appears in /data/app/com.zsyz-MeUgaolTl3tjo68gMRfiGQ==/split_lib_slice_4_apk.apk)
        at com.aliyun.demo.R$layout.<clinit>(R.java:1130)
        at com.aliyun.demo.recorder.AliyunVideoRecorder.onCreate(SourceFile:143)
        at android.app.Activity.performCreate(Activity.java:7200)
        at android.app.Activity.performCreate(Activity.java:7191)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2926)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6806)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.