You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
I encountered the problem when I did catkin_make. I am using Ubuntu 16.06 with Kinetic. The error log is below:
...
Configure project :cv_bridge
Task :cv_bridge:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':cv_bridge:verifyReleaseResources'.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /home/hao/AndroidStudioProjects/android_core/src/android_extras/cv_bridge/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml:2: error: attribute 'package' in tag is not a valid Android package name: 'cv_bridge'.
I modified android_extras/cv_bridge/src/AndroidManifest.xml, replaced package="cv_bridge" to package="com.github.rosjava.android_extras.cv_bridge". The problem is gone.
Reacted by RemiRigal, Michael , Shubhankar Das, BoticX Labs, Avinash Kumar, Mirai Hattori, Weiqi-Huang, JeongWooKim and Sam Shum
Activity
yama514 commentedon May 1, 2019
I modified android_extras/cv_bridge/src/AndroidManifest.xml, replaced package="cv_bridge" to package="com.github.rosjava.android_extras.cv_bridge". The problem is gone.
MiraiHattori commentedon Nov 5, 2019
I was facing the same problem, so thank you for finding the way to solve it.
The path might be different in kinetic branch now.
https://github.com/rosjava/android_extras/blob/kinetic/cv_bridge/src/main/AndroidManifest.xml#L3
MiraiHattori commentedon Nov 5, 2019
I sent a pull request, but
in case you would like to send the pull request, then feel free to close this pull request.
rosjava/android_extras#26
fixed cv_bridge error