Skip to content

Commit

Permalink
update OoyalaSkinSampleApp and ExoSampleApp to use updated react libr…
Browse files Browse the repository at this point in the history
…aries

still see crash:
E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
                  Process: com.ooyala.sample.SkinCompleteSampleApp, PID: 29801
                  java.lang.RuntimeException: An error occurred while executing doInBackground()
                      at android.os.AsyncTask$3.done(AsyncTask.java:309)
                      at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
                      at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
                      at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                      at java.lang.Thread.run(Thread.java:818)
                   Caused by: java.lang.NoClassDefFoundError: com.facebook.react.CoreModulesPackage$1
                      at com.facebook.react.CoreModulesPackage.getNativeModules(CoreModulesPackage.java:66)
                      at com.facebook.react.LazyReactPackage.createNativeModules(LazyReactPackage.java:39)
                      at com.facebook.react.XReactInstanceManagerImpl.processPackage(XReactInstanceManagerImpl.java:932)
                      at com.facebook.react.XReactInstanceManagerImpl.createReactContext(XReactInstanceManagerImpl.java:842)
                      at com.facebook.react.XReactInstanceManagerImpl.access$600(XReactInstanceManagerImpl.java:103)
                      at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(XReactInstanceManagerImpl.java:203)
                      at com.facebook.react.XReactInstanceManagerImpl$ReactContextInitAsyncTask.doInBackground(XReactInstanceManagerImpl.java:182)
                      at android.os.AsyncTask$2.call(AsyncTask.java:295)
                      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
                      at java.lang.Thread.run(Thread.java:818) 
  • Loading branch information
lental committed Oct 4, 2016
1 parent 935e85e commit 53d709d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 27 deletions.
34 changes: 19 additions & 15 deletions ExoPlayerSampleApp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ task copyTask(type: Copy) {
from new File(projectDir, '../../vendor/Ooyala/OoyalaSkinSDK-Android/OoyalaSkinSDK.jar')
from new File(projectDir, '../../vendor/Freewheel/Android_AdManagerDistribution/FWAdManager.jar')
from new File(projectDir, '../../vendor/Google/ima-android-v330.jar')
from new File(projectDir, '../../vendor/Facebook/react-native-0.26.2.aar')
from new File(projectDir, '../../vendor/Ooyala/OoyalaSkinSDK-Android/react-native-0.33.0.aar')
into new File(projectDir, './libs')
doLast {
println "Jars updated."
Expand Down Expand Up @@ -97,18 +97,22 @@ dependencies {
// compile project(':ooyalaCoreSDK')

compile files('libs/OoyalaSkinSDK.jar')
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile group: 'com.facebook.fresco', name: 'fresco', version: '0.8.1'
compile group: 'com.facebook.fresco', name: 'imagepipeline-okhttp', version: '0.8.1'
compile group: 'com.facebook.stetho', name: 'stetho', version: '1.2.0'
compile group: 'com.facebook.stetho', name: 'stetho-okhttp', version: '1.2.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.2.3'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.0'
compile group: 'com.squareup.okhttp', name: 'okhttp', version: '2.5.0'
compile group: 'com.squareup.okhttp', name: 'okhttp-ws', version: '2.5.0'
compile group: 'com.squareup.okio', name: 'okio', version: '1.6.0'
compile group: 'org.webkit', name: 'android-jsc', version: 'r174650'
compile(name:'react-native', version:'0.26.2', ext:'aar')
compile 'com.google.android.gms:play-services-ads:8.4.0'


compile 'com.facebook.soloader:soloader:0.1.0'

compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.facebook.fresco:fresco:0.11.0'
compile 'com.facebook.fresco:imagepipeline-okhttp3:0.11.0'
compile 'com.facebook.stetho:stetho:1.2.0'
compile 'com.facebook.stetho:stetho-okhttp:1.2.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.2.3'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.0'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.squareup.okhttp3:okhttp-ws:3.4.1'
compile 'com.squareup.okio:okio:1.9.0'
compile group: 'org.webkit', name: 'android-jsc', version: 'r174650'
compile(name:'react-native', version:'0.33.0', ext:'aar')
}
24 changes: 14 additions & 10 deletions OoyalaSkinSampleApp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ task copyTask(type: Copy) {
from new File(projectDir, '../../vendor/Ooyala/OoyalaSkinSDK-Android/OoyalaSkinSDK.jar')
from new File(projectDir, '../../vendor/Freewheel/Android_AdManagerDistribution/FWAdManager.jar')
from new File(projectDir, '../../vendor/Google/ima-android-v330.jar')
from new File(projectDir, '../../vendor/Facebook/react-native-0.26.2.aar')
// from new File(projectDir, '../../vendor/Facebook/react-native-0.26.2.aar')
from new File(projectDir, '../../vendor/Ooyala/OoyalaSkinSDK-Android/react-native-0.33.0.aar')
into new File(projectDir,'./libs')
println "Jars updated."
}
Expand All @@ -81,17 +82,20 @@ dependencies {
compile files('libs/OoyalaSDK.jar')
compile files('libs/ima-android-v330.jar')
compile files('libs/OoyalaSkinSDK.jar')

compile 'com.facebook.soloader:soloader:0.1.0'

compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile group: 'com.facebook.fresco', name: 'fresco', version: '0.8.1'
compile group: 'com.facebook.fresco', name: 'imagepipeline-okhttp', version: '0.8.1'
compile group: 'com.facebook.stetho', name: 'stetho', version: '1.2.0'
compile group: 'com.facebook.stetho', name: 'stetho-okhttp', version: '1.2.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.2.3'
compile 'com.facebook.fresco:fresco:0.11.0'
compile 'com.facebook.fresco:imagepipeline-okhttp3:0.11.0'
compile 'com.facebook.stetho:stetho:1.2.0'
compile 'com.facebook.stetho:stetho-okhttp:1.2.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.2.3'
compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.0'
compile group: 'com.squareup.okhttp', name: 'okhttp', version: '2.5.0'
compile group: 'com.squareup.okhttp', name: 'okhttp-ws', version: '2.5.0'
compile group: 'com.squareup.okio', name: 'okio', version: '1.6.0'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.squareup.okhttp3:okhttp-ws:3.4.1'
compile 'com.squareup.okio:okio:1.9.0'
compile group: 'org.webkit', name: 'android-jsc', version: 'r174650'
compile(name:'react-native', version:'0.26.2', ext:'aar')
compile(name:'react-native', version:'0.33.0', ext:'aar')
}
4 changes: 2 additions & 2 deletions OoyalaSkinSampleApp/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue May 31 11:48:07 PDT 2016
#Tue Oct 04 15:13:59 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

0 comments on commit 53d709d

Please sign in to comment.