Note that there are some explanatory texts on larger screens.

plurals
  1. POHaving API 7 installed makes eclipse unable to build any android code at all
    primarykey
    data
    text
    <p>Edit: skip to the end, most of this is irrelevant now unless you want to know the history of problem discovery.</p> <p>I created a new android app in eclipse, pushed it to github, cloned it on another machine, and finally imported it into eclipse there.</p> <p>The project didn't build at that point, and there were two readily apparent problems:</p> <ul> <li>An error on the console saying I need to run "Android Tools / Fix Project Properties"</li> <li>All my @Override directives didn't recognize the superclass methods and were causing errors.</li> </ul> <p>I fixed the first by running the specified tools which seemed to work. After working around the second by commenting the @Override lines out, nothing is built. Cleaning and rebuilding produces <code>gen/*/R.java</code> as it should, and creates the <code>bin/res</code> folder, but no <code>.class</code> or other files are produced, and no errors are in evidence either. Any ideas?</p> <p>Edit: It appears that as the commenters suspected, the build environments are just both totally hosed. Nothing builds at all anymore, even newly-created android projects. Turning on verbose build logging shows this near the end:</p> <pre><code>[2011-12-07 19:59:43 - wut] (new resource id ic_launcher from C:\Users\jorenko\workspace\wut\res\drawable-hdpi\ic_launcher.png) [2011-12-07 19:59:43 - wut] (new resource id ic_launcher from C:\Users\jorenko\workspace\wut\res\drawable-ldpi\ic_launcher.png) [2011-12-07 19:59:43 - wut] (new resource id ic_launcher from C:\Users\jorenko\workspace\wut\res\drawable-mdpi\ic_launcher.png) [2011-12-07 19:59:43 - wut] (new resource id main from C:\Users\jorenko\workspace\wut\res\layout\main.xml) [2011-12-07 19:59:43 - wut] Writing symbols for class R. [2011-12-07 19:59:44 - wut] Starting full Package build. [2011-12-07 19:59:44 - wut] Skipping over Post Compiler. </code></pre> <p>WutActivity is never built, and it appears it never even tries to build it.</p> <p>Edit:</p> <p>I uninstalled my android SDK, downloaded a fresh copy of both it and eclipse, installed them both with all defaults, created a new Android Sample Project of the Hello World, and I still have the same problem. Next step: nuke computer from orbit?</p> <p>Edit:</p> <p>I installed the SDK and eclipse onto a new computer from scratch. It built an example program OK. Then I checked out my app (and installed API7, which my app is built against). Now nothing builds again. Trying this on a new computer with just API7 now.</p> <p>Edit:</p> <p>Steps to reproduce: <ul> <li>Install eclipse and SDK from scratch with all default settings. Install only android SDK tools and API 14.</li> <li>Create a sample project and confirm that it builds properly.</li> <li>Install API 7.</li> <li>Clean your workspace and note that the sample project fails to build as noted above.</li> </ul></p> <p>The problem continues to persist even after removing API 7. I believe this is a bug introduced in a recent update to the SDK.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload