Skip to main content

Android Studio 0.2.7 Released - Android Tools Project Site


We've just released Android Studio 0.2.7. This issue fixes a number of important issues. The base IDE was updated to the IntelliJ EAP build #132.27; in the past we've just used nightly snapshots.

In the editor, .aar library dependencies are now properly supported, so library resources work properly in code completion, XML resource validation etc. The editor will also no longer auto-import android.R or R innerclasses, and the long standing issue of the R class sometimes not being found after a build should be fixed.

In the Gradle area, the Gradle tasks window now displays the available tasks, and build error output should now include all errors, including error source positions in cases it was missing (such as for resource merging errors). Furthermore, IDE HTTP proxies are passed to the gradle process which helps with downloading missing dependencies from network locations needing a proxy.

There are more fixes, so see the full release notes here:
http://tools.android.com/recent/androidstudio027released

Note also that if you are upgrading from a version prior to 0.2.6, and you're on Windows, be sure to read the installation instructions at the bottom of the following document, since you may need to migrate your settings:
http://tools.android.com/recent/androidstudio026released

If you have issues, follow up in the official Google+ community for Android Studio: Android Developer Tools:
https://plus.google.com/communities/114791428968349268860

#androiddev
http://tools.android.com/recent/androidstudio027released

Comments

Popular posts from this blog

Custom camera using SurfaceView android with autofocus & auto lights & more

Custom camera using SurfaceView android with autofocus & auto lights & much more /**  * @author Tatyabhau Chavan  *  */ public class Preview extends SurfaceView implements SurfaceHolder.Callback {     private SurfaceHolder mHolder;     private Camera mCamera;     public Camera.Parameters mParameters;     private byte[] mBuffer;     private Activity mActivity;     // this constructor used when requested as an XML resource     public Preview(Context context, AttributeSet attrs) {         super(context, attrs);         init();     }     public Preview(Context context) {         super(context);         init();     }     public Camera getCamera() {         return this.mCamera;     }     public void init() {         // Install a SurfaceHolder.Callback so we get notified when the         // underlying surface is created and destroyed.         mHolder = getHolder();         mHolder.addCallback(this);         mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);     }     public

Get Android phone call history/log programmatically

Get Android phone call history/log programmatically To get call history programmatically first add read conact permission in Manifest file : <uses-permission android:name="android.permission.READ_CONTACTS" /> Create xml file. Add the below code in xml file : <Linearlayout android:layout_height="fill_parent"  android:layout_width="fill_parent" android:orientation="vertical"> <Textview android:id="@+id/call" android:layout_height="fill_parent" android:layout_width="fill_parent"> </Textview> </Linearlayout> Now call the getCallDetails() method in java class : private void getCallDetails() { StringBuffer sb = new StringBuffer(); Cursor managedCursor = managedQuery( CallLog.Calls.CONTENT_URI,null, null,null, null); int number = managedCursor.getColumnIndex( CallLog.Calls.NUMBER ); int type = managedCursor.getColumnIndex( CallLog.Calls.TYPE ); int date = managedCur

Bitmap scalling and cropping from center

How to Bitmap scalling and cropping from center? public class ScalingUtilities {     /**      * Utility function for decoding an image resource. The decoded bitmap will      * be optimized for further scaling to the requested destination dimensions      * and scaling logic.      *      * @param res      *            The resources object containing the image data      * @param resId      *            The resource id of the image data      * @param dstWidth      *            Width of destination area      * @param dstHeight      *            Height of destination area      * @param scalingLogic      *            Logic to use to avoid image stretching      * @return Decoded bitmap      */     public static Bitmap decodeResource(Resources res, int resId, int dstWidth,             int dstHeight, ScalingLogic scalingLogic) {         Options options = new Options();         options.inJustDecodeBounds = true;         BitmapFactory.decodeResource(res, resId, options);