Android Question EasyVideoPlayer

uniplan

Active Member
Licensed User
Longtime User
Hi,i want to use this library: EasyVideoPlayer, but when i import and use it into my project, i have this message error:


I already have imported all resource file.


Logger connesso a: samsung SM-G920F
--------- beginning of main
.
.
.
.
Class android.support.v7.widget.TintContextWrapper failed lock verification and will run slower.
Setting a custom background is not supported.
Setting a custom background is not supported.
in init
Background sticky concurrent mark sweep GC freed 13864(1230KB) AllocSpace objects, 8(160KB) LOS objects, 9% free, 13MB/15MB, paused 7.306ms total 36.105ms
No package identifier when getting value for resource number 0x00000000
Error occurred on line: 126 (frmHome)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:342)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at juke.mobile.frmhome.afterFirstLayout(frmhome.java:102)
at juke.mobile.frmhome.access$000(frmhome.java:17)
at juke.mobile.frmhome$WaitForLayout.run(frmhome.java:80)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
... 17 more
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.content.res.Resources.getText(Resources.java:1178)
at com.afollestad.easyvideoplayer.EasyVideoPlayer.init(EasyVideoPlayer.java:202)
at com.afollestad.easyvideoplayer.EasyVideoPlayer.<init>(EasyVideoPlayer.java:73)
at de.donmanfred.EasyVideoPlayerWrapper._initialize(EasyVideoPlayerWrapper.java:75)
... 20 more

Do partial code cache collection, code=39KB, data=51KB
After code cache collection, code=32KB, data=41KB
Increasing code cache capacity to 256KB
** Activity (frmhome) Resume **
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:151)
at java.net.SocketInputStream.read(SocketInputStream.java:120)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at anywheresoftware.b4a.shell.ShellConnector.readControlData(ShellConnector.java:191)
at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:186)
at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:119)
at java.lang.Thread.run(Thread.java:762)
 

uniplan

Active Member
Licensed User
Longtime User
@Erel if i use ExoPlayer i have this message when i compile the project:

B4A Versione: 7.30
Analisi del Codice. (0.37s)
Compilazione del codice. (5.08s)
Compilazione del codice di layouts (0.07s)
Organizzazione Librerie. (20.69s)
Generazione file R. (3.64s)
Compilazione del codice debugger. (10.43s)
Compilazione del codice Java prodotto. (17.99s)
Conversione byte code - ottimizzazione dex. Error
trouble writing output: Too many method references: 66410; max is 65536.
You may try using --multi-dex option.
References by package:
60 adr.stringfunctions
7 android.accessibilityservice
4 android.accounts
68 android.animation
399 android.app
11 android.app.job
2 android.appwidget
37 android.bluetooth
217 android.content
35 android.content.pm
107 android.content.res
59 android.database
24 android.database.sqlite
267 android.graphics
139 android.graphics.drawable
3 android.graphics.drawable.shapes
3 android.graphics.pdf
78 android.hardware
16 android.hardware.camera2
2 android.hardware.camera2.params
3 android.hardware.display
11 android.hardware.fingerprint
39 android.location
261 android.media
19 android.media.browse
92 android.media.session
63 android.net
3 android.net.http
7 android.net.nsd
18 android.net.wifi
38 android.opengl
292 android.os
1 android.preference
28 android.print
5 android.print.pdf
13 android.provider
8 android.renderscript
2 android.security
10 android.service.media
30 android.support.annotation
1 android.support.compat
1 android.support.coreui
1 android.support.coreutils
9 android.support.customtabs
16 android.support.design
310 android.support.design.internal
1655 android.support.design.widget
1 android.support.fragment
310 android.support.graphics.drawable
1 android.support.graphics.drawable.animated
1 android.support.mediacompat
639 android.support.transition
1 android.support.v4
48 android.support.v4.accessibilityservice
62 android.support.v4.animation
1942 android.support.v4.app
269 android.support.v4.content
1 android.support.v4.content.pm
54 android.support.v4.content.res
3 android.support.v4.database
63 android.support.v4.graphics
256 android.support.v4.graphics.drawable
19 android.support.v4.hardware.display
65 android.support.v4.hardware.fingerprint
74 android.support.v4.internal.view
648 android.support.v4.media
1035 android.support.v4.media.session
98 android.support.v4.net
76 android.support.v4.os
105 android.support.v4.print
102 android.support.v4.provider
101 android.support.v4.text
20 android.support.v4.text.util
331 android.support.v4.util
1877 android.support.v4.view
1264 android.support.v4.view.accessibility
29 android.support.v4.view.animation
1330 android.support.v4.widget
1011 android.support.v7.app
16 android.support.v7.appcompat
16 android.support.v7.cardview
27 android.support.v7.content.res
69 android.support.v7.graphics.drawable
16 android.support.v7.recyclerview
3 android.support.v7.text
2 android.support.v7.transition
179 android.support.v7.util
148 android.support.v7.view
679 android.support.v7.view.menu
4148 android.support.v7.widget
124 android.support.v7.widget.helper
5 android.support.v7.widget.util
19 android.telephony
85 android.text
5 android.text.method
16 android.text.style
3 android.text.util
70 android.transition
80 android.util
781 android.view
239 android.view.accessibility
55 android.view.animation
2 android.view.inputmethod
108 android.webkit
837 android.widget
222 anywheresoftware.b4a
58 anywheresoftware.b4a.admobwrapper
25 anywheresoftware.b4a.agraham.byteconverter
187 anywheresoftware.b4a.agraham.dialogs
71 anywheresoftware.b4a.agraham.encryption
13 anywheresoftware.b4a.agraham.jpegutils
66 anywheresoftware.b4a.agraham.reflection
90 anywheresoftware.b4a.debug
55 anywheresoftware.b4a.gps
57 anywheresoftware.b4a.http
277 anywheresoftware.b4a.keywords
12 anywheresoftware.b4a.keywords.constants
12 anywheresoftware.b4a.object
1533 anywheresoftware.b4a.objects
89 anywheresoftware.b4a.objects.collections
113 anywheresoftware.b4a.objects.drawable
67 anywheresoftware.b4a.objects.streams
250 anywheresoftware.b4a.phone
150 anywheresoftware.b4a.randomaccessfile
30 anywheresoftware.b4a.remotelogger
43 anywheresoftware.b4a.samples.httputils2
98 anywheresoftware.b4a.shell
52 anywheresoftware.b4a.sql
65 anywheresoftware.b4h.okhttp
27 anywheresoftware.b4j.object
17 anywheresoftware.b4x.objects
25 b4a.example
114 barxdroid.NotificationBuilder
11 bolts
33 com.AB.ABWifi
58 com.dlazaro66.qrcodereaderview
718 com.facebook
214 com.facebook.appevents
79 com.facebook.appevents.internal
34 com.facebook.applinks
13 com.facebook.devicerequests.internal
778 com.facebook.internal
451 com.facebook.login
193 com.facebook.login.widget
27 com.facebook.messenger
181 com.facebook.rebound
60 com.facebook.rebound.ui
97 com.facebook.share
624 com.facebook.share.internal
465 com.facebook.share.model
387 com.facebook.share.widget
415 com.github.clans.fab
30 com.google.ads
114 com.google.ads.mediation
2 com.google.ads.mediation.admob
40 com.google.ads.mediation.customevent
561 com.google.android.exoplayer2
319 com.google.android.exoplayer2.audio
1 com.google.android.exoplayer2.core
76 com.google.android.exoplayer2.decoder
196 com.google.android.exoplayer2.drm
11 com.google.android.exoplayer2.ext.rtmp
93 com.google.android.exoplayer2.extractor
49 com.google.android.exoplayer2.extractor.flv
86 com.google.android.exoplayer2.extractor.mkv
39 com.google.android.exoplayer2.extractor.mp3
171 com.google.android.exoplayer2.extractor.mp4
128 com.google.android.exoplayer2.extractor.ogg
10 com.google.android.exoplayer2.extractor.rawcc
238 com.google.android.exoplayer2.extractor.ts
28 com.google.android.exoplayer2.extractor.wav
120 com.google.android.exoplayer2.mediacodec
45 com.google.android.exoplayer2.metadata
14 com.google.android.exoplayer2.metadata.emsg
137 com.google.android.exoplayer2.metadata.id3
74 com.google.android.exoplayer2.metadata.scte35
486 com.google.android.exoplayer2.source
100 com.google.android.exoplayer2.source.chunk
143 com.google.android.exoplayer2.source.dash
144 com.google.android.exoplayer2.source.dash.manifest
150 com.google.android.exoplayer2.source.hls
96 com.google.android.exoplayer2.source.hls.playlist
57 com.google.android.exoplayer2.source.smoothstreaming
67 com.google.android.exoplayer2.source.smoothstreaming.manifest
83 com.google.android.exoplayer2.text
123 com.google.android.exoplayer2.text.cea
38 com.google.android.exoplayer2.text.dvb
15 com.google.android.exoplayer2.text.ssa
10 com.google.android.exoplayer2.text.subrip
72 com.google.android.exoplayer2.text.ttml
17 com.google.android.exoplayer2.text.tx3g
114 com.google.android.exoplayer2.text.webvtt
163 com.google.android.exoplayer2.trackselection
318 com.google.android.exoplayer2.ui
269 com.google.android.exoplayer2.upstream
179 com.google.android.exoplayer2.upstream.cache
17 com.google.android.exoplayer2.upstream.crypto
294 com.google.android.exoplayer2.util
146 com.google.android.exoplayer2.video
15 com.google.android.gms
4 com.google.android.gms.actions
216 com.google.android.gms.ads
94 com.google.android.gms.ads.doubleclick
144 com.google.android.gms.ads.formats
26 com.google.android.gms.ads.identifier
15 com.google.android.gms.ads.impl
586 com.google.android.gms.ads.internal
133 com.google.android.gms.ads.internal.js
277 com.google.android.gms.ads.internal.overlay
111 com.google.android.gms.ads.mediation
2 com.google.android.gms.ads.mediation.admob
62 com.google.android.gms.ads.mediation.customevent
24 com.google.android.gms.ads.reward
15 com.google.android.gms.ads.reward.mediation
136 com.google.android.gms.ads.search
99 com.google.android.gms.auth
36 com.google.android.gms.auth.account
31 com.google.android.gms.auth.api
152 com.google.android.gms.auth.api.credentials
30 com.google.android.gms.auth.api.proxy
91 com.google.android.gms.auth.api.signin
136 com.google.android.gms.auth.api.signin.internal
15 com.google.android.gms.base
188 com.google.android.gms.common
252 com.google.android.gms.common.api
133 com.google.android.gms.common.data
83 com.google.android.gms.common.images
398 com.google.android.gms.common.internal
82 com.google.android.gms.common.internal.safeparcel
29 com.google.android.gms.common.stats
96 com.google.android.gms.common.util
180 com.google.android.gms.dynamic
60 com.google.android.gms.dynamite
1 com.google.android.gms.dynamite.descriptors.com.google.android.gms.ads.dynamite
1 com.google.android.gms.dynamite.descriptors.com.google.android.gms.flags
22 com.google.android.gms.flags.impl
17 com.google.android.gms.iid
9647 com.google.android.gms.internal
287 com.google.android.gms.location
12 com.google.android.gms.location.places
599 com.google.android.gms.maps
624 com.google.android.gms.maps.internal
529 com.google.android.gms.maps.model
571 com.google.android.gms.maps.model.internal
89 com.google.android.gms.measurement
98 com.google.android.gms.safetynet
11 com.google.android.gms.security
133 com.google.android.gms.tasks
75 com.google.firebase
13 com.google.firebase.analytics
233 com.google.firebase.auth
160 com.google.firebase.iid
115 com.google.firebase.messaging
9 com.google.firebase.provider
35 com.google.protobuf
139 com.google.zxing
10 com.google.zxing.aztec
17 com.google.zxing.aztec.decoder
17 com.google.zxing.aztec.detector
29 com.google.zxing.aztec.encoder
44 com.google.zxing.client.android.camera
13 com.google.zxing.client.android.camera.open
273 com.google.zxing.client.result
102 com.google.zxing.common
14 com.google.zxing.common.detector
36 com.google.zxing.common.reedsolomon
12 com.google.zxing.datamatrix
59 com.google.zxing.datamatrix.decoder
19 com.google.zxing.datamatrix.detector
116 com.google.zxing.datamatrix.encoder
7 com.google.zxing.maxicode
18 com.google.zxing.maxicode.decoder
11 com.google.zxing.multi
5 com.google.zxing.multi.qrcode
18 com.google.zxing.multi.qrcode.detector
169 com.google.zxing.oned
61 com.google.zxing.oned.rss
56 com.google.zxing.oned.rss.expanded
114 com.google.zxing.oned.rss.expanded.decoders
9 com.google.zxing.pdf417
29 com.google.zxing.pdf417.decoder
31 com.google.zxing.pdf417.decoder.ec
38 com.google.zxing.pdf417.detector
64 com.google.zxing.pdf417.encoder
12 com.google.zxing.qrcode
103 com.google.zxing.qrcode.decoder
60 com.google.zxing.qrcode.detector
78 com.google.zxing.qrcode.encoder
433 com.nineoldandroids.animation
22 com.nineoldandroids.util
229 com.nineoldandroids.view
38 com.nineoldandroids.view.animation
35 com.rootsoft.bitmaplibrary
37 com.rootsoft.togglelibrary
101 com.sdsmdg.tastytoast
4 dalvik.system
50 de.amberhome.navdrawer
146 de.amberhome.navdrawer.internal
299 de.amberhome.objects
568 de.amberhome.objects.appcompat
43 de.amberhome.strefresh
26 de.amberhome.strefresh.base
137 de.amberhome.viewpager
230 de.amberhome.viewpager.internal
134 de.donmanfred
7 default
145 it.giuseppe.salvi.notification.core
1 it.giuseppe.salvi.notification.core.animation
48 it.giuseppe.salvi.notification.core.graphics
79 it.giuseppe.salvi.notification.core.library
5 it.giuseppe.salvi.notification.core.text
5 it.giuseppe.salvi.notification.core.utility
209 java.io
430 java.lang
3 java.lang.ref
41 java.lang.reflect
28 java.math
171 java.net
82 java.nio
14 java.nio.channels
5 java.nio.charset
2 java.nio.file
42 java.security
14 java.security.cert
2 java.security.spec
35 java.text
408 java.util
122 java.util.concurrent
32 java.util.concurrent.atomic
14 java.util.concurrent.locks
5 java.util.logging
23 java.util.regex
33 java.util.zip
26 javax.crypto
3 javax.crypto.spec
12 javax.microedition.khronos.egl
2 javax.net
31 javax.net.ssl
3 javax.security.auth.x500
3 javax.xml.parsers
887 juke.mobile
18 juke.mobile.designerscripts
85 main.java.org.angmarch.views
4 net.butterflytv.rtmp_client
32 newqrcodereaderviewwrapper
30 nicespinnerwrapper
720 okhttp3
57 okhttp3.internal
93 okhttp3.internal.cache
17 okhttp3.internal.cache2
66 okhttp3.internal.connection
73 okhttp3.internal.http
45 okhttp3.internal.http1
287 okhttp3.internal.http2
197 okhttp3.internal.huc
18 okhttp3.internal.io
61 okhttp3.internal.platform
39 okhttp3.internal.tls
73 okhttp3.internal.ws
588 okio
18 org.apache.http
2 org.apache.http.auth
2 org.apache.http.client
1 org.apache.http.client.entity
20 org.apache.http.client.methods
1 org.apache.http.conn
2 org.apache.http.conn.params
4 org.apache.http.conn.scheme
2 org.apache.http.conn.ssl
9 org.apache.http.entity
5 org.apache.http.impl.auth
5 org.apache.http.impl.client
1 org.apache.http.impl.conn.tsccm
2 org.apache.http.impl.cookie
6 org.apache.http.message
4 org.apache.http.params
2 org.apache.http.util
66 org.json
8 org.xml.sax
1 org.xml.sax.helpers
22 org.xmlpull.v1
7 simplysoftware.base64image
2 sun.misc
8 tastytoastwrapper
6 uk.co.martinpearman.b4a.android.app
10 uk.co.martinpearman.b4a.android.graphics
94 uk.co.martinpearman.b4a.com.google.android.gms.maps
43 uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap
312 uk.co.martinpearman.b4a.com.google.android.gms.maps.model
84 uk.co.martinpearman.b4a.fusedlocationprovider
44 uk.co.martinpearman.b4a.googlemapsextras
55 uk.co.martinpearman.b4a.touchimageview
9 uk.co.martinpearman.java.android.app
150 xvs.ACL
 
Upvote 0
Top