Failed to build libwebrtc.aar with latest native webrtc android code - android

When running build_aar.py for libwebrtc android, i got this error:
ERROR at //build/config/BUILDCONFIG.gn:564:5: Dependency not allowed.
target(_target_type, target_name) {
^----------------------------------
The item //rtc_tools:psnr_ssim_analyzer
can not depend on //third_party/abseil-cpp/absl/flags:usage
because it is not in //third_party/abseil-cpp/absl/flags:usage's visibility list: [
//third_party/abseil-cpp/absl/flags:*
]
Can any one help me to figure it out?

You certainly did not sync the project with his dependencies.
gclient sync or gclient sync -D --force --reset if needed.
See chromium doc.

Related

react native svg error child.isClassAccessorProperty is not a function on upgrading react native from 68.1 to 70.6

Thanks in advance
I received the below error when I tried to upgrade react native from 68.1 to 70.6.
I tried this in android.
I ran react-native run-android and everything went well.
Upon running the app the metro bundler started loading 99% and showed this error in red screen
error: node_modules/react-native-svg/src/elements/Shape.tsx: /Users/jarenk/Documents/myApp/node_modules/react-native-svg/src/elements/Shape.tsx: child.isClassAccessorProperty is not a function
Can anybody help me on this.
Am using react native SVG and its version was old. I updated it to latest version too.
(13.6.0) but still its getting same error.
Error In Detail (If I take Build)
./gradlew assembleRelease
I get following error
error node_modules/react-native-svg/src/elements/Shape.tsx: /Users/jarenk/Documents/myApp/node_modules/react-native-svg/src/elements/Shape.tsx: child.isClassAccessorProperty is not a function.
TypeError: /Users/jarenk/Documents/myApp/node_modules/react-native-svg/src/elements/Shape.tsx: child.isClassAccessorProperty is not a function
at /Users/jarenk/Documents/myApp/node_modules/#babel/plugin-transform-typescript/lib/index.js:361:89
at Array.forEach (<anonymous>)
at PluginPass.Class (/Users/jarenk/Documents/myApp/node_modules/#babel/plugin-transform-typescript/lib/index.js:353:31)
at newFn (/Users/jarenk/Documents/myApp/node_modules/#babel/traverse/lib/visitors.js:171:21)
at NodePath._call (/Users/jarenk/Documents/myApp/node_modules/#babel/traverse/lib/path/context.js:53:20)
at NodePath.call (/Users/jarenk/Documents/myApp/node_modules/#babel/traverse/lib/path/context.js:40:17)
at NodePath.visit (/Users/jarenk/Documents/myApp/node_modules/#babel/traverse/lib/path/context.js:90:31)
at TraversalContext.visitQueue (/Users/jarenk/Documents/myApp/node_modules/#babel/traverse/lib/context.js:110:16)
at TraversalContext.visitQueue (/Users/jarenk/Documents/myApp/node_modules/#babel/traverse/lib/context.js:116:21)
info Run CLI with --verbose flag for more details.
Once again thank you.
Updating the package.json file helped me to resolve this.
just downgrade the babel versions like below
Also make sure same below version are in package-lock.json file
"#babel/core": "7.12.9",
"#babel/runtime": "7.12.5"
To solve this issue, you need to delete the "node_modules" folder and run either
"yarn install" or
"npm install" command.
It is likely that you switched to a Git branch with a higher version of Babel, which is causing the problem.

Unable to make a pull in gradle file

i´m trying to make a task in Gradle for my Android project ( using Kotlin DSL ) where I need to do an automatic pull for my "develop" branch.
This are the commnand I want to run :
git pull origin develop:develop
In the terminal this works just fine.
I`m using "commandLine" with "exec" in my gradle file and I´m having this error message:
code:
tasks.register<ReleaseTask>("makePull") {
exec { commandLine("git", "pull", "origin develop:develop") }
}
error message:
ssh: Could not resolve hostname origin develop: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
FAILURE: Build failed with an exception.
I don´t have any issue if I try this commands in the terminal, do you know what i´m doing wrong ?
You haven't separated the origin and the develop:develop arguments in the gradle version. Use this instead:
commandLine("git", "pull", "origin", "develop:develop")

Build celadon android source error: : Please resolve Conflict(s) and re-run lunch

I followed celadon guide to build android source for my x86 platform device.
https://01.org/projectceladon/documentation/getting-started/build-source#build-os-image
$ make clobber
$ source build/envsetup.sh
$ lunch caas-userdebug
few minutes later, I got this error:
Project vendor/intel/external/project-celadon/audio
Applying 01_679470_1-Tuning-period_size-and-period_count-for-QEMU-KVM.patch
ALERT : Conflicts Observed while patch application !!
prebuilts/clang/host/linux-x86
Error: Please resolve Conflict(s) and re-run lunch...
Executing mixin update...
Updater-caas: processing: device/intel/project-celadon/caas/mixins.spec
Updater-caas: mixinsdir: device/intel/mixins/groups
I have no idea to resolve this problem, is there someone Who has encountered a similar problem?
Thanks!
I reset my source code by:
repo forall -vc "git reset --hard"
And it worked.

Unable to launch WebDriver Agent because of xcodebuild failure

Me using Xcode_8.2.1 . When i am building my app its trowing error implicit converstation from nullable pointer
I suggest to
Get clean WebDriverAgent project from github repo or via appium installation, you can find it on your local machine:
/Users/someName/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
Run ./Scripts/bootstrap.sh for "clean" project in path specified above
Open WebDriverAgent.xcodeproj and check if there are any errors

repo init warning: failed to restrict file handles

Here when I run repo init -u git#foo.bar -b dev on windows , and it shows a warning repo init warning: failed to restrict file handles, seems like some files get broken, any one could do me a favor ? thanks all the time : )
Install previous version of git v2.15.1.windows.2

Categories

Resources