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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:32:10+00:00 2026-06-11T06:32:10+00:00

My generation of R.java is non-existent, but my BuildConfig.java is still generated when projects

  • 0

My generation of R.java is non-existent, but my BuildConfig.java is still generated when projects are rebuilt. This problem is not localized to a single project in my workspace, but to the entire workspace which has projects in ranging from gingerbread to jb, all of which exhibit this error. I have been working with the Android platform for over a year now, and the R.java generation has always been a little mystical, but would always seem to fix itself with a restart of eclipse or a rebuild of the project.

This started when I ran a java update to java 7, so did a changed back to the java 6 sdk, specifically 1.6.0_26, did a fresh install of eclipse(4.2), the android sdk and adt, but to no effect.

I am working on this project with other group members(working off of the same master git repo), and they are not having problems with R.java generating, so therefore I can say for certainty that there are no errors in files causing the R.java to not generate.

And as a disclaimer, yes I have read the plethora of material on here with R.java related issues.

Any suggestions? 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-11T06:32:12+00:00Added an answer on June 11, 2026 at 6:32 am

    I had the exact same symptoms.

    Problem

    • R.java not getting build across the workspace, resulting in an error when trying to import it:

      The import <tld>.<project>.R cannot be resolved

    • The error reporting that the version of adb could not be determined despite existing:

      Failed to get the adb version: Cannot run program "/home/dtk/.opt/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory from '/home/dtk/.opt/android-sdk-linux/platform-tools/adb' - exists=true`
      dtk@humbee ~/.opt/android-sdk-linux/platform-tools % ll | grep adb
      -rwxr-xr-x 1 dtk dtk 200K Sep 12 14:41 adb*
      dtk@humbee ~/.opt/android-sdk-linux/platform-tools % file adb
      adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
      dtk@humbee ~/.opt/android-sdk-linux/platform-tools % ./adb
      zsh: no such file or directory: ./adb
      127 dtk@humbee ~/.opt/android-sdk-linux/platform-tools %

    Solution

    Installing ia32-libs fixed it for me:

    root@humbee:~# uname -m
    x86_64
    root@humbee:~# aptitude search ia32-libs
    p   ia32-libs                                                                                                     - ia32 shared libraries for use on amd64 and ia64 systems                                                                 
    p   ia32-libs-dev                                                                                                 - ia32 development files for use on amd64 and ia64 systems                                                                
    p   ia32-libs-gtk                                                                                                 - GTK+ ia32 shared libraries                                                                                              
    v   ia32-libs-static                                                                                              -                                                                                                                         
    root@humbee:~# aptitude install ia32-libs
    The following NEW packages will be installed:
      ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32tinfo5{a} lib32v4l-0 lib32z1 libc6-i386{a} 
        [...]
    
    dtk@humbee ~/.opt/android-sdk-linux/platform-tools % ./adb version
    Android Debug Bridge version 1.0.29
    dtk@humbee ~/.opt/android-sdk-linux/platform-tools % 

    HTH,
    dtk

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

Sidebar

Related Questions

What are the leading frameworks for java code generation? I am not looking for
I am looking for nice (java) code generation engine. I have found cglib but
This problem is specifically about Sun Java JVM running on Linux x86-64 . I'm
I'm not sure how to specifically deal with this(new to Java). Basically I have
URL u=new URL("telnet://route-server.exodus.net"); This line is generating : java.net.MalformedURLException: unknown protocol: telnet And I
Possible Duplicate: Developing for Android in Eclipse: R.java not generating what to do if
I have a java based application that includes a report generation capability. The report
What is the best tool for java's clone() method generation in Eclipse Galileo available
Is there a Graph generation library in Java which generators graphs (of different types)
I'm using GraniteDS Actionscript code generation templates that let's me take a Java object

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.