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 8428995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:12:41+00:00 2026-06-10T05:12:41+00:00

I have the following project setup: Two libraries ‘commoncomponents’ and ‘libs’ that both have

  • 0

I have the following project setup:
Two libraries ‘commoncomponents’ and ‘libs’ that both have some activities defined e.g. with a webview and dialog helper classes.
Then there is my ‘application library’ which contains the app code which in turn is
referenced by the App ‘Free’ and the App ‘Full’.

I have enabled proguard with the following additional entry

-keepclassmembers class **.R$* {
    public static <fields>;
}

However the build process fails when launching ant with the release target and proguard
complains that the R$string classes are missing

If I call ‘ant release’ on ‘commoncomponents’, ‘libs’ or ‘application library’ projects proguard succeeds,
But when I launch it on either the ‘app free’ or ‘app full’ this errormessage is comes up:

         [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: ~/Workspace/Workspaces/workspace-indigo/MyApp/bin/classes
     [echo] ----------
     [echo] Resolving Dependencies for bin...
[dependency] Library dependencies:
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
-pre-build:
-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
     [echo] Handling aidl files...
     [aidl] Found 2 AIDL files.
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] No changed resources. R.java and Manifest.java untouched.
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] Build type changed: Generating new BuildConfig class.
-pre-compile:
-compile:
    [javac] Compiling 12 source files to ~/Workspace/Workspaces/workspace-indigo/MyApp/bin/classes
     [echo] Creating library output jar file...
      [jar] Building jar: ~/Workspace/Workspaces/workspace-indigo/MyApp/bin/classes.jar
-post-compile:
-obfuscate:
   [delete] Deleting: ~/Workspace/Workspaces/workspace-indigo/MyApp/bin/proguard/original.jar
      [jar] Building jar: ~/Workspace/Workspaces/workspace-indigo/MyApp/bin/proguard/original.jar
 [proguard] ProGuard, version 4.7
 [proguard] Reading input...
 [proguard] Reading program jar [~/Workspace/Workspaces/workspace-indigo/MyApp/bin/proguard/original.jar]
 [proguard] Reading program jar [~/Workspace/Workspaces/workspace-indigo/CommonComponents/bin/classes.jar]
 [proguard] Reading program jar [~/Workspace/Workspaces/workspace-indigo/exampleLib/bin/classes.jar]
 [proguard] Reading program jar [~/Workspace/Workspaces/workspace-indigo/Bfw/bin/classes.jar]
 [proguard] Reading program jar [/Developer/Java/android-sdk-macosx/tools/support/annotations.jar]
 [proguard] Reading program jar [~/Workspace/Workspaces/workspace-indigo/MyApp/libs/android-support-v4.jar]
 [proguard] Reading library jar [/Developer/Java/android-sdk-macosx/platforms/android-10/android.jar]
 [proguard] Reading library jar [/Developer/Java/android-sdk-macosx/add-ons/addon-real3d-lge-10/libs/real3d.jar]
 [proguard] Initializing...
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R$string
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R$string
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R$string
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R$string
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R$string
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R$string
 [proguard] Warning: com.example.ApplicationBase: can't find referenced class com.example.lib.R
 [proguard] Warning: com.example.common.HelpDialog: can't find referenced class com.example.common.R$string
 [proguard] Warning: com.example.common.HelpDialog: can't find referenced class com.example.common.R$string
 [proguard] Warning: com.example.common.HelpDialog: can't find referenced class com.example.common.R
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R$layout
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R$id
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R$string
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R$layout
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R$id
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R$string
 [proguard] Warning: com.example.common.WebDialog: can't find referenced class com.example.common.R
 [proguard] Warning: com.example.common.WebDialog$1: can't find referenced class com.example.common.R$string
 [proguard] Warning: com.example.common.WebDialog$1: can't find referenced class com.example.common.R$string
 [proguard] Warning: com.example.common.WebDialog$1: can't find referenced class com.example.common.R
 [proguard] Warning: com.example.dlg.InfoDialogActivity: can't find referenced class com.example.lib.R$layout
 [proguard] Warning: com.example.dlg.InfoDialogActivity: can't find referenced class com.example.lib.R$layout
 [proguard] Warning: com.example.dlg.InfoDialogActivity: can't find referenced class com.example.lib.R
 [proguard] Note: the configuration refers to the unknown class 'com.google.vending.licensing.ILicensingService'
 [proguard] Note: the configuration refers to the unknown class 'com.android.vending.licensing.ILicensingService'
 [proguard] Note: there were 2 references to unknown classes.
 [proguard]       You should check your configuration for typos.
 [proguard] Warning: there were 23 unresolved references to classes or interfaces.
 [proguard]          You may need to specify additional library jars (using '-libraryjars').

BUILD FAILED
/Developer/Java/android-sdk-macosx/tools/ant/build.xml:570: The following error occurred while executing this line:
/Developer/Java/android-sdk-macosx/tools/ant/build.xml:834: Please correct the above warnings first.

The project setup seems ok to me, since ‘ant debug’ compiles without errors.
The package name was changed to com.example and my user dir to ~/xy in the listing above

I’ve searched the web for the issue and I found a lot of posts especially here on stackoverflow, but none helped me solve the issue yet, hope someone is so kind to assist although this is my very first question.
Thanks

  • 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-10T05:12:43+00:00Added an answer on June 10, 2026 at 5:12 am

    It turned out that the application library build file had the proguard obfuscation switched on, by switching it off all symbols were found when building the free and full application stubs.

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

Sidebar

Related Questions

I have a setup.exe project that I run with the following command-line arguments to
I have the following setup: eclipse a standard Java project (A) an eclipse plugin
I have a Visual Studio setup project that installs an application into the task
I have a setup and deployment project that, on our build server, reports the
I have the following setup: I have an eclipse project which uses generated sourced
I have the following model setup - a User is interested in projects in
I have the following project-tree: I can access the 290.gif file in the path:
I have the following project. The main form has control in it. This control
I have created the following project structure for my new asp.net mvc project any
I have the following situation Project A - Uses Castle Windsor v2.2 - Uses

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.