Java Question Changed a wrap to use aar but now run into problem

DonManfred

Expert
Licensed User
Longtime User
Hello,

i´ve changed my wrap for the afollestad EasyVideoPlayer to not use the sources and create a r for myself. Instead i want to rely on the maven repository.
https://bintray.com/drummer-aidan/m...ew#files/com/afollestad/easyvideoplayer/0.2.6

i downloaded the easyvideoplayer-0.2.6.aar and copy it to additional res folder. Together with the jar and xml of my wrap.

I have removed the sources from afollestad and copied the classes.jar from the aar to the libs folder in my project. i added the classes.jar to be used inside eclipse. Works fine so far.

Also slc compiles fine and the resulting jar is much smaller now.

so i now have EasyVideoPlayer.jar, EasyVideoPlayer.xml and easyvideoplayer-0.2.6.aar in additional libs folder.

The example is using this code to add additional resources

B4X:
#AdditionalRes: ..\resource
#AdditionalRes: $AdditionalLibs$\b4a_appcompat, de.amberhome.objects.appcompat
#AdditionalRes: $AndroidSDK$\extras\android\support\v7\appcompat\res, android.support.v7.appcompat
#Extends: android.support.v7.app.AppCompatActivity


When i now try to compile my project i got the error

B4A version: 6.00 BETA #1
Parsing code. (0.00s)
Compiling code. (0.02s)
Compiling layouts code. (0.00s)
Generating R file. Error
E:\Basic4android3\Projekte\Libs\EasyVideoPlayer\Objects\bin\extra\res1\res\layout\evp_include_progress.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/Widget.MaterialProgressBar.ProgressBar').

Do i need to extend my theme? Or do i need to define new styles?
 
Top