Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Task :cv_bridge:verifyReleaseResources FAILED #303

Description

@yama514

Hi,

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'.

    Command: /home/hao/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/4f7bf893ccf0f151349431e079665ac3/aapt2-3.2.1-4818971-linux/aapt2 link -I
    /home/hao/Android/Sdk/platforms/android-28/android.jar
    --manifest
    /home/hao/AndroidStudioProjects/android_core/src/android_extras/cv_bridge/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml
    -o
    /tmp/aapt-2967009013395972423-out
    -R
    /home/hao/AndroidStudioProjects/android_core/src/android_extras/cv_bridge/build/intermediates/res/compiled/release/mipmap-mdpi-v4_ros_icon.png.flat
    -R
    /home/hao/AndroidStudioProjects/android_core/src/android_extras/cv_bridge/build/intermediates/res/compiled/release/mipmap-hdpi-v4_ros_icon.png.flat
    -R
    /home/hao/AndroidStudioProjects/android_core/src/android_extras/cv_bridge/build/intermediates/res/compiled/release/values_values.arsc.flat
    -R
    /home/hao/AndroidStudioProjects/android_core/src/android_extras/cv_bridge/build/intermediates/res/compiled/release/mipmap-ldpi-v4_ros_icon.png.flat
    --auto-add-overlay
    --non-final-ids
    -0
    apk
    --no-version-vectors
    Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0
    ...


Please let me know if other info/log is need. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions