When I use aapt2 command, find some Error - aapt2

when I use aapt2 link command, some errors show, like:
app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1041: error: resource anim/design_bottom_sheet_slide_in (aka xxx:anim/design_bottom_sheet_slide_in) not found.
what should I do?

Related

Opening file manager using xdg-open gives warnings (nemo:85552): Gtk-WARNING **

I am new to using linux mint. Used "xdg-open ." to open the current directory in the file manager. But when I do this I get the following warnings.
*(nemo:85552): Gtk-WARNING *: 09:21:45.991: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable
to register client Nemo-Share-Message: 09:21:46.385: Called "net
usershare info" but it failed: 'net usershare' returned error 255: net
usershare: cannot open usershare directory /var/lib/samba/usershares.
Error No such file or directory Please ask your system administrator
to enable user sharing.
And upon closing the file manager window I get
(nemo:85552): Gtk-CRITICAL **: 09:21:47.482: gtk_widget_destroy:
assertion 'GTK_IS_WIDGET (widget)' failed
Is there a way I can fix this ?
Thank you.

spawnSync error and can\'t find loc string warning with ContainerStructureTest#0 task of azure-pipeline

After building a docker image, I am trying to test its functionality using ContainerStructureTest#0 from azure-devops.
I have a pipeline and test configFile.
Firstly, it gives the following warning:
##[warning]Can\'t find loc string for key: FoundDockerConfigStoredInTempPath
##[warning]Can\'t find loc string for key: OldDockerConfigContent
##[warning]Can\'t find loc string for key: AddingNewAuthToExistingConfig
Then, yields the following error:
[command]/home/vsts/work/_tasks/ContainerStructureTest_39bc2c9b-55b7-4835-89cd-6cc699ef7220/0.1.2/container-structure-test test --image ***/entry_point:latest --config /home/vsts/work/1/structure-test.yaml --json
##[error]Error in executing the command: Error: spawnSync /home/vsts/work/_tasks/ContainerStructureTest_39bc2c9b-55b7-4835-89cd-6cc699ef7220/0.1.2/container-structure-test ETXTBSY
##[error]Error: Error in executing the command: Error: spawnSync /home/vsts/work/_tasks/ContainerStructureTest_39bc2c9b-55b7-4835-89cd-6cc699ef7220/0.1.2/container-structure-test ETXTBSY
I do confirm that my configFile is copied into the virtual machine:
/home/vsts/work/1/structure-test.yaml
Since your documentation is not complete yet, I followed the syntax from https://github.com/GoogleContainerTools/container-structure-test
I have a feeling that this task is not configured properly. Can anyone help me solve the error?

SYSTEMD_SERVICE_swupdate value swupdate.service does not exist

I am trying to build swupdate image by running bitbake swupdate-image but getting following errors,
ERROR: swupdate-2019.04-r0 do_package: SYSTEMD_SERVICE_swupdate value swupdate.service does not exist
ERROR: swupdate-2019.04-r0 do_package:
ERROR: swupdate-2019.04-r0 do_package: Function failed: systemd_populate_packages
ERROR: Logfile of failure stored in: /home/panther2/warrior/build/tmp/work/corei7-64-poky-linux/swupdate/2019.04-r0/temp/log.do_package.22017
ERROR: Task (/home/panther2/warrior/sources/meta-swupdate/recipes-support/swupdate/swupdate_2019.04.bb:do_package) failed with exit code '1'
I am building for warrior yocto branch. Error indicates that swupdate.service does not exist but swupdate.service does exist under meta-swupdate/recipes-support/swupdate/swupdate. Any help is really appreciated. Thanks for your time.
swupdate-image is a rescue system - it generates a Ramdisk. Care was taken about footprint - it runs then with SystemV and not with systemd. If you want to buid swupdate-image with systemd as init, add your own swupdate-image.bbappend and rearrange the list of packages.

Align.so; symbol lookup error; undefined symbol

I am running a perl script on a web server. I am getting the error in the httpd error log file:
/usr/bin/perl: symbol lookup error:
/usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so:
undefined symbol:
bp_sw_read_Blast_file_CompMat, referer: http://XX/model_select.pl
[Line breaks added for readability]
I checked some of the forums and did this:
cpanp -i /usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so
ERROR '/usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so' does not contain an author part
ERROR Cannot find '/usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so' in the module tree
No such module: /usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so
No modules found to operate on!
Nothing done
I checked, Align.so exists in the path shown in the error message
Can someone please help me solve the problem. Thanks much ! :-)

Sailsjs grunt .svn error during lifting

I have imported my project in svn when I did a checkout and ran the app I got this error I am using sailsjs-0.10.5. I think it is to do with the grunt I am not able to find any solution it works fine in mac not in linux I set the permissin to 0777 even though it is not working here is the error.
verbose: Grunt :: Loading "Gruntfile.js" tasks...
verbose: Grunt :: ERROR
verbose: Grunt :: >> TypeError: Property '.svn' of object # is not a function
verbose: Grunt :: Warning: Task "default" not found.
error: ** Grunt :: An error occurred. **
error:
Aborted due to warnings.
Loading "Gruntfile.js" tasks...ERROR
TypeError: Property '.svn' of object # is not a function
Warning: Task "default" not found.
error: Looks like a Grunt error occurred--
error: Please fix it, then restart Sails to continue running tasks (e.g. watching for changes in assets)
error: Or if you're stuck, check out the troubleshooting tips below.
error: Troubleshooting tips:
error:
error: *-> Are "grunt" and related grunt task modules installed locally? Run npm install if you're not sure.
error:
error: *-> You might have a malformed LESS, SASS, CoffeeScript file, etc.
error:
error: *-> Or maybe you don't have permissions to access the .tmp directory?
error: e.g., /var/hosts/chating_room/.tmp ?
error:
error: If you think this might be the case, try running:
error: sudo chown -R YOUR_COMPUTER_USER_NAME /var/hosts/chating_room/.tmp
Make changes to Gruntfile.js, find loadTasks function, add excludeDirs : /^\.(git|svn)$/:
Original:
function loadTasks(relPath) {
return includeAll({
dirname: require('path').resolve(__dirname, relPath),
filter: /(.+)\.js$/
}) || {};
}
After:
function loadTasks(relPath) {
return includeAll({
dirname: require('path').resolve(__dirname, relPath),
filter: /(.+)\.js$/,
excludeDirs : /^\.(git|svn)$/
}) || {};
}
I have a same problem.
FIXED by
Simply deleting .svn folder from
1) task/.svn,
2) config/.svn &
3) register/.svn