Eclipse: Your project contains errors, please fix them: - How to find ??

by Yusuf T. Mobile » Fri, 24 Jul 2009 14:20:22 GMT


Sponsored Links
 ou can try to compile in the command-line, since you prefer it. In
the IDE, Xavier's suggestion is one good way. Also if you look at the
source tree, you will see a red x on the problem branch. Expand that
branch to find where the culprit file is.



Yusuf Saib
Android
T Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.




On Jul 23, 2:52pm, Xavier Ducrohet <x...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. emulator - ADB install - user request for permission dangerous protectio

Hi

I m working with the cupcake emulator and installing apps using ADB
install...

However, I m never requested (at user level) with the permission
request (even if declared as dangerous) and even if the ADB install is
done when the emulator is running.

Any reason for that ?
How could I check and simulate these permissions requests using the
emulator?

thks
Guillaume

2. How to draw a circular region of a Bitmap?

Thanks, there were some helpful examples in the API Demos (I guess that's
the purpose).

For those curious, here's how I solved my problem:

    int targetWidth = 100;
    int targetHeight = 100;
    Bitmap targetBitmap = Bitmap.createBitmap(
        targetWidth,
        targetHeight,
        Bitmap.Config.ARGB_8888);
    Canvas canvas = new Canvas(targetBitmap);
    Path path = new Path();
    path.addCircle(
        ((float)targetWidth - 1) / 2,
        ((float)targetHeight - 1) / 2,
        (Math.min(((float)targetWidth), ((float)targetHeight)) / 2),
        Path.Direction.CCW);
    canvas.clipPath(path);
    Bitmap sourceBitmap = BitmapFactory.decodeResource(
        getResources(),
        R.drawable.my_image);
    canvas.drawBitmap(
        sourceBitmap,
        new Rect(0, 0, sourceBitmap.getWidth(), sourceBitmap.getHeight()),
        new Rect(0, 0, targetWidth, targetHeight),
        null);
    ImageView imageView = (ImageView)findViewById(R.id.my_image_view);
    imageView.setImageBitmap(targetBitmap);









--~--~---------~--~----~------------~-------~--~----~

3. Class Cast Exception after classLoader.loadClass() and newInstance!

4. Running Scripts from an Application

5. If you are interrested in LINUX

6. on the status ba

7. SlideME: Looking for Volunteers to Write