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

  • Home
  • SEARCH
  • 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 8482879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:55:53+00:00 2026-06-10T19:55:53+00:00

Yesterday i was able to fix all my previous issues and simple android apps

  • 0

Yesterday i was able to fix all my previous issues and simple android apps are running without any problems.

After setting everything up for them i tried to do the same for 3 of my more complex apps. All those apps use ActionBarSherlock and ViewPagerIndicator.

The first issue was that if i have a project (without holoeverywhere) ant can’t compile because it tries to add a class which was added already. I know which library is causing the issue -> android-support-v4.jar but i can’t remove it. It’s required for ViewPagerIndicator and ActionBarSherlock.

The second more annoying issue is, that as soon as i add HoloEverywhere (it requires ActionBarSherlock as dependency) it gives me the following error:

[renderscript] No RenderScript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values-v14/styles.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values-v14/styles.xml:14: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:46: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light.DarkActionBar'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:66: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.ForceOverflow'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:86: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light.ForceOverflow'.
     [aapt] /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/res/values/styles.xml:106: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Sherlock.Light.DarkActionBar.ForceOverflow'.

I know it says that the references to the ActionBarSherlock style is missing but why? I use the original ant-script and even if i was able to fix all paths to the libraries (ant ignores the defined project.properties in the build.xml of a library project) it is not able to build.

Any hints or ideas?

everything above seems ok.

Buildfile: /Users/**/Zuzzle/build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-check-env:
 [checkenv] Android SDK Tools Revision 20
 [checkenv] Installed at /Entwicklung/android-sdk

-setup:
     [echo] Project Name: SplashscreenActivity
  [gettype] Project Type: Application
     [echo] Switching between debug and non debug build: Deleting previous compilation output...
   [delete] Deleting directory /Users/**/Zuzzle/bin/classes

-build-setup:
     [echo] Resolving Build Target for SplashscreenActivity...
[gettarget] Project Target:   Android 4.1
[gettarget] API level:        16
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /Users/**/Zuzzle/bin/classes
     [echo] ----------
     [echo] Resolving Dependencies for SplashscreenActivity...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
     [echo] ----------
     [echo] Building Libraries with 'release'...

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-check-env:
 [checkenv] Android SDK Tools Revision 20
 [checkenv] Installed at /Entwicklung/android-sdk

-setup:
     [echo] Project Name: library
  [gettype] Project Type: Android Library
     [echo] Switching between debug and non debug build: Deleting previous compilation output...
   [delete] Deleting directory /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/classes

-build-setup:
     [echo] Resolving Build Target for library...
[gettarget] Project Target:   Android 4.1
[gettarget] API level:        16
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/classes
     [echo] ----------
     [echo] Resolving Dependencies for library...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.

-pre-build:

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found Deleted Target File
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
    [javac] Compiling 8 source files to /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/classes
     [echo] Creating library output jar file...
      [jar] Building jar: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/classes.jar

-post-compile:

-obfuscate:

-dex:
     [echo] Library project: do not convert bytecode...

-crunch:
   [crunch] Crunching PNG Files in source dir: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/res
   [crunch] To destination dir: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/res
   [crunch] Crunched 0 PNG files to update cache

-package-resources:
     [echo] Library project: do not package resources...

-package:
     [echo] Library project: do not package apk...

-post-package:

-release-prompt-for-password:

-release-nosign:
     [echo] 
[propertyfile] Updating property file: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/build.prop
[propertyfile] Updating property file: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/build.prop
[propertyfile] Updating property file: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/build.prop
[propertyfile] Updating property file: /Users/**/Project Librarys/Android-ViewPagerIndicator/library/bin/build.prop

-release-sign:

-post-build:

release:

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-check-env:
 [checkenv] Android SDK Tools Revision 20
 [checkenv] Installed at /Entwicklung/android-sdk

-setup:
     [echo] Project Name: library
  [gettype] Project Type: Android Library
     [echo] Switching between debug and non debug build: Deleting previous compilation output...
   [delete] Deleting directory /Users/**/Project Librarys/ActionBarSherlock/library/bin/classes

-build-setup:
     [echo] Resolving Build Target for library...
[gettarget] Project Target:   Android 4.1
[gettarget] API level:        16
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /Users/**/Project Librarys/ActionBarSherlock/library/bin/classes
     [echo] ----------
     [echo] Resolving Dependencies for library...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.

-pre-build:

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Found Deleted Target File
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
    [javac] Compiling 82 source files to /Users/**/Project Librarys/ActionBarSherlock/library/bin/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
     [echo] Creating library output jar file...
      [jar] Building jar: /Users/**/Project Librarys/ActionBarSherlock/library/bin/classes.jar

-post-compile:

-obfuscate:

-dex:
     [echo] Library project: do not convert bytecode...

-crunch:
   [crunch] Crunching PNG Files in source dir: /Users/**/Project Librarys/ActionBarSherlock/library/res
   [crunch] To destination dir: /Users/**/Project Librarys/ActionBarSherlock/library/bin/res
   [crunch] Crunched 0 PNG files to update cache

-package-resources:
     [echo] Library project: do not package resources...

-package:
     [echo] Library project: do not package apk...

-post-package:

-release-prompt-for-password:

-release-nosign:
     [echo] 
[propertyfile] Updating property file: /Users/**/Project Librarys/ActionBarSherlock/library/bin/build.prop
[propertyfile] Updating property file: /Users/**/Project Librarys/ActionBarSherlock/library/bin/build.prop
[propertyfile] Updating property file: /Users/**/Project Librarys/ActionBarSherlock/library/bin/build.prop
[propertyfile] Updating property file: /Users/**/Project Librarys/ActionBarSherlock/library/bin/build.prop

-release-sign:

-post-build:

release:

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-check-env:
 [checkenv] Android SDK Tools Revision 20
 [checkenv] Installed at /Entwicklung/android-sdk

-setup:
     [echo] Project Name: library
  [gettype] Project Type: Android Library
     [echo] Switching between debug and non debug build: Deleting previous compilation output...
   [delete] Deleting directory /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/bin/classes

-build-setup:
     [echo] Resolving Build Target for library...
[gettarget] Project Target:   Android 4.1
[gettarget] API level:        16
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /Users/**/Project Librarys/HoloEverywhere/HoloEverywhereLib/bin/classes
     [echo] ----------
     [echo] Resolving Dependencies for library...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.

-pre-build:

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...

the ** in the path are only to hide the real path. the script knows the correct path.

  • 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-10T19:55:54+00:00Added an answer on June 10, 2026 at 7:55 pm

    I was now able to fix my issue. It seems my build.xml was corrupt and it made any issues.

    If someone wants to rename his application package, here is the solution i found in the web:

    <target name="-package-resources" depends="-crunch">
            <!-- only package resources if *not* a library project -->
            <do-only-if-not-library elseText="Library project: do not package resources..." >
                <aapt executable="${aapt}"
                        command="package"
                        versioncode="${package.manifest.version.code}"
                        versionname="${package.manifest.version.name}"
                        debug="${build.is.packaging.debug}"
                        manifest="${out.manifest.abs.file}"
                        assets="${asset.absolute.dir}"
                        androidjar="${project.target.android.jar}"
                        apkfolder="${out.absolute.dir}"
                        nocrunch="${build.packaging.nocrunch}"
                        resourcefilename="${resource.package.file.name}"
                        resourcefilter="${aapt.resource.filter}"
                        libraryResFolderPathRefid="project.library.res.folder.path"
                        libraryPackagesRefid="project.library.packages"
                        previousBuildType="${build.last.target}"
                        buildType="${build.target}"
                        ignoreAssets="${aapt.ignore.assets}"
                        manifestpackage="${package.manifest.name}">
                    <res path="${out.res.absolute.dir}" />
                    <res path="${resource.absolute.dir}" />
                    <!-- <nocompress /> forces no compression on any files in assets or res/raw -->
                    <!-- <nocompress extension="xml" /> forces no compression on specific file extensions in assets and res/raw -->
                </aapt>
            </do-only-if-not-library>
        </target>
    

    This is the cleanest variant i think.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday, I started having some problems with 9-patch images in Android and Eclipse Helios.
I installed xcode 4.3.1 yesterday and everything seemed to work fine. I was able
Yesterday I've posted question about SQLite performance issues ( Terrible performance in Zend Db
I asked a similar question like this yesterday but after waiting for ever I
Yesterday we received OTA Android 2.1 on my wife's HTC Droid - HOORAY!!! I
Yesterday and for about months I was able to push/commit. But since few hours
Yesterday I tried implementing jScrollPane on a resultsSuccess.php template and wasn't able to get
I'd love to be able to parse relative strings like now and yesterday and
Since yesterday, our application description on the Android Market web version contains two sets
After the big news yesterday, I've been trying to find a solid article about

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.