Coder Social home page Coder Social logo

everyplay-android-sdk's People

Contributors

aet avatar gomsu avatar jvihrial avatar monsterofcookie avatar paugit avatar

Stargazers

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

Watchers

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

everyplay-android-sdk's Issues

KeyNotFoundException: The given key was not present in the dictionary.

Hi,

I still have this issue :

KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (.TKey key) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) UnityEditor.XCodeEditor.XCProject..ctor (System.String filePath) (at Assets/Facebook/Editor/iOS/third_party/XCodeEditor-for-Unity/XCProject.cs:95) UnityEditor.FacebookEditor.XCodePostProcess.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Facebook/Editor/FacebookPostprocess.cs:25) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

AND

KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (.TKey key) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) Everyplay.XCodeEditor.XCProject..ctor (System.String filePath) (at Assets/Editor/Everyplay/XCodeEditor/XCProject.cs:93) EveryplayPostprocessor.ProcessXCodeProject (System.String path) (at Assets/Editor/Everyplay/Scripts/EveryplayPostprocessor.cs:124) EveryplayPostprocessor.PostProcessBuild_iOS (System.String path, System.String clientId) (at Assets/Editor/Everyplay/Scripts/EveryplayPostprocessor.cs:76) EveryplayPostprocessor.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Editor/Everyplay/Scripts/EveryplayPostprocessor.cs:24) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I'm losing my mind .... 1 week on it :'(

Thanks a lot for your help !!

(I'm using Chartboost 5.0, Facebook 6.0 and Everyplay)

Thanks !

gradle dependency support

Please upload the SDK for Android to jcenter or maven-central. It would be better to integrate into Android projects.

crash on onPostExecute

Fatal Exception: java.lang.NullPointerException
com.everyplay.Everyplay.communication.b.d.onPostExecute (Unknown Source)
android.os.AsyncTask.finish (AsyncTask.java:632)
dalvik.system.NativeStart.main (NativeStart.java)

app crashes

Hi!
I am using everyplay sdk in unity well.
But in android, it crashes in following cases.
I made main activity (with progressbar) and dialog (with listview)
While I update progressbar in timer, open the dialog and scroll listview quickly, app crashes with log below.
I didn't call Everyplay.startRecord(), and even Everyplay.init(), I only called Everyplay.configureEveryplay() in onCreate()

01-06 17:33:34.596 23110-23110/com.smartsong.seventhclassic D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
01-06 17:33:34.946 23110-23147/com.smartsong.seventhclassic W/Adreno-GSL﹕ <gsl_ldd_control:414>: ioctl fd 34 code 0xc01c0915 (IOCTL_KGSL_MAP_USER_MEM) failed: errno 12 Out of memory
01-06 17:33:34.946 23110-23147/com.smartsong.seventhclassic W/Adreno-EGLSUB﹕ SyncBackBuffer:3110: failed to map the memory for fd=81 offs=0
01-06 17:33:34.946 23110-23147/com.smartsong.seventhclassic E/Adreno-EGLSUB﹕ SyncBackBuffer:3111: SyncBackBuffer: FATAL ERROR : (null)
01-06 17:33:34.946 23110-23147/com.smartsong.seventhclassic E/Adreno-GSL﹕ <os_exit:1679>: Exiting the process com.smartsong.seventhclassic from function SyncBackBuffer and line 3111

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I found the problem that it's because i call Everyplay.configureEveryplay() in MainActivity's onCreate().
I removed that and try again, app runs successfully.
So I changed the structure of code like this. and while recording, i restricted not to show any dialog.
private void startRecord() {
Everyplay.configureEveryplay();
Everyplay.initEveryplay(null, this);
Everyplay.startRecording();
}

private void stopRecord() {
EasyPlayer.RecordStop();
Everyplay.initEveryplay(null, null); //. but here app crashes becuase it's not the way of it
Everyplay.configureEveryplay(null, null, null);
}

Would you please make Everyplay.terminateEveryplay() ?
So that i can init()/terminate() when only recording.

Thank you,
Best Regards,
Adam.

ClassNotFoundException: Didn't find class "com.everyplay.Everyplay.R$layout

Hello,

I'm trying to integrate everyplay SDK to a custom android project (not unity), but I'm getting the error above.

the error occures when I call : Everyplay.showEveryplay();

and it cause application crash.

I copied the content of /res directory from everyplay repository to my project /res without success.

any idea of how to fix it ?

Many thanks

6544:I/ActivityManager(  776): START u0 {flg=0x10000 cmp=com.eztest.everyplayapp/com.everyplay.Everyplay.view.EveryplaySocialActivity (has extras)} from uid 10429 on display 0
6545:V/WindowManager(  776): addAppToken: AppWindowToken{87685d9 token=Token{17e9a820 ActivityRecord{281c5b23 u0 com.eztest.everyplayapp/com.everyplay.Everyplay.view.EveryplaySocialActivity t10238}}} to stack=1 task=10238 at 1
6559:D/PTServicesBridge(32411): onEveryplayShown
6574:E/AndroidRuntime(32411): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/everyplay/Everyplay/R$layout;
6575:E/AndroidRuntime(32411):   at com.everyplay.Everyplay.view.ag.<init>(Unknown Source)
6576:E/AndroidRuntime(32411):   at com.everyplay.Everyplay.view.bi.m(Unknown Source)
6577:E/AndroidRuntime(32411):   at com.everyplay.Everyplay.view.bi.<init>(Unknown Source)
6578:E/AndroidRuntime(32411):   at com.everyplay.Everyplay.view.f.b(Unknown Source)
6579:E/AndroidRuntime(32411):   at com.everyplay.Everyplay.view.EveryplaySocialActivity.onCreate(Unknown Source)
6593:E/AndroidRuntime(32411): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.everyplay.Everyplay.R$layout" on path: DexPathList[[zip file "/data/app/com.eztest.everyplayapp-1/base.apk"],nativeLibraryDirectories=[/data/app/com.eztest.everyplayapp-1/lib/arm, /vendor/lib, /system/lib]]

Can I record a WebView?

Hi,

Im trying to record a Webview like this(http://uniwebview.onevcat.com/). This webview is custom dialog. So I cant record it. Is there any solution to record a webview?

Best Regards,
Gabor

Gradle build fails

Currently the project doesn't build via Gradle due to 21 errors and 132 warnings using a default Lint configuration.

Not to make Lint abort the build on error the following lines must be added

    lintOptions {
        abortOnError false
    }

There are though some errors that should be probably taken care of as they may cause issues, specially the ones related to wrong min and target API level.

This is the summary created by Lint on build:

    Correctness
1   Error OnClick: onClick method does not exist
6   Error NewApi: Calling new methods on older versions
30  Warning UnusedAttribute: Attribute unused on older versions
1   Warning ManifestOrder: Incorrect order of elements in manifest
2   Warning GradleOverrides: Value overridden by Gradle build script
10  Warning SpUsage: Using dp instead of sp for text sizes
Correctness:Messages
14  Error MissingTranslation: Incomplete translation
Security
1   Warning UsingHttp: Using HTTP instead of HTTPS
Performance
1   Warning ObsoleteLayoutParam: Obsolete layout params
1   Warning DisableBaselineAlignment: Missing baselineAligned attribute
4   Warning InefficientWeight: Inefficient layout weight
7   Warning Overdraw: Overdraw: Painting regions more than once
50  Warning UnusedResources: Unused resources
3   Warning UselessParent: Useless parent layout
Usability:Icons
1   Warning IconMissingDensityFolder: Missing density folder
Accessibility
16  Warning ContentDescription: Image without contentDescription
Internationalization
5   Warning RelativeOverlap: Overlapping items in RelativeLayout
Disabled Checks (10)

Everyplay Android SDK causes crashes

After each second use of everyplay in the same session, this error comes up. Error is reproducable, and we have builds that have the issue in them.

More info:
Android versions reproduced on: 4.4, 6.0 (haven't tested on 5)

Unity Version we built with:
5.5b11

Compiled log outputs:

E/OMXMaster(16931): A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.

[10:10]  
E/OMXNodeInstance(  195): freeBuffer(6d:qcom.encoder.avc, Input:0 0xb4426a40) ERROR: BadPortIndex(0x8000101b)

[10:10]  
F/libc    (16931): Fatal signal 6 (SIGABRT), code -6 in tid 18748 (CodecLooper)

All everyplay related logs:

I/Everyplay(16931): com.everyplay.Everyplay.encoding.f.a() (line:-1) :: Initialized: type=0 codec=OMX.qcom.video.encoder.avc format={mime=video/avc, frame-rate=30, slice-height=720, color-format=2130708361, height=720, width=1280, bitrate=3870720, i-frame-interval=1, stride=1280}
I/Everyplay(16931): com.everyplay.Everyplay.encoding.f.a() (line:-1) :: Initialized: type=1 codec=OMX.google.aac.encoder format={max-input-size=16384, bitrate=64000, aac-profile=5, mime=audio/mp4a-latm, channel-count=2, sample-rate=44100}
I/OMXClient(16931): Using client-side OMX mux.
I/OMX-VENC(  195): Component_init : OMX.qcom.video.encoder.avc : return = 0x0
E/OMX-VENC(  195): set_parameter: metamode is valid for input port only
W/OMXNodeInstance(  195): [6d:qcom.encoder.avc] component does not support metadata mode; using fallback
E/ACodec  (16931): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
W/ACodec  (16931): do not know color format 0x7fa30c04 = 2141391876
W/ACodec  (16931): do not know color format 0x7f000789 = 2130708361
I/ACodec  (16931): setupVideoEncoder succeeded
W/ACodec  (16931): do not know color format 0x7f000789 = 2130708361
I/OMXClient(16931): Using client-side OMX mux.
E/OMXMaster(16931): A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.

I/Everyplay(16931): com.everyplay.Everyplay.encoding.f.a() (line:-1) :: Initialized: type=0 codec=OMX.qcom.video.encoder.avc format={mime=video/avc, frame-rate=30, slice-height=720, color-format=2130708361, height=720, width=1280, bitrate=3870720, i-frame-interval=1, stride=1280}
I/Everyplay(16931): com.everyplay.Everyplay.encoding.f.a() (line:-1) :: Initialized: type=1 codec=OMX.google.aac.encoder format={max-input-size=16384, bitrate=64000, aac-profile=5, mime=audio/mp4a-latm, channel-count=2, sample-rate=44100}
I/OMXClient(16931): Using client-side OMX mux.
I/OMX-VENC(  195): Component_init : OMX.qcom.video.encoder.avc : return = 0x0
E/OMX-VENC(  195): set_parameter: metamode is valid for input port only
W/OMXNodeInstance(  195): [6e:qcom.encoder.avc] component does not support metadata mode; using fallback
E/ACodec  (16931): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
W/ACodec  (16931): do not know color format 0x7fa30c04 = 2141391876
W/ACodec  (16931): do not know color format 0x7f000789 = 2130708361
I/ACodec  (16931): setupVideoEncoder succeeded
W/ACodec  (16931): do not know color format 0x7f000789 = 2130708361
I/OMXClient(16931): Using client-side OMX mux.
E/OMXMaster(16931): A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
I/OMX-VENC(  195): open Color conv for RGBA888 W: 1280, H: 720
E/OMX-VENC(  195): VIDIOC_REQBUFS CAPTURE_MPLANE Failed
I/MPEG4Writer(16931): limits: 4294967295/0 bytes/us, bit rate: -1 bps and the estimated moov size 3072 bytes
I/MPEG4Writer(16931): setStartTimestampUs: 0
I/MPEG4Writer(16931): Earliest track starting time: 0
I/MPEG4Writer(16931): setStartTimestampUs: 23219
E/OMX-VENC(  195): ERROR: free_buffer ,Port Index Invalid
E/OMXNodeInstance(  195): freeBuffer(6d:qcom.encoder.avc, Input:0 0xb4426a40) ERROR: BadPortIndex(0x8000101b)
F/ACodec  (16931): frameworks/av/media/libstagefright/ACodec.cpp:1045 CHECK_EQ( mOMX->freeBuffer( mNode, portIndex, info->mBufferID),(status_t)OK) failed: -2147483648 vs. 0
F/libc    (16931): Fatal signal 6 (SIGABRT), code -6 in tid 18748 (CodecLooper)
I/DEBUG   (  192): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  192): Build fingerprint: 'google/hammerhead/hammerhead:5.1.1/LMY48B/1863243:user/release-keys'
I/DEBUG   (  192): Revision: '11'
I/DEBUG   (  192): ABI: 'arm'
I/DEBUG   (  192): pid: 16931, tid: 18748, name: CodecLooper  >>> com.getwrecked.game <<<
I/DEBUG   (  192): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
W/debuggerd(  192): type=1400 audit(0.0:39): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=5645 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file
W/debuggerd(  192): type=1400 audit(0.0:40): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=5645 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file
I/DEBUG   (  192): Abort message: 'frameworks/av/media/libstagefright/ACodec.cpp:1045 CHECK_EQ( mOMX->freeBuffer( mNode, portIndex, info->mBufferID),(status_t)OK) failed: -2147483648 vs. 0'
I/DEBUG   (  192):     r0 00000000  r1 0000493c  r2 00000006  r3 00000000
I/DEBUG   (  192):     r4 52d11db8  r5 00000006  r6 00000000  r7 0000010c
I/DEBUG   (  192):     r8 00000004  r9 00000000  sl 52d11b8c  fp 52d11db0

[Enhancement] Deploy .aar library to public repository

It would be extremely useful have the .aar libray files accessible from a public repository to be able to easily add the dependency in the Android project build.gradle configuration file.

It is currently very simple to add Everyplay Android SDK library from Eclipse but, now that is not supported anymore, setting it up in Android Studio via Gradle is much more complex. Now that the project is gradleized, I think it would make sense to make it available from a public repo.

Can not build with version 1.5.6

I can not build with lastest version 1.5.6
This is my mess:
Error:Execution failed for task ':everyplay-android:ndkBuild'.

Process 'command 'C:\AndroidSDK\ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2
Please help.

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.