question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: In <declare-styleable> VideoView, unable to find attribute overlaySurface

See original GitHub issue

I am getting this error while building on android

ERROR: In <declare-styleable> VideoView, unable to find attribute overlaySurface

My gradle

compileSdkVersion 26
    buildToolsVersion "26.0.2"

    defaultConfig {
        applicationId "com.sprung"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 68
        multiDexEnabled true
        versionName "0.0.13"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }

The Build fails because of this error

Environment

  • Node.js version: 8.11.3
  • React Native version: 0.53.3

react-native-twilio-video-webrtc

Version: npm version or “master”

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
prameetccommented, Mar 4, 2019

Updating to API level 28 solved the issue, closing

0reactions
lidio601commented, Apr 24, 2020

In my case I solved this by add a file here android/app/src/main/res/values/attrs.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <attr name="overlaySurface" format="boolean" />
</resources>

as suggested here https://github.com/twilio/video-quickstart-android/issues/479

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Error:In <declare-styleable> - unable to find attribute
I'm getting Gradle errors for missing attributes when trying to build my project;. Error:In <declare-styleable> ReflowText, unable to find ...
Read more >
Bug: can't build with gradle 4.0.0-alpha03 - Issue Tracker
classpath 'com.android.tools.build:gradle:4.0.0-alpha03' The bug is that you can't. You will get this error that doesn't explain what's going on and how it ...
Read more >
Execution failed for task ':app:processDebugResources'
Description Unable to build with Twilio Video SDK using the ... AAPT: error: attribute scaleType (aka com.brain.chat:scaleType) not found.
Read more >
In <declare-styleable> FontFamilyFont, unable to find attribute ...
Just rebuilt my computer and with a new B4A project am seeing the following error during compile: ERROR: In FontFamilyFont, unable to find...
Read more >
Creating a View Class - Android Developers
Beyond this lesson, you can find additional, related information in ... Define custom attributes for your view in a <declare-styleable> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found