4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Working with VXG Player SDK

I have been working on RTMP Live player. After so much searches and sighs, I am now working on VXG player sdk for building the mobile app for playing a live stream.

Reference:- https://www.youtube.com/watch?v=W4Vj59JlPl0

I am referring this you tube video for the development and the first error I encounter is “Error : Ambiguous method call. Both findViewById (int) in AppCompactActivity and Activity”. I am very new to android development which is why this error made me startle at first.

error image.png

Now there comes the solution:-

  • Removing import android.app.Activity , which I hadn't use.

  • Performing File >Invalidate Caches / Restart”, but it didn't work in my case

  • Updating your build tools version to the latest 27.0.3 buildToolsVersion '27.0.2' ,which worked for me.

Finally, moving on to the next step in development. :)

6 upvotes $0.00

Replies (6)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: