Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:29:10+00:00 2026-06-05T16:29:10+00:00

I seem to have hit a snag while building my project using Ant. The

  • 0

I seem to have hit a snag while building my project using Ant. The resources of the QR code Scanner android library and my project resources don’t seem to merge into one .arsc file. Here is the snippet of the aapt part of my script.

<exec executable="${aapt}" failonerror="true">
      <arg value="package" />
      <arg value="-M" />
      <arg path="AndroidManifest.xml" />
      <arg value="-A" />
      <arg path="assets" />
      <arg value="-S" />
      <arg path="./res" /> 
      <arg value="-S" />
      <arg path="../QRcode Scanner/res" />
      <arg value="-I" />
      <arg path="${android-platform-jar}" />
      <arg value="-f" />
      <arg value="-F" />
      <arg value="${resources.file}" />
    </exec> 

My console error log looks like this:-

android-package-resources:
     [echo] Packaging Android resources into C:\Praveen\Eclipse\eclipse-SDK-3.7.
1-win32-x86_64\workspace\HH3_Standard Mode Application/bin/resources.ap_ ...
     [exec] C:\Praveen\Eclipse\eclipse-SDK-3.7.1-win32-x86_64\workspace\QRcode S
canner\res\values\colors.xml:18: error: Resource at contents_text appears in ove
rlay but not in the base package; use <add-resource> to add.
     [exec] C:\Praveen\Eclipse\eclipse-SDK-3.7.1-win32-x86_64\workspace\QRcode S
canner\res\values\colors.xml:19: error: Resource at encode_view appears in overl
ay but not in the base package; use <add-resource> to add.
     [exec] C:\Praveen\Eclipse\eclipse-SDK-3.7.1-win32-x86_64\workspace\QRcode S
canner\res\values\colors.xml:20: error: Resource at help_button_view appears in
overlay but not in the base package; use <add-resource> to add.
     [exec] C:\Praveen\Eclipse\eclipse-SDK-3.7.1-win32-x86_64\workspace\QRcode S
canner\res\values\colors.xml:21: error: Resource at help_view appears in overlay
 but not in the base package; use <add-resource> to add.
     [exec] C:\Praveen\Eclipse\eclipse-SDK-3.7.1-win32-x86_64\workspace\QRcode S
canner\res\values\colors.xml:22: error: Resource at possible_result_points appea
rs in overlay but not in the base package; use <add-resource> to add.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:29:11+00:00Added an answer on June 5, 2026 at 4:29 pm

    Try using this one:

    <exec executable="${aapt}" failonerror="true">
      <arg value="package" />
      <arg value="-M" />
      <arg path="AndroidManifest.xml" />
      <arg value="-A" />
      <arg path="assets" />
      <arg value="-S" />
      <arg path="./res" /> 
      <arg value="-S" />
      <arg path="../QRcode Scanner/res" />
      <arg value="-I" />
      <arg path="${android-platform-jar}" />
      <arg value="-f" />
      <arg value="-F" />
      <arg value="${resources.file}" />
      <arg value="--auto-add-overlay" />
    </exec> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a django webpage but I seem to have hit a snag as
I'm working on my iOS project again. However, I seem to have hit a
I've developed a JS-heavy site using the Mootools library and have hit a bump
I've seem to have hit a bug or i have overlooked something. I written
I'm diving into the world of prolog headfirst but I seem to have hit
I am brand new to developing for android and have hit something of a
I seem to have hit on a scenario where when I run mstest on
I have not been using envers for very long, and i have hit a
I'm working on my first ever ASP.Net project, and I seem to have been
I am playing around with lisp's format function, but I have hit a snag

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.